[手游] 一剑问情双端IOS手游改单机版游戏服务端 |
8238| 165
|
游戏:一剑问情双端IOS
不要问,问也不知道! 架设要求 系统:Centos 7.2 配置2核 4G -------------------------------------------------------------------------- 安装宝塔 yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh -------------------------------------------------------------------------- 安装环境 Nginx-1.8 MySQL5.6 插入 lower_case_table_names=1 保存重启数据库 PHP5.6 -------------------------------------------------------------------------- 宝塔上传文件 jtyl.zip到主目录/data 设置777权限并且解压 宝塔上传文件 rpm -ivh jdk-8u144-linux-x64.rpm到root目录 cd /root rpm -ivh jdk-8u144-linux-x64.rpm -------------------------------------------------------------------------- 创建网站 宝塔上传文件 更新包.zip解压到网站目录 -------------------------------------------------------------------------- 数据库方面 宝塔 - 数据库 - root密码 输入 123456 提交 宝塔 - 安全 - 放行端口 - 添加3306 mysql -u root -p123456 -------------------------------------------------------------------------- 创建数据库用户 GRANT ALL PRIVILEGES ON *.* TO 'jtyl'@'127.0.0.1' IDENTIFIED BY 'taiwan168' WITH GRANT OPTION; FLUSH PRIVILEGES; GRANT ALL PRIVILEGES ON *.* TO 'jtyl'@'localhost' IDENTIFIED BY 'taiwan168' WITH GRANT OPTION; FLUSH PRIVILEGES; GRANT ALL PRIVILEGES ON *.* TO 'ruiyj'@'127.0.0.1' IDENTIFIED BY 'vQPP0DIbkturhqK9' WITH GRANT OPTION; FLUSH PRIVILEGES; GRANT ALL PRIVILEGES ON *.* TO 'ruiyj'@'localhost' IDENTIFIED BY 'vQPP0DIbkturhqK9' WITH GRANT OPTION; FLUSH PRIVILEGES; GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION; FLUSH PRIVILEGES; quit -------------------------------------------------------------------------- 关闭防火墙 systemctl stop firewalld.service systemctl disable firewalld.service -------------------------------------------------------------------------- 导入数据库 jtyl_1 jtyl_center【修改IP】 -------------------------------------------------------------------------- 设置权限 chmod -R 777 /data/jtyl -------------------------------------------------------------------------- 启动游戏 cd /data/jtyl ./start.sh 停止游戏 cd /data/jtyl ./stop.sh -------------------------------------------------------------------------- 安卓客户端 assets\bin\Data\Managed\Assembly-CSharp.dll 苹果客户端修改 Payload\sl.app\Data\Managed\Metadata\global-metadata 【搜索:27.155】 【搜索:210.242】 -------------------------------------------------------------------------- 查看端口 netstat -ltnp -------------------------------------------------------------------------- web后台 http://服务器IP:8090/admin admin 123456 -------------------------------------------------------------------------- 然后就可以【体验游戏】了 一剑问情双端IOS手游改单机版游戏服务端
购买主题
已有 11 人购买
本主题需向作者支付 30 金币 才能浏览
| |
声明: 1.本站资源来源于网络,本站不研究无任何技术支持!仅供自行学习交流之用,请勿用于商业用途! 2.一切网民在进入热血侠主页及各层页面时已经仔细看过并完全同意本站站务区内发布的免责声明! 3.本站内容如若侵犯到您的权益,请通过本站提供的联系方式联系我们,我们会尽快处理! |
|