请选择 进入手机版 | 继续访问电脑版

【悟空资源网】

 找回密码
 注册

QQ登录

牛牛西游linux手工外网架设教程-单文字教程

[复制链接]
发表于 2021-8-26 17:20:56 | 显示全部楼层 |阅读模式
系统
centos7.2 64位

安装宝塔
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh

宝塔安装ngx1.16 mysql5.6 php5.6

开放所有端口 1:65535

上传服务端wkzy.net.zip 到根目录 解压服务端

安装环境
yum -y install gcc gcc-c++

yum install make -y

yum install readline-devel.x86_64 -y

给权限
cd /home
chmod -R 777 /home
cd lua-5.3.2
make linux
make install

再给权限
chmod -R 777 /usr/local

修改IP
home/nomogaserver/accountcenter/src/gamelogic/config/serverlists/serverlistxiyou_final_md.lua

www/wwwroot/gengxing/xiyou/ver_test.txt



添加网站
目录选www/wwwroot/game   给权限777

重启服务器
reboot

启动游戏
/usr/local/mongodb/bin/mongod --config /usr/local/mongodb/bin/mongodb.conf &

/usr/local/bin/redis-server /etc/redis6001.conf &

cd /home/nomogaserver && ./accserver.sh start

cd /home/nomogaserver && ./payserver.sh start

cd /home/server1 && ./nomogaserver2.sh start

cd /home/server1 && ./nomogaserver1.sh start


客户端修改
\assets\res\script.zip压缩包内的Update.GameUpdate换为你的   3个

后台
http://你的IP/admin/gm.php
GM码336699
GM码修改/www/wwwroot/gxgm/admin/user
config.php


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|【悟空资源网】 ( 桂ICP备2022002215号-1 )

GMT+8, 2024-3-28 22:18 , Processed in 0.056887 second(s), 24 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2012 Comsenz Inc. Template by A3cn

返回顶部