Pages

Sunday, October 10, 2010

Installing Redmine on Ubuntu 10.04 amd64

Apache with mod_passenger is already installed with the generic Ubuntu install.

sudo apt-get install libapache2-mod-passenger

Make sure that mysql is installed and running
sudo apt-get install mysql-client mysql server

I choose to not set my mysql root password.  A curses form came up three times asking my to confirm my root password, but it finished normally and respected my request of no password.

Install redmine
sudo apt-get install redmine redmine-mysql

Curses form 1 - configure dbconfig-common
YES

Curses form 2 - database type
MYSQL

Curses form 3 - password for db's admin user
{in my case no password}

Curses form 4 and 5 - db password for redmine/instances/default + confirmation
{in my case redmine-password}

Create symlink to web root
sudo ln -s /usr/share/redmine/public/ /var/www/redmine

sudo vi /etc/apache2/sites-available/redmine
<Directory /var/www/redmine>
    RailsBaseURI /redmine
    PassengerResolveSymlinksInDocumentRoot on
</Directory>

sudo a2ensite redmine

sudo service apache2 restart

sudo chmod +r /etc/redmine/default/session.yml /etc/redmine/default/database.yml

Visit http://localhost/redmine

The default account:password is admin:admin.

Adapted from: http://www.redmine.org/wiki/1/HowTo_Install_Redmine_in_Ubuntu

No comments:

Post a Comment