Omnipresent IT Solutions Pvt Ltd

Saturday, February 2, 2013

Installing the latest Redmine in Ubuntu 12.04


Installing the latest Redmine in Ubuntu 12.04


Installation


$sudo apt-get install tasksel
$sudo tasksel install lamp-server
$sudo add-apt-repository ppa:ondrej/redmine
$sudo apt-get update
$sudo apt-get install redmine redmine-mysql

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', so you'll need to fix that. In /etc/apache2/mods-available/passenger.conf, add:

PassengerDefaultUser www-data

You'll also need to configure the /var/www/redmine location in /etc/apache2/sites-available/default by adding:

RailsBaseURI /redmine
PassengerResolveSymlinksInDocumentRoot on


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

Enable passenger:

    $ sudo a2enmod passenger

Restart apache2

    $ sudo service apache2 restart

Accesible at
http://localhost/redmine