简介;
0.安装CENTOS 7以上系统 1.安装浮图 (Nginx1.16 Mysql5.6 Php5.6自行浮图里安装)PHP安装好后-软件治理-PHP5.6设备-禁用函数-删除exec 2.设备数据库密码: mysql -u root -pbl20166.com
GRANT ALL PRIVILEGES ON *.* TO 'root'@'127.0.0.1' IDENTIFIED BY 'bl20166.com' WITH GRANT OPTION;
FLUSH PRIVILEGES;
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY 'bl20166.com' WITH GRANT OPTION;
FLUSH PRIVILEGES;
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'bl20166.com' WITH GRANT OPTION;
FLUSH PRIVILEGES;
quit 浮图-平安-放行端口1:65535 导入数据库 3.浮图-增加站点-端口81-根目录/www/wwwroot/ 把bl20166.tar.gz上传到根目录 cd /
tar -zxvf bl20166.tar.gz chmod -R 777 /home/
chmod -R 777 /usr/local/mongodb/
chmod -R 777 /usr/local/bin/redis-server
chmod -R 777 /www/wwwroot/ 4.办事端IP点窜 /home/nomogaserver/accountcenter/src/gamelogic/config/serverlists/serverlistxiyou_in.lua 5.客户端IP点窜 安卓:
点窜【IP文件】目录下的4个文件 别离覆盖到assetsrescodes.zip 和 assetsresscript.zip 里
苹果:
点窜【IP文件】目录下的4个文件 别离覆盖到Payloadwkzz_ios.apprescodes.zip 和 Payloadwkzz_ios.appresscript.zip 里 6.启动封闭 启动:
/usr/local/mongodb/bin/mongod --config /usr/local/mongodb/bin/mongodb.conf &
/usr/local/bin/redis-server /etc/redis6379.conf &
cd /home/nomogaserver
./serverStart.sh start
封闭:
cd /home/nomogaserver
./serverStop.sh stop PS: 浮图放行端口:4767 9031
背景地址:外网:81
背景账号:bl20166
背景密码:123456 图片 :
|