Changes between Version 18 and Version 19 of InstallationGuidelines/Linux/Server/ApacheMySQL
- Timestamp:
- 01/31/12 21:27:07 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallationGuidelines/Linux/Server/ApacheMySQL
v18 v19 24 24 # Install Admin Tools 25 25 apt-get install -y unzip psmisc mlocate telnet lrzsz vim elinks-lite rcconf htop sudo 26 # Install Git 27 apt-get install -y git-core 26 28 # Email 27 29 apt-get -y install exim4-config exim4-daemon-light … … 31 33 ######## 32 34 apt-get -y install mysql-server python-mysqldb phpmyadmin mytop 35 36 # Tune for smaller RAM setups 37 sed -i 's|query_cache_size = 16M|query_cache_size = 1M|' /etc/mysql/my.cnf 38 sed -i 's|key_buffer = 16M|key_buffer = 1M|' /etc/mysql/my.cnf 39 sed -i 's|max_allowed_packet = 16M|max_allowed_packet = 1M|' /etc/mysql/my.cnf 40 41 /etc/init.d/mysql restart 33 42 34 43 ######### … … 44 53 sed -i 's|</IfModule>|WSGIPassAuthorization On|' /etc/apache2/mods-enabled/wsgi.conf 45 54 echo "</IfModule>" >> /etc/apache2/mods-enabled/wsgi.conf 55 56 # Prevent Memory leaks from killing servers 57 sed -i 's|MaxRequestsPerChild 0|MaxRequestsPerChild 300|' /etc/apache2/apache2.conf 58 59 # Tune for smaller RAM setups 60 sed -i 's|MinSpareServers 5|MinSpareServers 3|' /etc/apache2/apache2.conf 61 sed -i 's|MaxSpareServers 10|MaxSpareServers 6|' /etc/apache2/apache2.conf 46 62 47 63 apache2ctl restart … … 64 80 apt-get -y install python-imaging python-reportlab 65 81 apt-get -y install python-xlwt python-xlrd 66 apt-get -y install bzr67 82 68 83 ######### … … 95 110 cd web2py 96 111 cd applications 97 bzr branch lp:sahana-eden/stable eden 112 # @ToDo: Stable branch 113 git clone git://github.com/flavour/eden/git 98 114 # Fix permissions 99 115 chown web2py ~web2py … … 160 176 cd ~web2py/applications/eden 161 177 sed -i 's/deployment_settings.base.migrate = False/deployment_settings.base.migrate = True/g' models/000_config.py 162 bzrpull178 git pull 163 179 /usr/local/bin/maintenance 164 180 rm -rf compiled … … 205 221 # END 206 222 }}} 207 208 223 == After Imaging == 209 224 [http://eden.sahanafoundation.org/raw-attachment/wiki/InstallationGuidelines/Linux/Server/ApacheMySQL/configure-eden-apache-mysql.sh configure-eden-apache-mysql.sh]