| 105 | | #apt-get -y install libcherokee-mod-libssl libcherokee-mod-rrd |
| 106 | | # Source version |
| 107 | | CHEROKEE_CONF="/usr/local/etc/cherokee/cherokee.conf" |
| 108 | | apt-get install -y gettext libgeoip-dev libssl-dev rrdtool make |
| 109 | | cd /tmp |
| 110 | | wget http://cherokee.osuosl.org/1.2/1.2.101/cherokee-1.2.101.tar.gz |
| 111 | | tar zxvf cherokee-1.2.101.tar.gz |
| 112 | | cd cherokee-1.2.101 |
| 113 | | ./configure --datarootdir=/var/www |
| 114 | | make |
| 115 | | make install |
| 116 | | mkdir /var/log/cherokee |
| 117 | | chown www-data /var/log/cherokee |
| 118 | | wget http://eden.sahanafoundation.org/raw-attachment/wiki/InstallationGuidelinesCherokee/cherokee -O /etc/init.d/cherokee |
| 119 | | chmod +x /etc/init.d/cherokee |
| 120 | | ldconfig |
| 121 | | rcconf --on cherokee |
| | 105 | cat "deb http://apt.balocco.name squeeze main" >> /etc/apt/sources.list |
| | 106 | curl http://apt.balocco.name/key.asc | apt-key add - |
| | 107 | aptitude update |
| | 108 | aptitude install cherokee |
| | 109 | |
| | 110 | CHEROKEE_CONF="/etc/cherokee/cherokee.conf" |