Here's a script to install Cherokee. The problem with Cherokee is that while 
it has a very nice admin front-end, it's not set up well for automating 
install and config. The approach I use here is to append a snippet of 
configs to the cherokee.conf file. It seems to work fine.

+ Tested on Ubuntu 10.04 (Rackspace Cloud)
+ Cherokee (from ppa; currently 1.2.2)
+ SSL (self-signed)
+ uWSGI 0.9.7.1
+ Postgres 8.4
+ Web2py Current
+ user=www-data
+ Hosted at BitBucket: https://bitbucket.org/pbreit/web2py-automation/src/

$ wget 
http://bitbucket.org/pbreit/web2py-automation/raw/tip/setup-cherokee-nginx.sh<http://bitbucket.org/pbreit/web2py-automation/raw/tip/setup-ubuntu-nginx.sh>
$ chmod +x setup-ubuntu-cherokee.sh
$ sudo ./setup-ubuntu-cherokee.sh

Note: the script runs almsot unattended. The only user input required is 
specifying web2py admin password.

Reply via email to