linux7.2 64
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh
宝塔安装ngx1.14 mysql5.6 php5.6
安装java
数据库设置密码为:www.GMzhan.cn
systemctl stop firewalld.service
systemctl disable firewalld.service
mysql -uroot -pwww.gmzhan.cn
grant all privileges on *.* to 'root'@'%' identified by 'www.gmzhan.cn';
导入数据库
上传服务端解压
服务端修改: 把下面文件的127.0.0.1改成服务器ip
\data\script\config\mould_log2db_logger.xml
\data\script\config\mould_report_logger.xml
\data\script\minion\restart_tomcat
\data\script\minion\update_tomcatapp
\data\www\gmtools\compoment\js\i18n\code_i18n.js
\data\www\gmtools\page\auth\session\session_list.html
\data\www\log2db\log2db\config\logger-config-info.xml
<redis>
<entry type="1" ip="127.0.0.1" port="6379" index="2" />
\data\www\pay\hch5_charge\WEB-INF\classes\ip_white_list.properties
\data\www\report\report\config\logger-config-info.xml
<redis>
<entry type="1" ip="127.0.0.1" port="6379" index="2" />
</redis>
创建网站80 指定 data/www
chmod -R 777 /data/
chmod -R 777 /www/
启动:
cd /data/script
./stat |