Version 52 (modified by 11 years ago) ( diff ) | ,
---|
Installation Guidelines: Linux (Production: Cherokee/PostgreSQL)
Table of Contents
Installs that we maintain are usually done using Cherokee & PostgreSQL
- Cherokee is a high-performance web server with a graphical admin UI
- PostgreSQL is a database with powerful geospatial support
The simplest way to install is using our attached 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 PostgreSQL versions)
- There are notes on isntalling 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 install using the latest Trunk versions of both Web2Py & Eden. This can occasionally cause teething problems, so if you want a safer route then you may be better off with the Apache/MySQL option or modifying these scripts to use the Stable versions of Web2Py & Eden.
Before Imaging
install-eden-cherokee-postgis.sh Include(http://eden.sahanafoundation.org/raw-attachment/wiki/InstallationGuidelines/Linux/Server/CherokeePostgreSQL/install-eden-cherokee-postgis.sh, text/plain)
After Imaging
configure-eden-cherokee-postgis.sh Include(http://eden.sahanafoundation.org/raw-attachment/wiki/InstallationGuidelines/Linux/Server/CherokeePostgreSQL/configure-eden-cherokee-postgis.sh, text/plain)
Add a Test Site
If you wish to add a second site to your system for Test purposes (QA of new code & practising data migrations) then you can use this script: add_test_site.sh Include(http://eden.sahanafoundation.org/raw-attachment/wiki/InstallationGuidelines/Linux/Server/CherokeePostgreSQL/add_test_site.sh, text/plain)
Add a Demo Site
If you wish to add a third site to your system for Demo purposes (have dummy data loaded which doesn't require so strict an authentication to read, allow people to add dummy data of their own to practise) then you can use this script (NB assumes that a Test site has already been added): add_test_site.sh Include(http://eden.sahanafoundation.org/raw-attachment/wiki/InstallationGuidelines/Linux/Server/CherokeePostgreSQL/add_test_site.sh, text/plain)
Next
If you wish to update your site from an alternate github repo this can be done using:
Administration Guide:
Attachments (4)
- upgrade-postgis-2.sh (423 bytes ) - added by 11 years ago.
-
upgrade-wheezy-1.sh
(1.5 KB
) - added by 11 years ago.
Upgrade Squeeze to Wheezy
-
upgrade-wheezy-2.sh
(2.6 KB
) - added by 11 years ago.
Upgrade Squeeze to Wheezy
- upgrade-postgis-1.sh (2.7 KB ) - added by 11 years ago.
Download all attachments as: .zip