# cd /usr/local/src/
# wget http://rubyforge.org/frs/download.php/74944/redmine-1.2.0.tar.gz
# tar xvfz redmine-1.2.0.tar.gz
# mv redmine-1.2.0 /var/www/
# cd /var/www/
# chown -R apache:apache redmine-1.2.0/
# cd redmine-1.2.0/
# cp -a ../redmine-1.1.2/config/database.yml ./config/
# cp -a ../redmine-1.1.2/config/email.yml ./config/
# cp -a ../redmine-1.1.2/vendor/plugins/code_review ./vendor/plugins/
# cp -a ../redmine-1.1.2/vendor/plugins/wiki_extensions/ ./vendor/plugins/
# cd /var/www/
# rm -f redmine
# ln -s redmine-1.2.0/ redmine
# cd redmine-1.2.0/
# rake generate_session_store
# vi config/settings.yml
# gem install rack --version '=1.1.0'
# rake db:migrate RAILS_ENV="production"
# rake db:migrate:upgrade_plugin_migrations RAILS_ENV=production
# rake db:migrate_plugins RAILS_ENV=production
# rake tmp:cache:clear
# rake tmp:sessions:clear
# chmod 755 public/plugin_assets/
# chown -R apache:apache plugin_assets/
# /etc/init.d/httpd restart
# vi /etc/httpd/conf.d/subversion.conf
LoadModule perl_module modules/mod_perl.so
PerlLoadModule Apache::Redmine
<Location /svn>
DAV svn
SVNParentPath /var/www/svn
Order deny,allow
Deny from all
Satisfy any
PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler
AuthType Basic
AuthName "Redmine SVN Repository"
#read-only access
<Limit GET PROPFIND OPTIONS REPORT>
Require valid-user
Allow from xxx.xxx.xxx.xxx
Satisfy any
</Limit>
## for mysql
RedmineDSN "DBI:mysql:database=redmine;host=localhost"
RedmineDbUser "user"
RedmineDbPass "pass"
</Location>
# cp /service/tracfarm/redmine/extra/svn/Redmine.pm /usr/lib/perl5/5.8.8/Apache/Redmine.pm