Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Install Zen Road under linux

Shulou Source: shulou.com Published: 2022-06-03 05:12:41 11月18日 Update

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

"Complete" means that mysql is installed successfully.

two。 Start the database: after the installation, execute the command service mysqld start, and see that Starting mysqld: is ok, which means that the mysql database has been started successfully.

3. Log in to the database: enter the password after mysql-u root-p enter (the default password for the mysql user root is empty)

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

5. Create a new root user and give this user permission to operate the database and all objects. The% of this authorization statement represents that any host is connected to the mysql server. In this case, there will be no problem with the navicat client. The authorization statement is as follows:

Grant all privileges on *. * to 'root'@'%' identified by' 123456 'vith grant option

6. Refresh database permissions, Flush privileges

7. Set mysql Boot self-boot

Edit / etc/rc.local using vi

Add service mysqld start at the end of the file

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

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

8. Go to the / opt directory to extract 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 to change port to 3307

10. Execute the startup file of Zen Tao

Cd / opt/zbox

. / zbox start

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

Zen installation package:

Baidu Netdisk

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

Password:

Tnvh

Tags: Data database file directory success representative command password user input configuration server permissions system statement authorization service login so that the host Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Xiaomi Microsoft Shulou Technology MariaDB