One-click Installation for Linux
- 2018-08-01 13:29:00
- azalea
- 28753
- Last edited by Hongyan on 2021-12-29 09:08:55
- Share links
One-click Installation Package for Linux has built-in Apache, PHP, MySQL. All you need to do is to unzip it. ZenTao has 32-bit and 64-bit packages. Please choose one that fits your OS.
1. Installation
The download address of Zentao: http://www.zentao.net/download.html
1.1 Unzip to /opt.
Do NOT unzip to other directories then copy it to /opt, as the owner and read/write privilege of the files might be changed.
Neither do NOT use the 777 permissions after unzipping the entire directory.
Unzip it directly to /opt.
You can use the command: tar -zxvf ZenTaoALM.X.X.stable.zbox_XX.tar.gz -C /opt.
1.2 Start/Stop Apache and MySQL
Start : /opt/zbox/zbox start
Stop : /opt/zbox/zbox start
Restart: /opt/zbox/zbox restart
Note: If you want to start automatically after booting, you can add /opt/zbox/zbox restart to the self-start directory of the OS.
1.3 Login ZenTao
Visit http://IP_of_ZenTao_Server: apache_port(default account is admin, password 123456) in your browser.
Notice: If the webpage cannot be accessed, please turn off the firewall and selinux of the computer where ZenTao is located, and then refresh the webpage to try it again. (Please open apache port in the security group when using cloud server)
1.4 Config Server (optional)
Change Apache Port: /opt/zbox/zbox -ap portNumber
Change Mysql Port: /opt/zbox/zbox -mp portNumber
Start with ports config: /opt/zbox/zbox start -mp mp -ap ap
Stop : /opt/zbox/zbox stop
Restart: /opt/zbox/zbox restart
Get Help: /opt/zbox/zbox -h
2. Reuse your Apache and MySQL (optional)
For ZenTao 9.2.stable+, the security of Linux one-click installation package has been improved that PHP parse is forbidden. If you want to install Zdoo (our collaborative system) , Zsite (our CMS) , Xuanxuan(our IM) or other third-party software, you have to change the file /opt/zbox/etc/apache/httpd.conf
Modify SetHandler text/plain to SetHandler application/x-httpd-php then restart Apache.
3. Visit ZenTao database(optional)
3.1 Web
3.1.1 ZenTao database is managed by Adminer. For security reasons, account authentication is required when login.
Run /opt/zbox/auth/adduser.sh to add one account.
3.1.2 Visit http://IP_of_ZenTao_Server: apache_port, and click "MySQL" at the right bottom of the Page. In the popout window type your account that you added in addusers.sh .
3.1.3 Login the database
- System: MySQL is selected by default.
- Server: 127.0.0.1:MySQL_port. For example, 127.0.0.1:3306. Please be noticed that the IP can only be 127.0.0.1
- Username: zentao. The default username is zentao.(if you changed, you could find it in /opt/zbox/app/zentao/config/db.php)
- Password: 123456. The default password is 123456.(also in db.php)
- Database: zentao.(also in db.php)
3.2 Command line
Login database: /opt/zbox/bin/mysql -u root -P mysql_
port -p . For example, /opt/zbox/bin/mysql -u root -P 3306 -p.
Import database: /opt/zbox/bin/mysql -u root -P msyql_ port -p DATABASE NAME < XXXX.sql. For example, /opt/zbox/bin/mysql -u root -P 3306 -p zentao < zentao.sql.
4. View the PHP version of the one-click installation package
Please use the following command to confirm the PHP version used by the ZenTao one-click installation package.
/opt/zbox/bin/php -v
Support
- Book a Demo
- Tech Forum
- GitHub
- SourceForge
About Us
- Company
- Privacy Policy
- Term of Use
- Blogs
- Partners
Contact Us
- Leave a Message
- Email Us: support@zentaoalm.com