Ubuntu System Configuration Apache+redmine

Source: Internet
Author: User
Tags redmine

Record the reason for the change

Recently, the Redmine service was architected on the intranet server with Redmine (/usr/bin/ruby/usr/share/redmine/script/rails server webrick-e production-d) But after operating a period of time to find the use of domain name access always appear redmine service for no reason stop, is through the domain name does not stop the Refresh Redmine page service will also crash. Finally, there's no way to replace Apache as a service.

Record the installation and configuration method

Apt-get Install Apache2

Apt-get Install Libapache2-mod-passenger

Apt-get Install Libapache2-mod-ruby//This can try not to install

To some Apache installation complete while Apache's mod extension is also installed


Modify/etc/apache2/ports.conf to change the port to 3000


Modify the/etc/apache2/sites-available/default file to add the following content

<virtualhost *:81>ache2/sites-available# Clear
ServerName localhost
Documentroot/var/www/redmine/public
<Directory/var/www/redmine/public>
Options includes execcgi followsymlinks
AddHandler cgi-script. cgi. pl
Order Allow,deny
Allow from all
</Directory>
Errorlog ${apache_log_dir}/error.log
LogLevel warn
Customlog ${apache_log_dir}/access.log combined
</VirtualHost>


Previously installed in the/usr/share/redmine modified into/var/www/redmin (directly copied) after the discovery Code_review can not use later back to <directory/usr/share/redmine/public >

Only so it is not used because the installation of Code_review when the/usr/share is installed in the path has been written to the database is the replacement location of the Code_review path in the database will not change

Reference article: http://blog.csdn.net/nightload/article/details/5284002

Ubuntu System Configuration Apache+redmine

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.