1. Install the database: execute the command yum -y install mysql-server and see the prompt
"Complete" means that mysql is installed successfully.
2. Start the database: After the installation is complete, execute the command service mysqld start , and see that Starting mysqld: is ok , which means that the mysql database is successfully started.
3. Log in to the database: mysql -u root -p Enter the password after pressing Enter (the default password of mysql 's default user root is empty)
4. Use the database: log in successfully and switch to the mysql database, enter use mysql
5. Create a new root user, and give this user permission to operate the database and all objects. The % in this authorization statement represents any host connected to the mysql server. In this case, there must be no problem with the navicat client. The authorization statement is:
grant all privileges on *.* to 'root'@'%' identified by '123456' vith grant option;
6. Refresh database permissions, Flush privileges;
7. Set up mysql to start automatically
Edit /etc/rc.local with vi
Add service mysqld start at the end of the file
8. Upload the ZenTao installation package to the /opt directory through xftp
To determine the version of the linux system, use the uname -a command, I am a 64 -bit system here
8. Enter the /opt directory to decompress the installation package
cd / opt
tar -xzvf ZenTaoPMS.7.3.stable.zbox_64.tar.gz.tgz
After decompression , there will be a zbox directory in the /opt directory
9. Go to the zbox directory and modify the configuration file
cd zbox
Modify the port in the app/zentao/config/my.php configuration file to 3307 ;
vi app/zentao/config/my.php
Modify the configuration file of vi etc/mysql/my.cnf and change the port to 3307 ;
10. Execute the startup file of Zen Tao
cd /opt/zbox
./zbox start
11. Hit the browser and enter your server address plus port 80 , and you can access it
ZenTao installation package:
Baidu network disk
https://pan.baidu.com/s/1pKDRKPHFnzVd9rLfgZ8ZBw
password:
tnvh