游戏:天使圣域双端IOS 不要问,问也不知道!
-------------------------------------------------------------------------- 架设要求 操作系统:Centos 6.* 配置:2核4G内存 -------------------------------------------------------------------------- 安装宝塔 -------------------------------------------------------------------------- 安装环境 Nginx-1.8 MySQL5.6 插入 lower_case_table_names=1 保存重启数据库 PHP5.6 MongDB【软件商店】 PHP安装扩展【mongo】 -------------------------------------------------------------------------- 宝塔上传文件 deploy.zip到主目录/home 设置777权限并且解压 -------------------------------------------------------------------------- 创建网站【81端口】 宝塔 - 网站 - 添加站点 输入IP 根目录/home/deploy/wwwroot 宝塔 - 数据库 - root密码 输入 123456 提交 -------------------------------------------------------------------------- 宝塔 - 安全 - 放行端口 - 添加3306 mysql -u root -p123456 -------------------------------------------------------------------------- 创建数据库用户 GRANT ALL PRIVILEGES ON *.* TO 'root'@'127.0.0.1' IDENTIFIED BY '123456' WITH GRANT OPTION; FLUSH PRIVILEGES;
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY '123456' WITH GRANT OPTION; FLUSH PRIVILEGES;
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION; FLUSH PRIVILEGES; quit -------------------------------------------------------------------------- 导入数据库 tssy_sdk【修改IP】 -------------------------------------------------------------------------- 关闭防火墙 chkconfig iptables off service iptables stop -------------------------------------------------------------------------- 安装环境 yum -y install gcc* tar -zxvf libiconv-1.14.tar.gz cd libiconv-1.14 ./configure --prefix=/usr/local make make install cd /root/libiconv-1.14/srclib sed -i -e '/gets is a security/d' ./stdio.in.h yum install lua* -y ldconfig -------------------------------------------------------------------------- 网站修改 /home/deploy/wwwroot/api.php -------------------------------------------------------------------------- 设置权限 chmod -R 777 /home -------------------------------------------------------------------------- 启动游戏 cd /home/deploy/bin ./start_server.sh 1 间隔30秒克隆会话 cd /home/deploy/bin ./start_cross.sh 0 停止游戏 cd /home/deploy/bin ./stop.sh -------------------------------------------------------------------------- 安卓客户端 【搜索:81】 天使圣域.apk\assets\bin\Data\Managed\Assembly-CSharp.dll
苹果客户端 【搜索test.7bit.vip】对应位数【UE编辑器】 天使圣域.ipa\Payload\com.uuggoo.tssy.yijie.jh.app\Data\Managed\Metadata\global-metadata.da -------------------------------------------------------------------------- 查看端口 netstat -ltnp -------------------------------------------------------------------------- WEB后台 http://服务器IP:81/msgtssy_gm/index_gmo.php GM密码:yxgm -------------------------------------------------------------------------- 然后就可以【体验游戏】了
天使圣域双端IOS-手工端游戏网游单机服务端
|