| | 28 | {{{ |
| | 29 | CHEROKEE_CONF="/usr/local/etc/cherokee/cherokee.conf" |
| | 30 | apt-get install -y gettext libgeoip-dev libssl-dev rrdtool make |
| | 31 | cd /tmp |
| | 32 | wget http://www.cherokee-project.com/download/1.2/1.2.99/cherokee-1.2.99.tar.gz |
| | 33 | tar zxvf cherokee-1.2.99.tar.gz |
| | 34 | cd cherokee-1.2.99 |
| | 35 | ./configure --datarootdir=/var/www |
| | 36 | make |
| | 37 | make install |
| | 38 | mkdir /var/log/cherokee |
| | 39 | chown www-data /var/log/cherokee |
| | 40 | wget http://eden.sahanafoundation.org/raw-attachment/wiki/InstallationGuidelinesCherokee/cherokee -O /etc/init.d/cherokee |
| | 41 | chmod +x /etc/init.d/cherokee |
| | 42 | ldconfig |
| | 43 | rcconf --on cherokee |
| | 44 | }}} |
| | 45 | or: |