project_management:redmine
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
project_management:redmine [2010/12/14 12:06] – aorth | project_management:redmine [2011/01/26 14:16] – [Install Phusion Passenger] aorth | ||
---|---|---|---|
Line 7: | Line 7: | ||
===== Install dependencies ===== | ===== Install dependencies ===== | ||
- | ==== aptitude | + | ==== apt-get |
- | < | + | < |
- | ==== Download ruby gems ==== | + | ==== Ruby gems ==== |
- | Problems I faced: | + | < |
- | * DNS is screwed up for rubyforge.org and rubygems.org. | + | $ sudo gem install |
- | * rubyforge.org has old versions of some gems (rails!) | + | $ sudo gem install fastthread |
- | + | $ sudo gem install -v=0.4.2 i18n</ | |
- | You SHOULD be able to '' | + | |
- | < | + | |
- | 72.21.202.165 | + | |
- | Don't ask. I guess they are using the " | + | |
- | + | ||
- | < | + | |
- | $ wget http:// | + | |
- | $ wget http:// | + | |
- | $ wget http:// | + | |
- | $ wget http:// | + | |
- | $ wget http:// | + | |
- | + | ||
- | ==== Install gems ==== | + | |
- | Rake, for building gems: | + | |
- | < | + | |
- | Make sure you can execute the '' | + | |
- | < | + | |
- | # ln -s / | + | |
- | Continue installing gems: | + | |
- | < | + | |
- | # gem install fastthread-1.0.7.gem | + | |
- | # gem install mysql-2.8.1.gem | + | |
- | # gem install sqlite3-ruby-1.3.0.gem | + | |
- | # gem install rails-2.3.5.gem</ | + | |
===== Configure Redmine ===== | ===== Configure Redmine ===== | ||
Line 78: | Line 54: | ||
* Reference: http:// | * Reference: http:// | ||
- | * Also the guide on the [[http:// | + | * http:// |
- | === Install | + | === Enable |
- | < | + | < |
+ | $ sudo sh -c 'wget -q -O - http:// | ||
+ | $ sudo apt-get update</ | ||
=== Install the Apache module === | === Install the Apache module === | ||
- | Edit the invocation line of the passenger installer program to point to '' | + | < |
- | < | + | |
- | Run the installer: | + | |
- | < | + | |
=== Configure Apache settings === | === Configure Apache settings === | ||
Apache will serve Redmine via Phusion Passenger, which doesn' | Apache will serve Redmine via Phusion Passenger, which doesn' | ||
- | |||
- | === Configure mod_rail.conf === | ||
- | /// | ||
- | < | ||
- | PassengerRoot / | ||
- | PassengerRuby / | ||
=== Configure redmine.conf === | === Configure redmine.conf === | ||
Line 121: | Line 90: | ||
< | < | ||
- | === Test the install === | + | ===== Test the install |
http:// | http:// | ||
Line 185: | Line 154: | ||
# rake tmp: | # rake tmp: | ||
# apache2ctl graceful</ | # apache2ctl graceful</ | ||
+ | |||
+ | ===== Change local administrator password manually ===== | ||
+ | < | ||
+ | # RAILS_ENV=production ruby1.8 script/ |