麻辣鸡翅 发表于 2020-5-12 17:34:31

阴阳师教程-linux手工端教程教程-外网架设教程


系统:        CentOS 7.2 64位

本端需13位ip

注意:修改www.tao.cc.zip压缩包里/www.tao.cc/YGame/center/bin/hLoginMS 的111.67.207.60为你的ip 放回压缩包再上传

上传www.tao.cc.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

解压
www.tao.cc.zip

给权限
chmod -R 777 /www.tao.cc
chmod -R 777 /www/wwwroot/www.tao.cc

安装环境
yum install glibc* -y

输入命令
ldconfig

修改数据库root密码为123456

创建网站
指向目录        /www/wwwroot/www.tao.cc
域名: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 /www.tao.cc/sql/s5001_Bill.sql;
use s5001_Game;
set names utf8;
source /www.tao.cc/sql/s5001_Game.sql;
use s5001_Log;
set names utf8;
source /www.tao.cc/sql/s5001_Log.sql;
use s5001_Login;
set names utf8;
source /www.tao.cc/sql/s5001_Login.sql;
use s80001_Game;
set names utf8;
source /www.tao.cc/sql/s80001_Game.sql;
use s80001_Log;
set names utf8;
source /www.tao.cc/sql/s80001_Log.sql;
use s80001_Login;
set names utf8;
source /www.tao.cc/sql/s80001_Login.sql;
use u3dgame;
set names utf8;
source /www.tao.cc/sql/u3dgame.sql;
flush privileges;

exit   回车退出

修改IP(替换154.8.161.226为你的)
/www.tao.cc/YGame/center/bin/serverlist.xml
/www.tao.cc/YGame/center/bin/config.xml
/www.tao.cc/YGame/cross/bin/serverlist.xml
/www.tao.cc/YGame/game/bin/serverlist.xml
/www.tao.cc/YGame/game/bin/config.xml
/www/wwwroot/www.tao.cc/8888/Server/configurl
/www/wwwroot/www.tao.cc/8888/Server/Server/info
/www/wwwroot/www.tao.cc/8888/Server/Server/list
/www/wwwroot/www.tao.cc/8888/Server/Server/selectzone
/www/wwwroot/www.tao.cc/5252/Server/configurl
/www/wwwroot/www.tao.cc/5252/Server/Server/info
/www/wwwroot/www.tao.cc/5252/Server/Server/list
/www/wwwroot/www.tao.cc/5252/Server/Server/selectzone

启动:

cd /www.tao.cc/YGame/center
./q

cd /www.tao.cc/YGame/cross
./q

cd /www.tao.cc/YGame/game/bin
./q1

停止:

cd /www.tao.cc/YGame/center
./t

cd /www.tao.cc/YGame/cross
./t

cd /www.tao.cc/YGame/game/bin
./t1

查看端口命令
netstat -ltnp

客户端修改:154.8.161.226(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

苹果客户端:123.456.789.0(13位域名)
/Payload/hjjx.app/Frameworks/PullSDK.framework/PullSDK
/Payload/hjjx.app/Data/resources.assets

授权后台:IP:81/gm/gm.php
校验码:www.tao.cc
玩家后台:IP:81/gm/

-----------------------------------------------------------------------
页: [1]
查看完整版本: 阴阳师教程-linux手工端教程教程-外网架设教程