project_management:redmine
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
project_management:redmine [2010/06/09 15:15] – 172.26.14.218 | project_management:redmine [2020/01/30 12:52] (current) – removed aorth | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Redmine ====== | ||
- | Redmine is a bug tracking, source code and project management web application. | ||
- | * Official install guide: http:// | ||
- | * Unofficial install guide: http:// | ||
- | * Arch Linux wiki guide: http:// | ||
- | |||
- | ====== Install dependencies ====== | ||
- | ===== aptitude ===== | ||
- | < | ||
- | |||
- | ===== Download ruby gems ===== | ||
- | Problems I faced: | ||
- | * DNS is screwed up for rubyforge.org and rubygems.org. | ||
- | * rubyforge.org has old versions of some gems (rails!) | ||
- | |||
- | 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 ====== | ||
- | Download and unzip the latest stable tarball: | ||
- | < | ||
- | $ tar zxf redmine-0.9.4.tar.gz</ | ||
- | |||
- | ===== Move redmine ===== | ||
- | Move redmine somewhere universal, outside of your home folder. | ||
- | |||
- | < | ||
- | $ cd / | ||
- | |||
- | ===== Configure the database ===== | ||
- | We can either use MySQL or SQLite. | ||
- | |||
- | Edit // | ||
- | < | ||
- | | ||
- | | ||
- | |||
- | ===== Initialize the database ===== | ||
- | < | ||
- | $ rake rake generate_session_store | ||
- | $ RAILS_ENV=production rake db:migrate | ||
- | $ RAILS_ENV=production rake redmine: | ||
- | |||
- | ===== Test the server ===== | ||
- | Before we can use Redmine with Apache, we have to make sure the installation worked fine. Use the built-in webserver to test first: | ||
- | < | ||
- | If you get an error about not finding ruby, make sure the ruby version in the '' | ||
- | |||
- | Navigate to http:// | ||
- | |||
- | ====== Configure Apache ====== | ||
- | |||
- | ===== Install Phusion Passenger ===== | ||
- | Phusion Passenger (" | ||
- | |||
- | * Reference: http:// | ||
- | * Also the guide on the [[http:// | ||
- | |||
- | ==== Install the gem ==== | ||
- | < | ||
- | |||
- | ==== Install the Apache module ==== | ||
- | Edit the invocation line of the passenger installer program to point to '' | ||
- | < | ||
- | Run the installer: | ||
- | < | ||
- | |||
- | ==== Configure Apache settings ==== | ||
- | Apache will serve Redmine via FastCGI using the included '' | ||
- | |||
- | ==== Configure mod_rail.conf ==== | ||
- | /// | ||
- | < | ||
- | PassengerRoot / | ||
- | PassengerRuby / | ||
- | |||
- | ==== Configure redmine.conf ==== | ||
- | /// | ||
- | < | ||
- | RailsEnv production | ||
- | |||
- | < | ||
- | AllowOverride all | ||
- | Options -MultiViews | ||
- | #Options Indexes ExecCGI FollowSymLinks | ||
- | Order allow,deny | ||
- | Allow from all | ||
- | </ | ||
- | |||
- | Link the Redmine installation to the web document root; make sure to use the same name as in your Apache configuration: | ||
- | < | ||
- | |||
- | ==== Fix dispatch.fcgi ==== | ||
- | Rename it and make sure its executable: | ||
- | < | ||
- | $ chmod 755 public/ | ||
- | |||
- | Edit the invocation line in the FastCGI script to make sure it points to your ruby version ('' | ||
- | < | ||
- | ... | ||
- | require "/ | ||
- | ...</ | ||
- | |||
- | ==== Fix permissions ==== | ||
- | Change permissions so the web server can read/write important files/ | ||
- | < | ||
- | |||
- | ==== Restart Apache ==== | ||
- | < | ||
- | |||
- | ==== Test the install ==== | ||
- | |||
- | http:// | ||
- | |||
- | ====== Active Directory Authentication ====== | ||
- | None of this seems to work... | ||
- | |||
- | * Reference: http:// | ||
- | * Reference: http:// | ||
- | * Reference: http:// | ||
- | |||
- | ===== Patch ===== | ||
- | http:// | ||
- | |||
- | < | ||
- | # patch -p1 < / |
project_management/redmine.1276096522.txt.gz · Last modified: 2010/06/09 15:15 by 172.26.14.218