Before I started this sequence of commands, I already had SVN and Apache2 installed and configured to work together.

Here is the sequence of commands I needed to install Redmine. I used the guide from here.

cd /var/www
svn co svn://rubyforge.org/var/svn/redmine/branches/1.0-stable redmine-1.0
ln -s redmine-1.0/ redmine
chown -R www-data:www-data redmine-1.0/
mysql -u root -p (create database ...)
cd redmine
cp config/database.yml.example config/database.yml
cd config/
vi database.yml (configure database username, password)
mysql -u root -p (create 'redmine' user)
gem install -v=2.3.5 rails
gem install rack -v=1.0.1
rake generate_session_store
apt-get install libmysqlclient15-dev
gem install mysql
rake db:migrate RAILS_ENV="production"
rake redmine:load_default_data RAILS_ENV="production"
gem install passenger
apt-get install build-essential
apt-get install apache2-prefork-dev
apt-get install libapr1-dev
apt-get install libaprutil1-dev
/var/lib/gems/1.8/gems/passenger-2.2.15/bin/passenger-install-apache2-module
ls -l /etc/apache2/mods-available/
vi /etc/apache2/mods-available/passenger.load
vi /etc/apache2/mods-available/passenger.conf
a2enmod passenger
ruby script/server webrick -e production (test run)
/etc/init.d/apache2 restart
vi /etc/apache2/sites-available/default (add RailBaseURI & RailsEnv directives)
/etc/init.d/apache2 restart

Note: MySQL root password is .

I placed redmine under redmine/public. After I restarted apache, I was able to login with username ‘admin’ and default password ‘admin’ to create new users and projects.