Install Redmine, mySQL and Apache 1 apt-get install redmine-mysql redmine mysql-server apache2 Link the redmine code to /var/www/redmine : ln -s /usr/share/redmine/public /var/www/redmine Install the apache2 passenger and fastcgi apt-get install libapache2-mod-passenger libapache2-mod-fastcgi Add this line to /etc/apache2/mods-available/passenger.conf (inside the IfModule directive): PassengerDefaultUser www-data Edit /etc/apache2/sites-enabled/000-default and add after the two first <directory> directives: RailsBaseURI /redmine PassengerResolveSymlinksInDocumentRoot on Options Indexes ExecCGI FollowSymLinks In /var/www/redmine/ , create the file .htaccess , with exactly this content: RewriteEngine On RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] Restart apache: apache2ctl restart Credit : 1