Install redmine+subversion on Ubuntu Server 11.04

Source: Internet
Author: User
Tags redmine

Reference: Http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_Ubuntu

The installation assumes the Web server and database are already in place, so you probably want to install the LAMP s Tack-I-if you don ' t already have it:

$ sudo tasksel install Lamp-server

Also, the default AppArmor configuration can get at the way, so you could need to set the mysqld profiles to complain:

$ sudo aa-complain/usr/sbin/mysqld

As of 10.04, Redmine is available through Ubuntu ' s Package Manager, and installation are simple:

$ sudo apt-get install redmine redmine-mysql Subversion

The second package, Redmine-mysql, can be replaced by either Redmine-pgsql Orredmine-sqlite if your want to use either of t Hose databases.

The installation process should prompt you to the interesting details.

Redmine'll now is installed In/usr/share/redmine And/etc/redmine

Note:the package with the Ubuntu are stuck in the 0.9.x branch for now.

You'll also need to install the passenger Apache module.

$ sudo apt-get install Libapache2-mod-passenger

If you set your AppArmor mysqld profiles to complain your ought to set it back to enforce:

$ sudo aa-enforce/usr/sbin/mysqld Configuration

Symlink/usr/share/redmine/public to your desired web-accessible location. e.g.:

$ sudo ln-s/usr/share/redmine/public/var/www/redmine

By default, passenger runs as ' nobody ' and so you'll need to fix that. in/etc/apache2/mods-available/passenger.conf, add:

Passengerdefaultuser Www-data

' ll also need to configure The/var/www/redmine location In/etc/apache2/sites-available/default by adding: <directo Ry "/var/www/redmine" >
Railsbaseuri/redmine
Passengerresolvesymlinksindocumentroot on
</Directory>

Enable passenger:

$ sudo a2enmod passenger

Restart Apache2

$ sudo/etc/init.d/apache2 Restart

And you should is able to access Redmine At:http://redmine.server.ip.address/redmine

If you receive a "403:forbidden" error after setting up Redmine, the Redmine ' Public ' folder may have incorrect NS set. The executable bit on the public folder must is enabled or you'll receive a "403:forbidden" error when attempting to AC Cess Redmine.

$ sudo chmod a+x/usr/share/redmine/public

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.