文章最后更新时间:
少年三国志玄金版-一键端+Linux本地学习手工端+一键搭建脚本+GM后台文章源自6116资源网-https://www.6116.site/4290.html
文章源自6116资源网-https://www.6116.site/4290.html
文章源自6116资源网-https://www.6116.site/4290.html
文章源自6116资源网-https://www.6116.site/4290.html
文章源自6116资源网-https://www.6116.site/4290.html
搭建说明:文章源自6116资源网-https://www.6116.site/4290.html
温馨提示:不管搭建什么之前服务器都要安装所需环境,关闭防火墙,开放所有端口。文章源自6116资源网-https://www.6116.site/4290.html
关闭服务器防火墙,开放所有端口参考百度文章源自6116资源网-https://www.6116.site/4290.html
需要注意这里使用的系统是centos7.3文章源自6116资源网-https://www.6116.site/4290.html
如果使用其他版本的系统可能会出现数据库启动不了等一系列问题。。。文章源自6116资源网-https://www.6116.site/4290.html
有能力可以自行搞定的。文章源自6116资源网-https://www.6116.site/4290.html
下面教程开始:文章源自6116资源网-https://www.6116.site/4290.html
关闭防火墙文章源自6116资源网-https://www.6116.site/4290.html
systemctl stop firewalld.service文章源自6116资源网-https://www.6116.site/4290.html
systemctl disable firewalld.service文章源自6116资源网-https://www.6116.site/4290.html
搭建用的 纯纯的 centos7.3 系统文章源自6116资源网-https://www.6116.site/4290.html
一、安装相关环境装文章源自6116资源网-https://www.6116.site/4290.html
yum update -y文章源自6116资源网-https://www.6116.site/4290.html
yum -y install gcc+ gcc-c++文章源自6116资源网-https://www.6116.site/4290.html
yum -y install golang文章源自6116资源网-https://www.6116.site/4290.html
yum -y groupinstall “Development Tools”文章源自6116资源网-https://www.6116.site/4290.html
yum -y install wget unzip文章源自6116资源网-https://www.6116.site/4290.html
二、上传服务端文章源自6116资源网-https://www.6116.site/4290.html
上传 fwd.zip 到 根目录文章源自6116资源网-https://www.6116.site/4290.html
解压文章源自6116资源网-https://www.6116.site/4290.html
cd /文章源自6116资源网-https://www.6116.site/4290.html
unzip fwd.zip文章源自6116资源网-https://www.6116.site/4290.html
遇到提示输入大写的A文章源自6116资源网-https://www.6116.site/4290.html
给权限文章源自6116资源网-https://www.6116.site/4290.html
chmod -R 777 /home/文章源自6116资源网-https://www.6116.site/4290.html
cd /root/文章源自6116资源网-https://www.6116.site/4290.html
unzip ssdb-master.zip文章源自6116资源网-https://www.6116.site/4290.html
cd ssdb-master文章源自6116资源网-https://www.6116.site/4290.html
make文章源自6116资源网-https://www.6116.site/4290.html
make install文章源自6116资源网-https://www.6116.site/4290.html
在将SSDB以至/usr/local/ssdb下文章源自6116资源网-https://www.6116.site/4290.html
ln -sf /usr/local/ssdb/ssdb-server /usr/local/bin/ssdb-server文章源自6116资源网-https://www.6116.site/4290.html
ln -sf /usr/local/ssdb/tools/ssdb-cli /usr/local/bin/ssdb-cli文章源自6116资源网-https://www.6116.site/4290.html
ln -sf /usr/local/ssdb/tools/ssdb-dump /usr/local/bin/ssdb-dump文章源自6116资源网-https://www.6116.site/4290.html
ln -sf /usr/local/ssdb/tools/ssdb-repair /usr/local/bin/ssdb-repair文章源自6116资源网-https://www.6116.site/4290.html
yum install httpd httpd-devel mysql mariadb-server mariadb-devel php php-devel phpmyadmin redis redis-devel php-redis -y文章源自6116资源网-https://www.6116.site/4290.html
service httpd stop文章源自6116资源网-https://www.6116.site/4290.html
service mariadb stop文章源自6116资源网-https://www.6116.site/4290.html
cd /var/lib/文章源自6116资源网-https://www.6116.site/4290.html
rm -rf mysql文章源自6116资源网-https://www.6116.site/4290.html
tar zvxf mysql.tar.gz文章源自6116资源网-https://www.6116.site/4290.html
service mariadb start文章源自6116资源网-https://www.6116.site/4290.html
cd /etc/文章源自6116资源网-https://www.6116.site/4290.html
rm -rf httpd文章源自6116资源网-https://www.6116.site/4290.html
tar zvxf httpd.tar.gz文章源自6116资源网-https://www.6116.site/4290.html
service httpd start文章源自6116资源网-https://www.6116.site/4290.html
为了安全你可以把上面用到的压缩包都删除(不删除也不影响)文章源自6116资源网-https://www.6116.site/4290.html
rm -rf /sgz.zip文章源自6116资源网-https://www.6116.site/4290.html
rm -rf /var/lib/mysql.tar.gz文章源自6116资源网-https://www.6116.site/4290.html
rm -rf /etc/httpd.tar.gz文章源自6116资源网-https://www.6116.site/4290.html
编辑 /etc/hosts 文件(使用vi命令或者WinSCP)文章源自6116资源网-https://www.6116.site/4290.html
127.0.0.1 localhost localhost.localdomain VM_96_210_centos gw文章源自6116资源网-https://www.6116.site/4290.html
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6文章源自6116资源网-https://www.6116.site/4290.html
service network start文章源自6116资源网-https://www.6116.site/4290.html
三、服务端IP修改文章源自6116资源网-https://www.6116.site/4290.html
修改/var/www/html目录下的serverlist文件文章源自6116资源网-https://www.6116.site/4290.html
到这里基本就架设好了文章源自6116资源网-https://www.6116.site/4290.html
重启一下服务器文章源自6116资源网-https://www.6116.site/4290.html
reboot文章源自6116资源网-https://www.6116.site/4290.html
四、客户端修改文章源自6116资源网-https://www.6116.site/4290.html
用改之理改客户端apk文章源自6116资源网-https://www.6116.site/4290.html
APK修改路径 改ip 192.168.200.129 为你的ip文章源自6116资源网-https://www.6116.site/4290.html
assets\scripts\upgrade\config.lua 更新地址文章源自6116资源网-https://www.6116.site/4290.html
assets\scripts\app\data\ServerList.lua 服务器列表文章源自6116资源网-https://www.6116.site/4290.html
assets\scripts\app\platform\testPlatform\TestProxyLayer.lua 登录文章源自6116资源网-https://www.6116.site/4290.html
五、启动关闭文章源自6116资源网-https://www.6116.site/4290.html
启动游戏文章源自6116资源网-https://www.6116.site/4290.html
service httpd start文章源自6116资源网-https://www.6116.site/4290.html
service mariadb start文章源自6116资源网-https://www.6116.site/4290.html
/home/start.sh文章源自6116资源网-https://www.6116.site/4290.html
关闭游戏文章源自6116资源网-https://www.6116.site/4290.html
/home/stop.sh文章源自6116资源网-https://www.6116.site/4290.html
可以正常登陆.文章源自6116资源网-https://www.6116.site/4290.html
本期教程到此结束,祝君好运.文章源自6116资源网-https://www.6116.site/4290.html
PS:文章源自6116资源网-https://www.6116.site/4290.html
GM后台:文章源自6116资源网-https://www.6116.site/4290.html
http://IP:3880/gm/gm.php文章源自6116资源网-https://www.6116.site/4290.html
GM码:******文章源自6116资源网-https://www.6116.site/4290.html
使用端口:文章源自6116资源网-https://www.6116.site/4290.html
3880文章源自6116资源网-https://www.6116.site/4290.html
8118文章源自6116资源网-https://www.6116.site/4290.html
9011文章源自6116资源网-https://www.6116.site/4290.html
48118文章源自6116资源网-https://www.6116.site/4290.html
文章源自6116资源网-https://www.6116.site/4290.html本文链接:
版权声明:知识共享署名-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)协议进行许可
本站资源仅供个人学习交流,转载时请以超链接形式标明文章原始出处,(如有侵权联系删除)








暂无评论内容