Version 9 (modified by 14 years ago) ( diff ) | ,
---|
Installation on Cherokee
This is supposed to be the fastest system for High-Volume sites
uWSGI
uWSGI allows different virtual hosts to reload their modules without restarting for other users.
Install uWSGI
Needs installing from Source:
apt-get install -y libxml2-dev make wget http://projects.unbit.it/downloads/uwsgi-0.9.7.2.tar.gz tar zxvf uwsgi-0.9.7.2.tar.gz cd uwsgi-0.9.7.2 make cp uwsgi /usr/local/bin cd ..
Install Cherokee
Whilst there is a version in Squeee, better to install the latest to gain performance advantages on static content:
apt-get install -y gettext libgeoip-dev libssl-dev rrdtool wget http://www.cherokee-project.com/download/1.2/1.2.98/cherokee-1.2.98.tar.gz tar zxvf cherokee-1.2.98.tar.gz cd cherokee-1.2.98 ./configure make make install cd ..
Configure Cherokee for uWSGI
cat << EOF > "/home/web2py/uwsgi.xml" <uwsgi> <pythonpath>/home/web2py/</pythonpath> <app mountpoint="/"> <script>wsgihandler</script> </app> </uwsgi> EOF
FastCGI
http://web2py.com/AlterEgo/default/show/17
Attachments (1)
- cherokee (2.2 KB ) - added by 13 years ago.
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.