linux- deployment of Zen

First, the Zen deployed to the server

1, download Zen Linux is a key installation package (version to choose the right)
A key installation package comes with the Apache and mysql, if the server is installed you need to uninstall
2, the installation package using xftp uploaded to the / opt directory:
  ① into the root directory: CD /
  ② lists the file name (found / opt directory under the root directory): LS
  ③ into the directory / opt: CD / opt
  ④ installation package upload the / opt directory:
  Here Insert Picture Description
3, extract the installation package: tar zxvf compressed file (ZenTaoPMS.9.8.1.zbox_64.tar.gz)
. 4, start Apache and Mysql services (if ports are in use, can modify the port see 8): / opt / zbox / zbox start
  Note:
    execute / opt / zbox / zbox start command to turn on Apache and Mysql.
    Execute / opt / zbox / zbox stop command to stop Apache and Mysql.
    Execute / opt / zbox / zbox restart command to restart Apache and Mysql.
    Note: If you need to boot automatically, you can put / opt / zbox / zbox restart added to the operating system from the start directory.
    Here Insert Picture Description
5, access and login Zen:
    browser directly to http: // Zen server ip: apache port to access and log in Zen
    Zen default administrator account is admin, password 123456.
 If you can not access port may not be turned on
centos7 firewall Firewall changed, using iptables no effect, open ports as follows:
Firewall-cmd = --zone public --add-Port = 80 / TCP --permanent
returns success to the success of
Here Insert Picture Description
the command meanings:
-zone # scope
-add-port = 80 / tcp # Add port, the format is: port / protocol
-permanent # permanent
restart the firewall:
systemctl restart firewalld.service
then you can visit the
Here Insert Picture Description
6 other
  can use the / opt / zbox / zbox -h command to get help on zbox command.
  Wherein -ap parameter to modify the Apache port, -mp Mysql parameter to modify the port.
  For example (Apache port to 8080, mysql port to 3307): /
    opt / ZBOX / ZBOX STOP
    / opt / ZBOX / ZBOX -ap 3307 8080 -mp
    / opt / ZBOX / ZBOX Start

Second, how to access the database

1, users add
  a, cd / opt / zbox / auth / enter / opt / zbox / auth / directory
  b, / adduser.sh performed ./adduser.sh.
  C, according to the prompt, the user name and password
  Here Insert Picture Description
    NOTE: Database Zen management using a adminer, but for safety, access adminer when the need for authentication, you need to run /opt/zbox/auth/adduser.sh to add users;
    user name I add is root, password is 123456, where you can feel free to add your own .
2, web access http: // ip Zen services: apache port, click on the "Database Management"
Here Insert Picture Description
username and password 3. Enter just added
Here Insert Picture Description
4 log database
  system: the default selection MySQL.
  Server: 127.0.0.1: mysql port (mysql port 3306 is enabled, then fill in 127.0.0.1:3306 Note:. Ip can only write 127.0.0.1)
  Username: root (Zen default database user name is root)
  password: 123456 (Zen default database password is 123456)
  database: zentao
  Here Insert Picture Description

If you add the end user in a web administrator account using the login prompt does not have permission
The reason
is because when you add a user, group project is not required, but users need to add another home access, so add the user logs in, you will be prompted no access.
Resolve
login admin account, enter the organization, after the user does not have access to delete, and then add a user. Then log in with the new user.
Add User:
organization - "Users -" Add User "in addition must be filled in, and the group must fill positions -" to save.

Modify the company name
Here Insert Picture Description

Published 44 original articles · won praise 1 · views 1445

Guess you like

Origin blog.csdn.net/cc_park/article/details/104166181