【大唐阴阳师】萌系卡通手游+时装+坐骑+结婚手游linux服务端+双端+搭建教程+GM工具-源雷技术空间
架设教程:
————-大唐阴阳师架设教程-源雷技术空间——————–
系统: CentOS 7.2 64位
上传0.zip到根目录(/)
安装宝塔
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh安装 Nginx1.16、MySQL5.7、PHP5.6 PHPmyadmin
关闭防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service解压
cd /
unzip 0.zip给权限
chmod -R 777 /yuanlei
chmod -R 777 /www/wwwroot/www.yuanlei.net安装环境
yum install glibc* -y输入命令
ldconfig修改数据库root密码为123456
创建网站
指向目录 /www/wwwroot/www.yuanlei.net
域名:IP:81在宝塔-软件商店-MySQL 5.6-设置-配置修改中第26行添加lower_case_table_names=1,然后服务–重启MYSQL
创建并导入数据库(这个要等宝塔安装完mysql才可以操作慢慢等)
mysql -uroot -p123456
create database s5001_Bill;
create database s5001_Game;
create database s5001_Log;
create database s5001_Login;
create database s80001_Game;
create database s80001_Log;
create database s80001_Login;
create database u3dgame;
use s5001_Bill;
set names utf8;
source /yuanlei/sql/s5001_Bill.sql;
use s5001_Game;
set names utf8;
source /yuanlei/sql/s5001_Game.sql;
use s5001_Log;
set names utf8;
source /yuanlei/sql/s5001_Log.sql;
use s5001_Login;
set names utf8;
source /yuanlei/sql/s5001_Login.sql;
use s80001_Game;
set names utf8;
source /yuanlei/sql/s80001_Game.sql;
use s80001_Log;
set names utf8;
source /yuanlei/sql/s80001_Log.sql;
use s80001_Login;
set names utf8;
source /yuanlei/sql/s80001_Login.sql;
use u3dgame;
set names utf8;
source /yuanlei/sql/u3dgame.sql;
flush privileges;exit 回车退出
[wm_login]
修改IP(替换111.1.111.111为你的)
/yuanlei/YGame/center/bin/hLoginMS (PS:用UE改 13位IP 或 域名)
/yuanlei/YGame/center/bin/serverlist.xml
/yuanlei/YGame/center/bin/config.xml
/yuanlei/YGame/cross/bin/serverlist.xml
/yuanlei/YGame/game/bin/serverlist.xml
/yuanlei/YGame/game/bin/config.xml
/www/wwwroot/www.yuanlei.net/8888/Server/configurl
/www/wwwroot/www.yuanlei.net/8888/Server/Server/info
/www/wwwroot/www.yuanlei.net/8888/Server/Server/list
/www/wwwroot/www.yuanlei.net/8888/Server/Server/selectzone
/www/wwwroot/www.yuanlei.net/5252/Server/configurl
/www/wwwroot/www.yuanlei.net/5252/Server/Server/info
/www/wwwroot/www.yuanlei.net/5252/Server/Server/list
/www/wwwroot/www.yuanlei.net/5252/Server/Server/selectzone[/wm_login]
启动:
cd /yuanlei/YGame/center
./q
cd /yuanlei/YGame/cross
./q
cd /yuanlei/YGame/game/bin
./q1停止:
cd /yuanlei/YGame/center
./tcd /yuanlei/YGame/cross
./tcd /yuanlei/YGame/game/bin
./t1查看端口命令
netstat -ltnp客户端修改:111.1.111.111(13位IP)
安卓客户端:
/smali/com/mike/fusionsdk/util/MkUtil.smali
/smali/com/mk/sdk/common/MKMacro.smali
/smali/com/mk/sdk/manager/api/MKPayManager.smali
/smali/com/mk/sdk/manager/api/MKUsersManager.smali
/assets/bin/Data/b1f39d1393ec4324e831bd471f4adbed (PS:用UE改 13位IP 或 域名)苹果客户端:vip.boju1.net(13位域名)
/Payload/hjjx.app/Frameworks/PullSDK.framework/PullSDK
/Payload/hjjx.app/Data/resources.assets授权后台:IP:81/gm/yuanlei.php
校验码:yuanlei
玩家后台:IP:81/gm/———————————
源雷技术空间
www.yuanlei.net
———————————