All pastes #2034512 Raw Edit

Untitled

public text v1 · immutable
#2034512 ·published 2010-12-30 20:33 UTC
rendered paste body
###########
## Redmine
###########

# installed mongrel:
sudo gem install mongrel
# installed mongrel cluster:
sudo gem install mongrel_cluster

# configure 3 instances of mongrel cluster (ports 8000, 8001, 8002 i think):
cd /var/www/redmine
mongrel_rails cluster::configure -e production -p 8000 -N 3

# start mongrel cluster:
# http://192.168.0.102:8000/
# http://192.168.0.102:8001/
# http://192.168.0.102:8002/
# should all work
mongrel_rails cluster::start

# to start mongrel (single instance):
# cd /var/www/redmine
# mongrel_rails start -e production -p 3000 -d

###########
## Apache
###########

cd /etc/apache

# added stuff to httpd.conf
sudo a2enmod rewrite
sudo a2enmod proxy
sudo apt-get install libapache2-mod-proxy-html