wiki:InstallationGuidelines/Linux/Server/CherokeePostgreSQL

Version 57 (modified by Fran Boon, 10 years ago) ( diff )

--

Installation Guidelines: Linux (Production: Cherokee/PostgreSQL)

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 (8 'Jessie' or the older 7 'Wheezy').

  • Ubuntu will be similar, although you may need to tweak the setup (e.g. different PostgreSQL versions)
  • There are notes on installing on RedHat-based systems here, although these aren't as well-maintained: InstallationGuidelines/Linux/Server/RedHat
  • For postgres-9.3, use psycopg2 as the driver instead of the web2py default pg8000.

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_update.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_demo_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)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.