$ mongrel_rails cluster::stop
$ mongrel_rails cluster::configure -e production -p 3000 --prefix=/redmine
$ mongrel_rails start -d -e production -p 3000 --prefix=/redmine
参考
ProxyPass /redmine http://localhost:3000/redmine ProxyPassReverse /redmine http://localhost:3000/redmine
# /etc/init.d/apache2 restart httpdを停止中: [ OK ] httpdを起動中: [ OK ]
http://localhost/redmine/
# apt-get -y install subversion # apt-get -y install MySQL-shared # apt-get -y install MySQL-ruby # apt-get -y install MySQL-server # apt-get -y install MySQL-client # apt-get -y install rubygems # chkconfig apache2 on # chkconfig mysql on # /etc/init.d/mysql start # gem install rake # gem install mongrel_cluster --include-dependencies # gem install rails --include-dependencies # adduser redmine # passwd redmine $ svn co http://redmine.rubyforge.org/svn/tags/0.6.3 redmine $ mysqladmin -u root password mysql $ mysql -u root -p $ cd redmine/ $ cp config/database.yml.example config/database.yml $ vi config/database.yml $ rake db:migrate RAILS_ENV="production" $ rake load_default_data RAILS_ENV="production" $ mongrel_rails cluster::configure -e production -p 3000 --prefix=/redmine $ mongrel_rails start -d -e production -p 3000 --prefix=/redmine # cd ~apache/ # vi /etc/apache2/conf/httpd.conf # /etc/init.d/apache2 restart