【宝可梦口袋觉醒真实29SS暴龙神完整端】真实暴龙神超梦X站长推荐Q萌卡通回合动作手游-2023年6月3日最新打包ubuntu服务端源码超详细视频架设教程-多功能GM网页后台工具-地图广告已去除-安卓苹果IOS双端版本!
【宝可梦口袋觉醒真实29SS暴龙神完整端】真实暴龙神超梦X站长推荐Q萌卡通回合动作手游-2023年6月3日最新打包ubuntu服务端源码超详细视频架设教程-多功能GM网页后台工具-地图广告已去除-安卓苹果IOS双端版本!

































服务器版本为ubuntu server 18.04
1、执行设置密码
sudo passwd root
2、执行输入刚刚设置的密码
su root
安装环境
apt-get install expect subversion build-essential lib32stdc++6 gcc-multilib g++-multilib python-dev pypy-dev gdb python2.7-dbg libcurl4-openssl-dev graphviz openssl libssl-dev swig gawk iotop lsof iftop ifstat iptraf htop dstat iotop ltrace strace sysstat bmon nethogs silversearcher-ag libsasl2-2 sasl2-bin libsasl2-modules python-setuptools luajit curl wget unzip nginx python-pipapt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5
echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.6 main" | tee /etc/apt/sources.list.d/mongodb-org-3.6.list
安装宝塔:
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh
输入y回车确认安装
输入n回车取消开启SSL安装环境
Nginx 1.18
MySQL 5.6
Php 7.1内存不够的-软件商店-系统工具-安装linux工具箱-增加虚拟内存
宝塔-安全-放行端口:1:65535
关闭防火墙
sudo ufw disable5、上传mongodb.zip到/home/ubuntu/目录
cd /
tar zxvf mongodb.tar.gz把mongodb.zip到解压到/
把default解压到/etc/nginx/sites-available/
把mnt.tar.gz解压到/mnt/
cd /etc/nginx/sites-available/
unzip default.zipcd /mnt/
tar zxvf mnt.tar.gzwww.zip 解压到/ 根目录下
安装mongodb
apt-get install mongodb-org=3.6.12 mongodb-org-server=3.6.12 mongodb-org-shell=3.6.12 mongodb-org-mongos=3.6.12 mongodb-org-tools=3.6.12rm -rf /usr/lib/python2.7/dist-packages/OpenSSL
rm -rf /usr/lib/python2.7/dist-packages/pyOpenSSL-0.15.1.egg-info
pip install cython six lz4==0.8.2 numpy==1.16.0 xlrd xdot rpdb psutil fabric==1.7.3 pycurl pycrypto M2Crypto==0.36.0 objgraph msgpack-python backports.ssl-match-hostname Markdown toro pymongo pyrasite pyopenssl ThinkingDataSdk==1.4.0
pip install tornado==4.4.2
pip install Supervisor==3.3.0
pip install cryptography==2.6
重新加载nginx
nginx -s reload给予权限
chmod 755 -R /mnt
-------------------------------------------------------------------------------------------------
修改IP把后面的ip换成你自己的,然后执行
find /mnt -type f -name '*.py' | xargs sed -i 's/www.ymui.cn/43.139.129.244/g'
find /mnt -type f -name '*.json' | xargs sed -i 's/www.ymui.cn/43.139.129.244/g'
find /mnt -type f -name '*.plist' | xargs sed -i 's/www.ymui.cn/43.139.129.244/g'或者
修改服务端 搜:www.ymui.cn
/www/wwwroot/game/pokemon/patch/1022/res/version.plist
/mnt/pokemon/release/login/conf/dev/serv.json
/mnt/pokemon/release/login/conf/serv.json
/mnt/pokemon/release/login/defines.json
/mnt/pokemon/release/game_defines.py
/mnt/pokemon/release/payment_defines.py
----------------------------------------------------------------------------------------------------
查看md5和获取文件size
md5sum /mnt/patch/1022/res/version.plist # 复制输出的md5码
ls -l /mnt/patch/1022/res/version.plist # 获取文件size大小值修改服务端文件
/mnt/pokemon/release/login/patch/cn/1022.json # 将version.plist的md5码和size更新一下并保存退出创建网站:
IP:82
网站目录:/www/wwwroot/syymw.com/启动游戏
cd /mnt/pokemon/deploy_dev
rm supervisor.sock
supervisord -c supervisord.confsupervisorctl start nsqd
supervisorctl start nsqadmin
supervisorctl start nsqlookupd
supervisorctl start account_db_server
supervisorctl start storage_server
supervisorctl start disable_word_check_server
supervisorctl start pvp_serversupervisorctl start anti_cheat_server
supervisorctl start payment_server
supervisorctl start crash_platform_server
supervisorctl start gm_server
supervisorctl start login_server
supervisorctl start game_mongodb
supervisorctl start game_serversupervisorctl start account_db_server
supervisorctl start storage_server★查看启动状态★
supervisorctl status关闭游戏:
supervisorctl reload
---------------------------------------------------
如果提示没有启动命令请安装下面命令!yum install -y supervisor
---------------------------------------------------
13、启动服务器
cd /mnt/pokemon/deploy_dev
rm supervisor.sock
supervisord -c supervisord.conf
supervisorctl start all ★启动服务端★
supervisorctl status ★查看启动状态★
重启服务端!命令是:supervisorctl reload客户端修改:
安卓
\assets\res\version.plist苹果
\Payload\MyLuaGame.app\res\version.plist后台地址
管理后台:http://IP:33877/login
账号:admin
密码:syymw.com邮件发送格式:{"指令":数量}
授权GM后台:
http://IP:82/gm/gm.php
GM码:syymw.com玩家后台:
http://IP:82/gm/
GM码:syymw.com暴龙神碎片ID: 24023
原始狮子:20381PS:
大区名字
mnt/pokemon/release/login/conf/serv.json公告
mnt/pokemon/release/login/conf/cn/notice.json游戏正常启动示列
root@VM-4-17-ubuntu:/mnt/pokemon/deploy_dev# supervisorctl status
account_db_server RUNNING pid 4443, uptime 0:12:26
crash_platform_server EXITED Aug 10 07:28 PM
disable_word_check_server RUNNING pid 4445, uptime 0:12:26
game_mongodb RUNNING pid 4442, uptime 0:12:26
game_server RUNNING pid 4448, uptime 0:12:26
gm_server RUNNING pid 4450, uptime 0:12:26
login_server RUNNING pid 4451, uptime 0:12:26
nsqadmin RUNNING pid 4440, uptime 0:12:26
nsqd RUNNING pid 4439, uptime 0:12:26
nsqlookupd RUNNING pid 4441, uptime 0:12:26
payment_server RUNNING pid 4447, uptime 0:12:26
pvp_server RUNNING pid 4446, uptime 0:12:26
storage_server RUNNING pid 4444, uptime 0:12:26
这样才算正常。。。。。文件内的编辑指令
1.编辑:按下i,进入编辑模式
2.返回命令模式:按下 Esc,返回命令模式
3.在命令模式下,按下 :wq!,保存并退出
4.退出, 按下 :q,退出
5.强制退出,按下 :q!,强制退出
6.保存,按下 :w,保存
7.保存并退出,按下 :wq,保存
8.强制保存并退出,按下 :wq!,保存友情提示:如果是阿里云或者腾讯云架设 请注意端口是否开放。
========================================================
本期教程到此结束。
29694 -->
1、本站资源都是白菜价出售,同样的东西,我们不卖几百,也不卖几十,甚至才卖几块钱,一个永久会员能下载全站100%源码了,所以单独购买也好,会员也好均不提供相关技术服务。
2、如果源码下载地址失效请/联系站长QQ进行补发。
3、本站所有资源仅用于学习及研究使用,请必须在24小时内删除所下载资源,切勿用于商业用途,否则由此引发的法律纠纷及连带责任本站和发布者概不承担。资源除标明原创外均来自网络整理,版权归原作者或本站特约原创作者所有,如侵犯到您权益请联系本站删除!
4、本站站内提供的所有可下载资源(软件等等)本站保证未做任何负面改动(不包含修复bug和完善功能等正面优化或二次开发);但本网站不能保证资源的准确性、安全性和完整性,用户下载后自行斟酌,我们以交流学习为目的,并不是所有的源码都100%无错或无bug;同时本站用户必须明白,【源码源码ui网】对提供下载的软件等不拥有任何权利(本站原创和特约原创作者除外),其版权归该资源的合法拥有者所有。
5、请您认真阅读上述内容,购买即以为着您同意上述内容。
一站网 » 【宝可梦口袋觉醒真实29SS暴龙神完整端】真实暴龙神超梦X站长推荐Q萌卡通回合动作手游-2023年6月3日最新打包ubuntu服务端源码超详细视频架设教程-多功能GM网页后台工具-地图广告已去除-安卓苹果IOS双端版本!