================================
©Copyright Sweet Potato Yao 2022-01-14
Sweet Potato Yao's Blog - CSDN Blog
1. Zen Tao download
Zen Tao Linux 16.1 64-bit version download address:
https://www.zentao.net/dl/zentao/16.1/ZenTaoPMS.16.1.zbox_64.tar.gz
Please download other versions from the official website:
https://www.zentao.net/dynamic/zentaopms16.1-80454.html
Official website installation tutorial:
https://www.zentao.net/book/zentaopmshelp/40.html
2. Installation of Zen Tao on Centos7
ZenTao must be installed in the /opt directory
Special note: Do not decompress to another directory and then copy it to /opt/, because this will change the owner and read and write permissions of the file, and do not change the permissions of the entire directory to 777 after decompression.
1. Unzip the installation
sudo tar -zxvf ZenTaoPMS.16.0.zbox_64.tar.gz -C /opt
2. Modify the port
In order not to affect the locally installed mysql and apache services, you need to modify the default port number of ZenTao:
among them:
-ap: you can modify the port of Apache,
-mp: you can modify the port of Mysql.
For example: apache port is changed to 9100, mysql port is changed to 3132:
Stop Zen Tao (if already started, stop first)
/opt/zbox/zbox stop
modify port
sudo /opt/zbox/zbox -ap 9100 -mp 3132
3. Open ports
sudo firewall-cmd --permanent --zone=public --add-port=9100/tcp
sudo firewall-cmd --permanent --zone=public --add-port=3132/tcp
Make the port valid:
sudo firewall-cmd --reload
View all open ports on the firewall
sudo firewall-cmd --zone=public --list-ports
Other commands:
查看防火墙状态:
firewall-cmd --state
关闭防火墙
systemctl stop firewalld.service
禁止防火墙开机启动
systemctl disable firewalld.service
3. Start of the Zen Way
Zen Tao startup, that is, start Apache and Mysql
开启Apache和Mysql
sudo /opt/zbox/zbox start
停止Apache和Mysql
sudo /opt/zbox/zbox stop
重启Apache和Mysql
sudo /opt/zbox/zbox restart
4. Set account and password for ZenTao database
ZenTao database management uses adminer, but for security, authentication is required when accessing adminer, you need to run /opt/zbox/auth/adduser.sh to add users (first cd /opt/zbox/auth/ and then execute ./ adduser.sh).
cd /opt/zbox/auth/
./adduser.sh
Set the account and password, such as:
Account
: rootPassword: root123
Five, Zen Tao configuration database connection
Web page access http://ZenTao service ip:apache port
http://192.168.1.10:9100
Click [Database Management]
Configuration information:
System: MySQL is selected by default.
server: 127.0.0.1: mysql port
(The mysql port is enabled on 3307, then fill in 127.0.0.1:3307. Note: ip can only write 127.0.0.1 )
E.g:
127.0.0.1:3132
Username (Zen Tao's default database username is root):
root
Password (Zen Tao's default database password is 123456, fill in your own modified password):
root123
Database name: (name cannot be modified)
zentao
6. Zen Tao login
Open the link address:
http://192.168.1.10:9100
Click [Open Source Edition] to log in to ZenTao
username:
admin
password:
123456
After successful login, the system asks to change the default password
(Time is precious, sharing is not easy, donate and give back, ^_^)
================================
©Copyright Sweet Potato Yao 2022-01-14