1. Download XAMPP Kit: Https://sourceforge.net/projects/xampp/files/XAMPP%20Linux/stats/timeline The downloaded file is Xampp-linux-x64-7.0.6-0-installer.run
2, implementation./xampp-linux-x64-7.0.6-0-installer.run
3. Starting/OPT/LAMPP/LAMPP Start
4, Download Zen Road Zentaopms.8.0.stable.zip, unzip, put Zentaopms into/opt/lampp/htdocs directory:/opt/lampp/htdocs/zentaopms
5, open the installation page: http://IP/zentaopms/www/install.php. Installation log in:/opt/lampp/htdocs/zentaopms/tmp/log.
6. After the installation is complete, visit: http://IP:PORT/zentaopms/www/index.php
7. Modify the port and file directory of Zen Channel access: vi/opt/lampp/etc/httpd.conf
Listen 9011
DocumentRoot "/mnt/software"
<directory "/mnt/software" >
Note:
1, page white screen, log error:
17:24:48 Undefined property:config:: $debug in/opt/lampp/htdocs/zentaopms/module/common/view/header.lite.html.php On line when visiting/zentaopms/www/install.php
17:25:02 uncaught pdoexception:sqlstate[08s01]: Communication link failure:1153 Got a packet bigger than ' MAX_ALLOWED_PA Cket ' bytes in/opt/lampp/htdocs/zentaopms/module/install/model.php:379
Workaround:
Connect MySQL, execute: set global net_buffer_length=1000000; Set global max_allowed_packet=1000000000;
mysql> set global net_buffer_length=1000000;
Query OK, 0 rows affected, 2 warnings (0.00 sec)
mysql> set global max_allowed_packet=1000000000;
Query OK, 0 rows affected, 1 Warning (0.00 sec)
2, modify the CentOS firewall configuration, open 9011 port:
Vi/etc/sysconfig/iptables
[[email protected] etc]# more/etc/sysconfig/iptables
# Firewall configuration written by System-config-securitylevel
# Manual Customization of this file are not recommended.
*filter
: INPUT DROP [0:0]
: FORWARD accept [0:0]
: OUTPUT accept [0:0]
: Syn-flood-[0:0]
-a input-i lo-j a Ccept
-a input-m state--state related,established-j ACCEPT
-a input-p tcp-m state--state new-m TCP--dport 22 -j Accept
-a input-p tcp-m state--state new-m TCP--dport 9011-j ACCEPT
-a input-p tcp-m state--state NEW- M TCP--dport 21-j accept
-a input-p icmp-m limit--limit 100/sec--limit-burst 100-j Accept
-a input-p icmp-m Limit--limit 1/s--limit-burst 10-j ACCEPT
-a input-p tcp-m tcp--tcp-flags fin,syn,rst,ack syn-j syn-flood
-A Input-j REJECT--reject-with icmp-host-prohibited
-A syn-flood-p tcp-m limit--limit 3/sec--limit-burst 6-j RETUR N
-A syn-flood-j REJECT--reject-with icmp-port-unreachable
COMMIT
Steps to install Zen trails on CentOS