Ubuntu

2000-03-10 21:50:00
John Ten
2391
Final Edition:tengfei De 2019-09-11 13:21:39

1. The Runtime for ZenTao Group 


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.



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 your 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 ZenTao Group

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.

Create a configuration file and its content as shown below.

<VirtualHost *:80> 
DocumentRoot /var/www/html/zentaogroup/plat/www 
ServerName plat.zentao.com  
<Directory /var/www/html/zentaogroup/plat/www> 
   AllowOverride all    
   Require all granted 
 </Directory> 
ErrorLog ${APACHE_LOG_DIR}/error.log 
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Note: If you use the internal server of a virtual host, make sure that the ports are the same.



Enter the domain in your browser and check whether it is configured.


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


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

3.2 Agree to our ZPL.
SCREENSHOT

3.3 System Checkup.

If failed, follow the instructions.
SCREENSHOT

Copy the command line as instructed to the server and run it. 

For extension loading, install the extension on the server.

Install SVN  extension



.sudo apt-get install subversion libapache2-svn


Install  pdo_mysql  extension.
sudo apt install php-mysql


Install mbstring  extension.

sudo apt-get install php-mbstring


Install curl  extension.


sudo apt-get install curl libcurl3 php-curl


Install Apache extension. Copy the command lines as instruction on the web page and run it. After it is installed, restart Apach, and continue with the System Checkup.


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

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

3.6 Set company name, admin account and password.
SCREENSHOT

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

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

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

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

3.11 The homepageof ZenTao Group Plat. Enjoy!
SCREENSHOT



Commenter
Commentaires reçus après vérification。