Redmine
From Cheatsheet
this is a project tracking application that includes wiki, svn(or equiv), issue tracking etc. It runs on ruby. This installation is on Debian Lenny/apache2/mysql5. It is not simple, and every time the upgrade a package, the dependencies might break other stuff, /var/log/apache2/error.log is your friend. Gem is the package manager for installing things for ruby
Installation
vi /etc/apt/sources.list (add next line) deb http://www.backports.org/debian lenny-backports main contrib non-free apt-get install mysql-server mysql -u root -p create database redmine; grant all privileges on redmine.* TO 'someuser'@'localhost' identified by 'somepassword' with grant option; apt-get install ruby rake rubygems libmysql-ruby libopenssl-ruby gem install rails -v=2.1.2 apt-get install g++ make ruby-dev apache2 gem install passenger -v=2.2.5 gem install rack apt-get install apache2-prefork-dev apt-get install libapache2-mod-passenger vi /etc/apache2/mods-available/passenger.conf #PassengerRoot /var/lib/gems/1.8/gems/passenger-2.2.2 #PassengerRuby /usr/bin/ruby1.8 PassengerDefaultUser www-data /etc/init.d/apache2 reload apt-get install subversion cd /usr/local/lib svn co http://redmine.rubyforge.org/svn/branches/0.8-stable redmine-0.8 cd /usr/local/lib/redmine-0.8 vi config/database.yml.example production: (enter the right db/user/password) cp config/database.yml.example config/database.yml vi config/environment.rb (set version # on line like below, or just comment it out, that might work) RAILS_GEM_VERSION = '2.1.2' vi config/email.yml.example (put your remote smtp login stuff there to another mailserver, you won't use that e-mail, but it'll relay through it) mv config/email.yml.example config/email.yml rake config/initializers/session_store.rb rake db:migrate RAILS_ENV="production" rake redmine:load_default_data RAILS_ENV="production" cd /usr/local/lib/redmine-0.8 chown -R www-data:www-data files log tmp public/plugin_assets chmod -R 755 files log tmp public/plugin_assets vi /etc/apache2/sites-available/redmine <VirtualHost *:80> ServerName some.example.com DocumentRoot /usr/local/lib/redmine-0.8/public <Directory /usr/local/lib/redmine-0.8/public> AllowOverride None </Directory> </VirtualHost> ln -s /etc/apache2/sites-available/redmine /etc/apache2/sites-enabled/remine /etc/init.d/apache2 reload add some.example.com to dns default login admin/admin
