| 11 | | * http://www.cherokee-project.com/doc/cookbook_uwsgi.html |
| 12 | | * lifeeth runs this |
| | 12 | ==== Install uWSGI ==== |
| | 13 | Needs installing from Source: |
| | 14 | {{{ |
| | 15 | apt-get install -y libxml2-dev make |
| | 16 | wget http://projects.unbit.it/downloads/uwsgi-0.9.7.2.tar.gz |
| | 17 | tar zxvf uwsgi-0.9.7.2.tar.gz |
| | 18 | cd uwsgi-0.9.7.2 |
| | 19 | make |
| | 20 | cp uwsgi /usr/local/bin |
| | 21 | cd .. |
| | 22 | }}} |
| | 23 | |
| | 24 | ==== Install Cherokee ==== |
| | 25 | Whilst there is a version in Squeee, better to install the latest to gain performance advantages on static content: |
| | 26 | {{{ |
| | 27 | apt-get install -y gettext libgeoip-dev libssl-dev rrdtool |
| | 28 | wget http://www.cherokee-project.com/download/1.2/1.2.98/cherokee-1.2.98.tar.gz |
| | 29 | tar zxvf cherokee-1.2.98.tar.gz |
| | 30 | cd cherokee-1.2.98 |
| | 31 | ./configure |
| | 32 | make |
| | 33 | make install |
| | 34 | cd .. |
| | 35 | }}} |