1. Open source version of the installation package download (64-bit download 64-bit, 32-bit check 32-bit)
[Email protected]~]# wget http://dl.cnezsoft.com/zentao/9.0.1/ZenTaoPMS.9.0.1.zbox_32.tar.gz
2. Unzip the installation package directly into the/OPT directory
[Email protected]~]# tar-zxvf zentaopms.9.0.1.zbox_32.tar.gz-c/opt
Modify Zen path with Apache, MySQL Port
In order not to occupy the default 80, 3306 port on the server, we modify the Apache, MySQL port that comes with Zen Lane
Modify Zen Lane's own Apache port:
[[Email protected]]#/opt/zbox/zbox-ap 7000
Modify the Zen path to bring your own MySQL port:
[Email protected]] #/OPT/ZBOX/ZBOX-MP 7001
4. Restart Zen Road Service
[[Email protected]~]#/opt/zbox/zbox Start
Apacheis Running
Mysqlis Running
Execute the/opt/zbox/zbox start command to open Apache and MySQL.
Execute the/opt/zbox/zbox stop command to stop Apache and MySQL.
Execute the/opt/zbox/zbox restart command to restart Apache and MySQL.
5. Create a Database account
[[Email protected]]#/opt/zbox/auth/adduser.sh
Thistool is used to add user to access Adminer
Account:adminer
Note: The user name of the database: root, the password is empty. Database management is Adminer, but for security purposes, authentication is required to access Adminer, and you need to run a script to add an account
Command line Login Zen path comes with MySQL database:
Opt/zbox/bin/mysql-u root-p 3306-p
To import the data backed up by the row:
/opt/zbox/bin/mysql-u root-p 3306-p Zentaopro < Zentao.sql
If it is the first time to install "Zen Road", this is skipped, if you have already installed "Zen Road", you want to import the previous data, you can import the backup of the Zentao.sql file;
6. Configure Iptables firewall rules to allow port access
[Email protected]] #iptables-A input-p TCP--dport 7000-j ACCEPT
[[email protected]] #iptables-A input-p TCP--dport 7001-j ACCEPT
Restart the firewall for the rule to take effect:
[[email protected]] #service iptables Save
[[email protected]] #service iptables restart
7. Browser Access
http://IP:7000
Build Zen paths with Linux