Quick deployment guide for Redmine and Zentao on the same machine, redminezentao deployment

Source: Internet
Author: User
Tags redmine

Quick deployment guide for Redmine and Zentao on the same machine, redminezentao deployment
Quick deployment guide for Redmine and Zentao on the same machine 1. Environment

System: CentOS 7x64
Software: Redmine 3.0, Zentao 7.2 Source

Redmine 3.0 is first installed, directory/opt/redmine, access address http: // 127.0.0.1/redmine
Zentao 7.2 is installed later. The target access address is http: // 127.0.0.1/zentao.

2. Known

Both Redmine and zentao depend on apache mysql,
The listener port for apache is 80 8080.
Ssl listening port 443
Mysql listening port 3306

3. Solution

Solution 1
One-click installation package using zentao 6.2 Linux
The installation process is relatively smooth. The problem lies in running, and the prompt is that apache mysql is already running,
Therefore, discard this solution.

Solution 2
Install with zentao 7.2 source code
First, sort out the directory structure of bitnami-redmine,

/Opt/redmine/apache2/conf # Here is the configuration file/opt/redmine/apps # Here is the application directory, redmine is in it, we will also put zentao in it

The inclusion relationship of the apache configuration file is as follows:

/opt/redmine/apache2/conf/httpd.conf  /opt/redmine/apache2/conf/bitnami/bitnami.conf  /opt/redmine/apache2/conf/bitnami/bitnami-apps-prefix.conf  /opt/redmine/apps/redmine/conf/httpd-app.conf  
4. Procedure

Decompress Zentao
Copy the extracted zentao to/opt/redmine/apps/zentao

Modify configuration file
/Opt/redmine/apache2/conf/bitnami/bitnami-apps-prefix.conf File Modified

Alias /redmine/ "/opt/redmine/apps/redmine/htdocs/public/"Alias /redmine "/opt/redmine/apps/redmine/htdocs/public"## add zentao dir ##Alias /zentao/ "/opt/redmine/apps/zentaopms/www/"Alias /zentao "/opt/redmine/apps/zentaopms/www"Include "/opt/redmine/apps/redmine/conf/httpd-app.conf"

/Opt/redmine/apps/redmine/conf/httpd-app.conf File Modified

<Directory "/opt/redmine-3.0.3-0/apps/redmine/htdocs/public">    Options -MultiViews    AllowOverride All    <IfVersion < 2.3 >        Order allow,deny        Allow from all    </IfVersion>    <IfVersion >= 2.3>        Require all granted    </IfVersion>    PassengerEnabled on    SetEnv RAILS_RELATIVE_URL_ROOT "/redmine"    PassengerAppRoot "/opt/redmine-3.0.3-0/apps/redmine/htdocs/"    <IfModule pagespeed_module>        ModPagespeedDisallow "*"    </IfModule></Directory>## add zentao dir ##<Directory "/opt/redmine-3.0.3-0/apps/zentaopms/www">    Options -MultiViews    AllowOverride All    <IfVersion < 2.3 >        Order allow,deny        Allow from all    </IfVersion>    <IfVersion >= 2.3>        Require all granted    </IfVersion>    PassengerEnabled on    SetEnv RAILS_RELATIVE_URL_ROOT "/zentao"    PassengerAppRoot "/opt/redmine-3.0.3-0/apps/zentaopms/"    <IfModule pagespeed_module>        ModPagespeedDisallow "*"    </IfModule></Directory>PassengerPreStart http://127.0.0.1:80/redmine

Restart redmine

/opt/redmine/ctlscript.sh restart

Configure zentao
Refer to the official installation process of zentao,
Address: http://www.zentao.net/book/zentaopmshelp/101.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.