【元素王座H5】西游换皮小精灵源码+教程+授权物品后台
源码截图:
源码介绍:
【元素王座H5】西游换皮小精灵源码+教程+授权物品后台
安装搭建说明:
要求系统 Centos7.2
配置要求 2核 4G内存 宽带随意 建议5M
安装宝塔
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh
nginx1.14+mysql 5.6+php5.4
★添加数据库
宝塔 – 数据库 – root密码 修改密码为sants.cn 其他不用动
创建web数据库,导入web.sql
mysql -uroot -psants.cn
GRANT ALL PRIVILEGES ON . TO ‘root’@’%’ IDENTIFIED BY ‘sants.cn’ WITH GRANT OPTION;
flush privileges;
quit
上传sants.zip到根目录解压
★添加网站
宝塔 – 网站 – 添加站点 根目录/www/wwwroot/sants.cn
★放行端口
宝塔 – 安全 – 放行端口 – 添加1:65535
chmod -R 777 /www
chmod -R 777 /root
上传动态库到 lib64
ldconfig
yum install gcc* -y
yum install libtocmalloc* -y
★修改服务端
修改root/server/sh/的三个xml文件
configure_center.xml
configure.xml
configure_cross.xml
修改网站里面
/www/wwwroot/sants.cn/api/gameserver
/www/wwwroot/sants.cn/pay/config.php
/www/wwwroot/sants.cn/index1.php
==========================================================================
★关闭防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service
★启动游戏
cd /root/server/game/sh
./gamectl.sh startall
游览器输入http://你的ip/ 进入游戏
游戏后台:你的IP/admin
初始账号:admin
密码:123456
源码下载:
电脑端往右上角看
科武源码网 » 【元素王座H5】西游换皮小精灵源码+教程+授权物品后台