- 1 About ZenTao Max
- 1.1 About ZenTao Max
- 2 Installation
- 2.1 Choose the right installation
- 2.2 Windows
- 2.3 Linux
- 2.4 Source Code
- 2.5 Example: Source Code Installation
- 3 Upgrade
- 3.1 Choose the right upgrade
- 3.2 Source Code
- 3.3 Windows one-click package
- 3.4 Linux one-click package
- 4 Concept
- 5 Navigation Bar
- 6 Access Control
- 7 Changelog
One-click installation package for Linux has built-in Apache, Php, MySQL. All you need to do is to unzip it and install. Both 32 bit and 64-bit packages are available.
You can download ZenTao Max HERE.
1.1 Unzip to /opt.
Do NOT unzip to other directory then copy it to /opt, as the owner and read/write privilege of the files might be changed.You can use tar -zxvf ZenTaoPMS.X.X.stable.zbox_XX.tar.gz -C /opt
- Start Apache and MySQL: /opt/zbox/zbox start
- Stop Apache and MySQL: /opt/zbox/zbox stop
- Restart Apache and MySQL: /opt/zbox/zbox restart
If you need to start automatically after booting, you can add /opt/zbox/zbox restart to the self-start directory of the operating system.
1.3 Start Apache and MySQL and visit http:// IP_of_ZenTao_Server: Apache_port ( Default account is admin，and its password 123456) in your browser.
If the webpage cannot be accessed, turn off the firewall and selinux of the computer that ZenTao is installed, and then refresh the webpage. (Open the apache port in the security group when using the cloud server)
/opt/zbox/zbox -h to get the zbox command help.
-ap is to modify the port of Apache, and -mp is to modify the port of MySQL.
For example, change Apache port 8080, and MySQL port to 3307. Enter
/opt/zbox/zbox stop /opt/zbox/zbox -ap 8080 -mp 3307 /opt/zbox/zbox start
2. Visit the database
2.1 Login the database in a browser
ZenTao Max database is administered by Adminer. For security reasons, user authentication is required when visiting he Adminer. Run /opt/zbox/auth/adduser.sh to add a user. (First cd /opt/zbox/auth/ and then execute ./adduser.sh).
Steps: Visit http:// IP_of_ZenTao_Server: Apache_port and click "Database".
- Enter the account and password of the user added by running addusers.sh in the popout. The user added in the screenshot above is root and its password is 123456. Username and password is for you to define.
- The login page is displayed in the browser.
System: MySQL by default.
Server : 127.0.0.1: MySQL Port (For example, 127.0.0.1:3306)
User: root (by default)
Password: 123456 (by default)
- Import the data
2.2 Use command line to connect to the database
Log in the database : /opt/zbox/bin/mysql -u root -P MySQL Port -p
For example, /opt/zbox/bin/mysql -u root -P 3306 -p
Import to the database : /opt/zbox/bin/mysql -u root -P MySQL Port -p LIB NAME IMPORTED < XXXX.sql
For example, /opt/zbox/bin/mysql -u root -P 3306 -p zentao < zentao.sql
3. PHP parse is forbidden in one-click installation package
The security of one-click installation package has been upgraded. If you want to install Zsite (CMS), Zdoo (collaborative system), or third-party systems, you have to change accordingly in /opt/zbox/etc/apache/httpd.conf
Change SetHandler text/plain all in the directory of /opt/zbox/etc/apache/httpd.conf to SetHandler application/x-httpd-php and restart Apache.