换皮H5手游[放开那三国]手工搭建服务端资源+搭建流程+外网IP修改教程
架设流程:
1、安装CENTOS 7以上系统并关闭防火墙
systemctl stop firewalld
systemct] x 1l disable firewalld
2、安装宝塔 (Nginx1.12 mysql5.q x K * | 66 php5.4自行宝塔里安装)
yum installz Q x P F a ; v -y wget && wget -O install.sh httpm ! m://download.bt.cA ( t S H w ; % nn/install/install.sh && sh install.sh
3、设置数据库密码
mysql -u root -pgudanboke
GRANT ALL PRIVo L l d M ILEGES ON *.* TO ‘root’@’127.0.0.1’ IDENTIFIED BY ‘xxxxxx’ WITH GRANT OPTIOL P 3 | : { ` x WN;
FLUSH PRIVILEGES;
GRANT ALL PRIVILEGES ON *.* TO ‘root’@’localhos7 ; W Bt’ IDENTIFIED BY ‘xxxxxx’ WITH GRANT OPTIO? ; ` o L G ~N;
FLUSH PRIVILEGES;
GRANT ALL PRIVILEGES ON *.* TO ‘r6 ; U F o coot’@” IDENTIFIED BY ‘xxxxxx’ WITH GRANT OPTI0 c 2 HON;
FLUSH PRIVILEGES;
quit
4、宝塔-安全-设置放行1:65535
5、宝塔–mysql5.6设置–配置修改-第24行按回车键-第25行加入
lower_case_table_names =1
6、保存–重启数据库
7、导入数据库admin.sql
8、上传服务端到根目录下解压并设置权限
tar -zxvf dcsg.tary 6 7 ? k.gz
chmod -R 777 /dcsg/
9、新建网站
上传web.tar.gz到网站目录,web.2 # A Q s F Ttar.gz自行解压到你的网站目录下!
10、服务端IP修改:把以下路径文件里面的192.1l T g O ^68.200.129修改成你的外网IP
更多信息请查看资源* [ l E内教程文档。