linux with a key installation package
Introduction : This article describes how to use the one-click installation package Zen Zen build the operating environment in linux below.
linux a key installation package built XXD , Apache, PHP, MySQL these applications, no need to install a separate deployment.
Version 7.3 from the start, linux a key installation package is divided into two 32-bit and 64-bit packets, please download the corresponding packet according to the situation of the operating system.
First, install
1 , the installation package to directly extract / opt directory
Special note: Do not extract it to another directory and then copied to the / opt /, because this will cause the owner to read and write and file permissions change, do not unpack the entire directory 777.
You can use the command: sudo tar -zxvf ZenTaoPMS.7.3.stable.zbox_32.tar.gz -C / opt
2 , the Apache and Mysql common commands
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.
Centos as follows
a, cd /etc/rc.d
b、vi rc.local
c, this command can be added to the list;
3 , access and login Zen
After starting the Apache and Mysql services,
Browser to directly access http: // Zen server ip: apache port to access and log on Zen.
Note: If you can not access the page, turn off the computer's firewall and selinux where Zen and then refresh the page to access a try.
Zen default administrator account is admin, password 123456.
After logging in, you can use the Zen project management functions. Specifically, please refer to our manual document directly.
4 , Other
You can use / opt / zbox / zbox -h command to get help on the 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 8080 -mp 3307
/opt/zbox/zbox start
Second, how to access the database
1 , page Log database
Zen database management using a adminer, but for safety, access adminer when the need for authentication, you need to add users to run /opt/zbox/auth/adduser.sh (first cd / opt / zbox / auth / then execute ./ adduser.sh).
How to operate : visit website http: // Zen services ip: apache port, click on the "Database Management" button to verify that there are two layers:
1 ) Input validation is run pop addusers.sh add a user name and password.
I added the user name is root, password is 123456. Then the authorization page in the user name and password to complete the root and 123456.
Note: Adding username and password here are customizable, you can add according to your habits.
What you add a user name and password to fill in anything.
2 ) Direct web page login screen displays:
System: the default selection MySQL.
Server: 127.0.0.1:mysql port (mysql port 3307 is enabled, then fill in 127.0.0.1:3307. 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.
Import data :
2 , connect to the database command
Log database: / opt / zbox / bin / mysql -u root -P mysql port -p (example: / opt / zbox / bin / mysql -u root -P 3306 -p)
Import database: / opt / zbox / bin / mysql -u root -P mysql -p port to import library name <XXXX.sql (example: / opt / zbox / bin / mysql -u root -P 3306 -p zentao < zentao.sql)