【少年三国志焰金第三代完整版】站长推荐经典三国卡牌回合手游-2023年9月14日最新打包Linux服务端源码视频架设教程-CDK卡密授权后台-新版多功能GM网页授权后台-安卓版本!
测试系统:centos7.3 7.6也可以
服务器开放端口
TCP:1-65535
UDP:1-65535上传服务端snsgz.zip放到服务器根目录
解压
cd /
unzip snsgz.zip安装相关环境装
yum install epel-release
yum update -y
yum -y install gcc+ gcc-c++
yum -y install golang
yum groupinstall “Development Tools” 如果出现就选y继续
yum -y install wget unzip
wget –no-check-certificate https://github.com/ideawu/ssdb/archive/master.zip
unzip master
cd ssdb-master
make
make install
将SSDB移至/usr/local/ssdb下
ln -sf /usr/local/ssdb/ssdb-server /usr/local/bin/ssdb-server
ln -sf /usr/local/ssdb/tools/ssdb-cli /usr/local/bin/ssdb-cli
ln -sf /usr/local/ssdb/tools/ssdb-dump /usr/local/bin/ssdb-dump
ln -sf /usr/local/ssdb/tools/ssdb-repair /usr/local/bin/ssdb-repair
yum install httpd httpd-devel mysql mariadb-server mariadb-devel php php-devel phpmyadmin redis redis-devel php-redis -y
service httpd stop
service mariadb stopchmod -R 777 /home/
cd /var/lib/
rm -rf mysqltar zvxf mysql.tgz
service mariadb start
cd /etc/
rm -rf httpdtar zvxf httpd.tgz
service httpd start
systemctl stop firewalld.service
systemctl disable firewalld.service打开 /etc/hosts
127.0.0.1 localhost localhost.localdomain VM_96_210_centos gw
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
里面的内容全删!!全删!全删!!!就留上面两个即可!service network start
重启一下服务器
reboot
修改/var/www/html/目录下的serverlist和uerverlist文件
/var/www/html/serverlist
/var/www/html/uerverlist
启动游戏
service httpd restart
service mariadb restartcd
/home/start.sh关闭游戏
/home/stop.shGM后台:
IP:3880/gm/gm.php
GM码:syymw.com玩家后台:
http://IP:3880/gmCDK生成:
http://IP:3880/ht/gm/ggm.php
GM码:syymw.comCDK激活使用:
http://IP:3880/ht/pay玩家后台:
http://IP:3880/htGM手动授权后台:
http://IP:3880/ht/gm.php
GM码:syymw.com热更修改:(注意看视频)搜:123.207.42.5 注意对位 注意给文件只读权限
\\8.5.0\\res\\QQ544440005\\QQ544440005
\\8.5.0\\scripts\\app\\data\\ServerList
\\8.5.0\\scripts\\app\\data\\bfx
\\8.5.0\\scripts\\app\\setting\\setting\\8.5.1\\scripts\\app\\data\\ServerList
\\8.5.1\\scripts\\app\\data\\bfx8.5.2.zip\\scripts\\app\\data\\ServerList
8.5.2.zip\\scripts\\app\\data\\bfx改完后上传到服务器/var/www/html/目录
客户端修改 assets/scripts/app/data/bfx
————————————————————————————
本期教程到此结束。
评论0