- 1 About ZenTao Group
- 2 Installation
- 3 User and Privilege
- 4 Supplier
- 5 Project
- 6 Admin
ZenTao Group 1.1+ supports Centos 7+ and Apache 2.4+.
1. The Runtime for ZenTao Group
1.1 ZenTao Group 1.0 only supports Ubuntu 16.04. ZenTao Group 1.1+ supports Centos 7+ and Apache 2.4+.
1.2 ZenTao Group consists of Platform and Site. You have to do domain name resolution for both of them to the IP of ZenTao Group server.
2. Configure Centos
2.1 Install Apache
yum install httpd
Set auto start and restart Apache
systemctl enable httpd systemctl restart httpd
2.2 Install MySQL. For Centos, install mariadb.
yum install mariadb-server
systemctl start mariadb
Check whether mariadb is installed.
mysql -uroot -p
If you can access it, that means it is installed.
Set auto start for mariadb.
systemctl enable mariadb
2.3 Install PHP
Take PHP7.1 as an example.
Get the installation package.
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum install -y php71w php71w-cli php71w-common php71w-devel php71w-gd php71w-pdo php71w-mysql php71w-mbstring php71w-bcmath php71w-ldap php71w-ssl
After the installation, restart Apache.
systemctl restart httpd
3. Install ionCube.
Visit ZenTao Group, and you will be asked to install ionCube.
It is suggested that you install Ioncube using the wizard which can be downloaded here http://www.ioncube.com/loader-wizard/loader-wizard.zip
Unzip it and save it to www, e.g. /var/www/html. Visit loader-wizard.php in your browser, e.g. http://localhost/loader-wizard.php and follow the instructions below.
4. Download ZenTao Group and Configure Domains
4.1 Download source code package from https://www.zentao.pm/download.html.
The package is a .zip file and the number of user for Platform is unlimited with 2 sites ( each site has 10 developer users and 20 non-developer users). For more users, contact firstname.lastname@example.org.
4.2 Unzip the file and get zentaogroup. Copy zentaogroup to the directory of your server, e.g. www or htdocs of Apache, e.g. /var/www/html.
4.3 Parse the domains and visit it. The installation will be automatically started.
Go to the directory which is to save the configuration of Apache, e.g. /etc/httpd/conf.d/, and created the configuration file for the domain, e.g. 00-group.conf. Enter the code as shown below.
<VirtualHost *:80> DocumentRoot "/var/www/html/zentaogroup/plat/www/" ServerName zentao.plat.com <Directory "/var/www/html/zentaogroup/plat/www/"> AllowOverride All Options None Require all granted </Directory> </VirtualHost>
Make sure this file is loaded first by naming it with the initial listed before zentaogroup.conf.
systemctl restart httpd
Visit the domain and the installation will be started.
4.4 Change the access control of apached
Go to /etc/httpd/conf/ and edit httpd.conf as shown below.
4.5 If it is not responding, turn off the firewall and try again.
Turn off the firewall.
firewall-cmd --zone=public --add-port=80/tcp --permanent
Restart the firewall.
systemctl restart firewalld
Take zentao.plat.com as an example.
Visit http://zentao.plat.com/install.php and start the installation.
5.1 The landing page of ZenTao Group installation.
5.2 Agree to ZPL drafted by Nature Easy Soft.
5.3 Follow the instructions to check the system.
You have to add macro of Apache manually. Go to /etc/httpd/conf.modules.d/, add macro, and save. Restart Apache.
#vim /etc/httpd/conf.modules.d/00-base.conf and add LoadModule macro_module modules/mod_macro.so #Restart Apache systemctl restart httpd
If it still says that failed in the system checkup, try to close selinx.
Temporarily shut down selinx and you do not have to restart Apache.
If you want to permanently close it, go to /etc/selinux/config and change SELINUX=enforcing to SELINUX=disabled. Then restart Apache.
The system checkup should be alright now.
5.4 Create the configuration file.
5.5 Save the file.
5.6 Set the username and the password for the administrator.
5.7 Configure the system directories for ZenTao Group.
5.8 Download the configuration file and set the cron.
After you download the configuration file of Apache, save it as instructed. Then restart Apache.
Make sure the configuration file you write will be listed before zentaogroup.conf in a folder, so it will be loaded first.
If you see the page below, it means you have installed ZenTao Group.