Installation

2019-03-18 15:54:44
Renee
267
Last edited by Renee on 2019-03-25 14:37:25

1. ZenTao Group Runtime

1.1 Runtime Environment

Currently, ZenTao Group is for Ubuntu16.04 and Apache ONLY. For other runtimes, please register our website or follow us on social media to the dynamic.


1.2 Domain

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.


1.3 Install Apache

Use the command line to install

sudo apt-get install apache2


Restart Apache

sudo service apache2 restart


Start Apache

sudo service apache2 start


Stop Apache

sudo service apache2 stop


Check whether Apache is installed. Enter  http://localhost or http://127.0.0.1, if you see "It works!" which means Apache is installed.


After Apache is installed, a /www directory will be automatically created under /var. It is the web directory, and any files that will be accessed via Browser will be saved here.


1.4 Install PHP 

Enter command lines to install.

sudo apt-get install php7.0


Enter php -v to check whether it is installed.


Install a PHP file that can be read in Apache.

sudo apt-get install libapache2-mod-php7.0


Check whether a PHP file can be interpreted in Apache.

sudo apt-get install libapache2-mod-php7.0


Switch to Apache directory.

cd /var/www/html 


Create a file

sudo vim test.php


The content of the file is

<?php phpinfo(); ?>


Save the file and visit  http://localhost/test.php in your browser. If everything works fine, you should see the information of PHP.


1.5 Install MySQL

Enter the command line to install MySQL.

sudo apt-get install mysql-server


Set the username and password. If notified as dependency problems, enter

sudo apt-get install -f


Manage MySQL.

# Start
sudo service mysql start
# Stop
sudo service mysql stop
# Status
sudo service mysql status
# Connect to MySQL
mysql -h 127.0.0.1 -P 3306 -uroot -p123456
#-h is the remote IP, -P is the port number, -u is the username, -p is the password.
# Test MySQL
show databases;


1.6 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.



2. Download

2.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 renee@easysoft.ltd.


2.2 Unzip the file and get zentaogroup. Copy zentaogroup to the directory of your server, e.g. www or htdocs of Apache.


2.3 Visit  http://YOUR DOMAIN/zentaogroup/plat/www/index.php and the installation will be started automatically.


3. Installation

ZenTao Group Platform domian is  plat.zentao.com  and site domain is *.zentao.com. This is an example.


Visit http://plat.zentao.com/zentaogroup/plat/www/index.php in your browser and start the installation. 

3.1 Confirm that your are installing ZenTao Group version.


3.2 Agree to our ZPL.


3.3 System Checkup.

If failed, follow the instructions.


For actions, copy the command line to the server and run it. 


For extension loading, install the extension on the server.



  • Install pdo_mysql 


sudo apt install php7.0-mysql



  • Edit configuration file


// Run the command lines one by one
cd  /etc/php/7.0/cli    // Enter the configuration directory (PHP 7.0 here for example)
sudo vim php.ini        //vim open the configuration file
                        // Enter root username and password
/pdo                    // Search and enter
                        // Press i and enter vim mode
extension=php_pdo_mysql.dll  // Remove ; before extensions
                        //Press shift + :  to quit editing, and enter wq



  • Install mbstringl


sudo apt-get install php-mbstring



  • Install curll


sudo apt-get install curl libcurl3 libcurl3-dev php7.0-curl


Adter installing the extension,


3.4 Generate configuration files which are for the server and the database. The default database library name is zentao_plat.


3.5 Save the configuration file to zentaogroup/plat/config/my.php


3.6 Set company name, admin account and password.


3.7 Set up the directory of ZenTao Group. If directories are not created or no privileges, follow the instructions. 


3.8 Download Apache config and Cron config to designated directories. If not, go to Admin->System to download the configuration as Super Admin.


3.9 If you see the screenshot below, you have installed ZenTao Group.


3.10 Login ZenTao Group with the admin account and password you set up earlier.


3.11 The screenshot of ZenTao Group Plat. Enjoy!



Write a Comment
Comment will be posted once reviewed.
  • Contact Us

  • About Us
  • Email : Philip@easysoft.ltd
  • WhatsApp : 0086 18563953295
  • Skype : philip517