Install Zen Tao under linux

1.  Install the database: execute the command yum -y install mysql-server and see the prompt

"Complete" means that mysql is installed successfully.

 01.png

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.

01.png

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)

01.png

 4.  Use the database: log in successfully and switch to the mysql database, enter use mysql

01.png

 

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;


01.png 

6.  Refresh database permissions, Flush privileges;

 01.png


7.  Set up mysql to start automatically

Edit /etc/rc.local with vi

01.png

Add service mysqld start at the end of the file

01.png 

8. Upload the ZenTao installation package to the /opt directory through xftp

01.png 

 

To determine the version of the linux system, use the uname -a command, I am a 64 -bit system here

01.png 

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

01.png


Modify the configuration file of vi etc/mysql/my.cnf and change the port to 3307 ;

01.png 

 

10.  Execute the startup file of Zen Tao

cd /opt/zbox

./zbox start

 01.png

 

11.  Hit the browser and enter your server address plus port 80 , and you can access it

  

01.png


01.png


ZenTao installation package:

Baidu network disk

https://pan.baidu.com/s/1pKDRKPHFnzVd9rLfgZ8ZBw

password:

tnvh

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325180117&siteId=291194637