Changes between Version 19 and Version 20 of InstallationGuidelines/Linux/Server/CherokeePostgreSQL


Ignore:
Timestamp:
01/26/12 22:20:57 (13 years ago)
Author:
Praneeth Bodduluri
Comment:

Using a prebuilt cherokee

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/Linux/Server/CherokeePostgreSQL

    v19 v20  
    103103##########
    104104# Debian current version
    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
     105cat "deb http://apt.balocco.name squeeze main" >> /etc/apt/sources.list
     106curl http://apt.balocco.name/key.asc | apt-key add -
     107aptitude update
     108aptitude install cherokee
     109
     110CHEROKEE_CONF="/etc/cherokee/cherokee.conf"
    122111
    123112# Install uWSGI
     
    284273/etc/init.d/cherokee restart
    285274
    286 # Logfile rotation
    287 cat << EOF > "/etc/logrotate.d/cherokee"
    288 /var/log/cherokee/*.error /var/log/cherokee/*.access /var/log/cherokee.access /var/log/cherokee.error {
    289   rotate 7
    290   weekly
    291   compress
    292   copytruncate
    293   missingok
    294   notifempty
    295   copytruncate
    296 }
    297 EOF
    298275
    299276############