Skip to main content


Showing posts from December, 2011

Redmine on Ubuntu 10.10

Most tutorials for setting up Redmine on Ubuntu end with using Webbrick to test, but I wanted a production setup. This is a reconstruction of what finally worked (assuming no prior installs of ruby or rails, but a fully set up LAMP stack): $ sudo apt-get install ruby-dev redmine $ sudo gem install passenger $ sudo apt-get install apache2-dev libapr1-dev libaprutil1-dev  $ echo "export PATH=/var/lib/gems/1.8/bin:$PATH" >> ~/.bashrc $ sudo /var/lib/gems/1.8/bin/passenger-install-apache2-module $ sudo a2enmod rewrite $ sudo vim /etc/apache2/sites-enabled/000-default LoadModule passenger_module /var/lib/gems/1.8/gems/passenger-3.0.11/ext/apache2/ PassengerRoot /var/lib/gems/1.8/gems/passenger-3.0.11 PassengerRuby /usr/bin/ruby1.8 ...snip... <VirtualHost *:80> ServerName DocumentRoot /usr/share/redmine/public <Directory /usr/share/redmine/public> AllowOverride all Options -MultiViews </Direc