【宝可梦口袋觉醒32SS史诗级宠物[苍响]VS[凯路迪欧·觉悟]完整代理内充端】修复女王技能伤害显示-真实32SS精灵站长推荐Q萌卡通回合动作手游-2023年7月19日最新打包ubuntu服务端源码超详细视频架设教程-多功能GM网页后台工具-地图广告已去除-安卓苹果IOS双端版本!
【宝可梦口袋觉醒32SS史诗级宠物[苍响]VS[凯路迪欧·觉悟]完整代理内充端】修复女王技能伤害显示-真实32SS精灵站长推荐Q萌卡通回合动作手游-2023年7月19日最新打包ubuntu服务端源码超详细视频架设教程-多功能GM网页后台工具-地图广告已去除-安卓苹果IOS双端版本!
上面视频教程链接如果失效,请在源码包内观看超清视频教程! 新宠物碎片ID在文档教程下面!
上面视频教程链接如果失效,请在源码包内观看超清视频教程! 新宠物碎片ID在文档教程下面!
上面视频教程链接如果失效,请在源码包内观看超清视频教程! 新宠物碎片ID在文档教程下面!
服务器版本为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.syymw.net/43.139.129.244/g'
find /mnt -type f -name '*.json' | xargs sed -i 's/www.syymw.net/43.139.129.244/g'
find /mnt -type f -name '*.plist' | xargs sed -i 's/www.syymw.net/43.139.129.244/g'或者
修改服务端 搜:www.syymw.com
/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
(E-mail:1228689277@qq.com) 记住本站域名:www.syymw.net 站长:Q:1228689277