|Version 38 (modified by 9 years ago) ( diff ),|
Installation Guidelines: Linux (Production: Apache/MySQL)
Table of Contents
Production Installs that are maintained by others are usually installed with Apache & MySQL.
- Apache is a well-supported & flexible web server which can run Sahana well through mod_WSGI
- MySQL is a well-supported database with an easy-to-use Admin UI (phpMyAdmin)
The simplest way to install is using our installation scripts.
These assume that you are installing on Debian Stable (7 'Wheezy').
- Ubuntu will be similar, although you may need to tweak the setup (e.g. different MySQL version)
- There are notes on installing on RedHat-based systems here, although these aren't as well-maintained: InstallationGuidelines/Linux/Server/RedHat
This is split into 2 halves, as the 1st script can create a base image which is then customised per-instance using the configure script.
Note: We currently install using the latest Trunk versions of both Web2Py & Eden...so there may be occasional glitches.
(Note: This assumes that Apache has been installed in its default location on Debian or Ubuntu, which puts the apache2ctl, a2enmod, a2ensite, and a2dissite binaries in /usr/sbin. This will differ on other Linux distros -- see Apache distro layout for the appropriate path for these binaries on other distros.)
install-eden-apache-mysql.sh Include(http://eden.sahanafoundation.org/raw-attachment/wiki/InstallationGuidelines/Linux/Server/ApacheMySQL/install-eden-apache-mysql.sh, text/plain)
configure-eden-apache-mysql.sh Include(http://eden.sahanafoundation.org/raw-attachment/wiki/InstallationGuidelines/Linux/Server/ApacheMySQL/configure-eden-apache-mysql.sh, text/plain)
If you wish to update your site from an alternate github repo this can be done using: