游戏源码说明:
哈喽猿 helloyuan.com 全网资源最丰富 免费下载资源最多 价格最便宜的源码网
如果您是新手不懂技术,可以咨询客服协助您搭建属于自己的游戏呦!
毕竟哈喽猿网是个伟大的网站
centos7.x
245
安装宝塔
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
-------------------------------------------------------------------------------------------------------------------------
关防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service
-------------------------------------------------------------------------------------------------------------------------
安装环境
Nginx1.16
php5.6
mysql5.6
-------------------------------------------------------------------------------------------------------------------------
home.zip上传 到home 里面解压
cd /
unzip -o home.zip -d home/
-------------------------------------------------------------------------------------------------------------------------
开端口开1-65535
数据库密码设置 123456
-------------------------------------------------------------------------------------------------------------------------
创建数据库。宝塔手动导入
globaldata
center
actor_s999
actor_s1
actor_s2
-------------------------------------------------------------------------------------------------------------------------
修改 数据库globaldata 里面ip sever和severroute 跨服需要
-------------------------------------------------------------------------------------------------------------------------
创建网站88端口指向/home/web
-------------------------------------------------------------------------------------------------------------------------
修改服务端ip
/home/web/web/server_list/config.php
-------------------------------------------------------------------------------------------------------------------------
给文件777权限
chmod -R 777 /home/
-------------------------------------------------------------------------------------------------------------------------
启动
cd /home/server/s1/Debug && ./run.sh
cd /home/server/s2/Debug && ./run.sh
启动跨服
cd /home/server/s999/Debug && ./run.sh
-------------------------------------------------------------------------------------------------------------------------
关闭游戏
cd /home/server/s1/Debug && ./stop.sh
cd /home/server/s2/Debug && ./stop.sh
cd /home/server/s999/Debug && ./stop.sh
-------------------------------------------------------------------------------------------------------------------------
http://IP:88/gm/ gm工具
账号密码 admin 123456
非常感谢
关注
感谢大大
感谢分享
感谢分享
支持一下