When I decided to try Redmine,
I found it difficult to install on Ubuntu 11.04.
Actualy it is very easy,
although all tutorials which I have found on internet,
seemed some-how too much complicated.
But the procedure is indeed very simple, first just install redmine package:
sudo apt-get install redmine
When install asks whether to setup database automaticaly, ansver “yes”.
Then install passenger,-
this is appache module allowing to run rails applications on it:
sudo apt-get install libapache2-mod-passenger
Now just make sure that required apache modules are enabled:
sudo a2enmod passenger rewrite
I like to create virtual host for each web application that i am running, I want to do the same with Redmine also.
Create a virtual host config file at /etc/apache2/sites-available/redmine with such content:
<VirtualHost *:80>
ServerName redmine.dev
DocumentRoot "/usr/share/redmine/public"
PassengerResolveSymlinksInDocumentRoot on
Options Indexes ExecCGI FollowSymLinks
</VirtualHost>
Now this virtual host must be enabled:
sudo a2ensite redmine
And, of course, hostname redmine.dev should be defined in /etc/hosts :
127.0.0.1 redmine.dev
And lastly just restart the apache:
sudo apache2ctl restart
Thats it! Redmine is now on http://redmine.dev – simple..
There are comments.