linux6.5 64
关闭防火墙
chkconfig iptables off
立即生效
service iptables stop
安装宝塔
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh
宝塔安装Nginx1.14 php5.4 mysql5.6
设置数据库密码为123456
cd /
mysql -uroot -p123456
grant all privileges on *.* to 'root'@'%' identified by '123456';
create database mt3 DEFAULT CHARACTER SET utf8; 创建分区数据库
flush privileges; #
use mt3
导入数据库
source /mt3.sql (需要一个mt3.sql,mt3.sql上传根目录)
exit;
上传jdk-8u144-linux-x64.rpm到根目录
cd /
rpm -ivh jdk-8u144-linux-x64.rpm
上传服务端mt3.tar.gz到home目录
上传liblog4cpp.so.5到/usr/lib64
cd /home
tar xvfz mt3.tar.gz
chmod -R 7777 /home
网站:路径/wwwro
两个修改列表IP目录
wwwroot/mt3servers
wwwroot/server
列表IP:serverlist.html
{
"I": "1",
"D": "1101961001",
"A": "梦幻西游",
"N": "测试区",
"P": "106.53.77.88",
"T": "10003",
"S": "2",
"B": "1",
"C": "0",
"KS": "0000-00-00 00:00:00",
"NS": "-1"
}
数据库密码记修改:mt3token.php
本地验证数据库密码修改 “config.php”
启动命令:cd /home/mt3
./st.sh
linux6.5 64
关闭防火墙
chkconfig iptables off
立即生效
service iptables stop
安装宝塔
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh
宝塔安装Nginx1.14 php5.4 mysql5.6
设置数据库密码为123456
cd /
mysql -uroot -p123456
grant all privileges on *.* to 'root'@'%' identified by '123456';
create database mt3 DEFAULT CHARACTER SET utf8; 创建分区数据库
flush privileges; #
use mt3
导入数据库
source /mt3.sql (需要一个mt3.sql,mt3.sql上传根目录)
exit;
上传jdk-8u144-linux-x64.rpm到根目录
cd /
rpm -ivh jdk-8u144-linux-x64.rpm
上传服务端mt3.tar.gz到home目录
上传liblog4cpp.so.5到/usr/lib64
cd /home
tar xvfz mt3.tar.gz
chmod -R 7777 /home
网站:路径/wwwro
两个修改列表IP目录
wwwroot/mt3servers
wwwroot/server
列表IP:serverlist.html
{
"I": "1",
"D": "1101961001",
"A": "梦幻西游",
"N": "测试区",
"P": "106.53.77.88",
"T": "10003",
"S": "2",
"B": "1",
"C": "0",
"KS": "0000-00-00 00:00:00",
"NS": "-1"
}
数据库密码记修改:mt3token.php
本地验证数据库密码修改 “config.php”
启动命令:cd /home/mt3
./st.sh
linux6.5 64
关闭防火墙
chkconfig iptables off
立即生效
service iptables stop
安装宝塔
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh
宝塔安装Nginx1.14 php5.4 mysql5.6
设置数据库密码为123456
cd /
mysql -uroot -p123456
grant all privileges on *.* to 'root'@'%' identified by '123456';
create database mt3 DEFAULT CHARACTER SET utf8; 创建分区数据库
flush privileges; #
use mt3
导入数据库
source /mt3.sql (需要一个mt3.sql,mt3.sql上传根目录)
exit;
上传jdk-8u144-linux-x64.rpm到根目录
cd /
rpm -ivh jdk-8u144-linux-x64.rpm
上传服务端mt3.tar.gz到home目录
上传liblog4cpp.so.5到/usr/lib64
cd /home
tar xvfz mt3.tar.gz
chmod -R 7777 /home
网站:路径/wwwro
两个修改列表IP目录
wwwroot/mt3servers
wwwroot/server
列表IP:serverlist.html
{
"I": "1",
"D": "1101961001",
"A": "梦幻西游",
"N": "测试区",
"P": "106.53.77.88",
"T": "10003",
"S": "2",
"B": "1",
"C": "0",
"KS": "0000-00-00 00:00:00",
"NS": "-1"
}
数据库密码记修改:mt3token.php
本地验证数据库密码修改 “config.php”
启动命令:cd /home/mt3
./st.sh
|