redmine telepítése

Több időt töltöttem már eddig redmine telepítésével mint amennyit feltétlenül szerettem volna ezért álljon itt egy howto (amolyan comment nélküli):

svn co http://redmine.rubyforge.org/svn/branches/0.8-stable redmine-0.8
apt-get install libapache2-mod-fcgid libopenssl-ruby1.8 ruby rubygems libmysql-ruby1.8 rake libfcgi-ruby1.8
gem install -v=2.1.2 rails
mv public/dispatch.cgi.example public/dispatch.cgi
mv public/dispatch.fcgi.example public/dispatch.fcgi
rm public/.htaccess public/dispatch.rb.example

mv config/database.yml.example config/database.yml
mv config/email.yml.example config/email.yml

rake db:migrate RAILS_ENV=”production”

apache2:
<VirtualHost *:80>
ServerName redminehost

DocumentRoot /path/redmine-0.8/public

SetEnv RAILS_ENV production
DefaultInitEnv RAILS_ENV production
# Loglevel debug
<Directory /path/redmine-0.8/public>
AddHandler fcgid-script .fcgi
Options -Indexes +FollowSymLinks +ExecCGI
RewriteEngine On
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
</Directory>
</VirtualHost>

a2ensite …

admin/admin

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.