源码描述:

换皮H5手游[放开那三国]手工搭建服务端资源+搭建流程+外网IP修改教程

架设流程:

1、安装CENTOS 7以上系统并关闭防火墙

systemctl stop firewalld

systemctl disable firewalld

2、安装宝塔 (Nginx1.12 mysql5.6 php5.4自行宝塔里安装)

yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh

3、设置数据库密码

mysql -u root -pgudanboke

GRANT ALL PRIVILEGES ON *.* TO \\\\\\\\\\\\\\\\’root\\\\\\\\\\\\\\\\’@\\\\\\\\\\\\\\\\’127.0.0.1\\\\\\\\\\\\\\\\’ IDENTIFIED BY \\\\\\\\\\\\\\\\’xxxxxx\\\\\\\\\\\\\\\\’ WITH GRANT OPTION;

FLUSH PRIVILEGES;

GRANT ALL PRIVILEGES ON *.* TO \\\\\\\\\\\\\\\\’root\\\\\\\\\\\\\\\\’@\\\\\\\\\\\\\\\\’localhost\\\\\\\\\\\\\\\\’ IDENTIFIED BY \\\\\\\\\\\\\\\\’xxxxxx\\\\\\\\\\\\\\\\’ WITH GRANT OPTION;

FLUSH PRIVILEGES;

GRANT ALL PRIVILEGES ON *.* TO \\\\\\\\\\\\\\\\’root\\\\\\\\\\\\\\\\’@\\\\\\\\\\\\\\\\’\\\\\\\\\\\\\\\\’ IDENTIFIED BY \\\\\\\\\\\\\\\\’xxxxxx\\\\\\\\\\\\\\\\’ WITH GRANT OPTION;

FLUSH PRIVILEGES;

quit

4、宝塔-安全-设置放行1:65535

5、宝塔–mysql5.6设置–配置修改-第24行按回车键-第25行加入

lower_case_table_names =1

6、保存–重启数据库

7、导入数据库admin.sql

8、上传服务端到根目录下解压并设置权限

tar -zxvf dcsg.tar.gz

chmod -R 777 /dcsg/

9、新建网站

上传web.tar.gz到网站目录,web.tar.gz自行解压到你的网站目录下!

10、服务端IP修改:把以下路径文件里面的192.168.200.129修改成你的外网IP

更多信息请查看资源内教程文档。

源码截图:

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。