wiki:InstallationGuidelines/Linux/Server/CherokeePostgreSQL

Version 62 (modified by Fran Boon, 4 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.

Download & set permissions:

wget --no-check-certificate https://raw.githubusercontent.com/sahana/eden_deploy/master/install-eden-cherokee-postgis.sh
chmod a+x install-eden-cherokee-postgis.sh
wget --no-check-certificate https://raw.githubusercontent.com/sahana/eden_deploy/master/configure-eden-cherokee-postgis.sh
chmod a+x configure-eden-cherokee-postgis.sh

Install:

./install-eden-cherokee-postgis.sh

Configure:

./configure-eden-cherokee-postgis.sh

Note: We install using the latest Trunk version of Eden as there is no Stable release yet. This can occasionally cause teething problems, so you may need to revert back a version or get issues fixed via the mailing list.

Before Imaging

install-eden-cherokee-postgis.sh Include(https://raw.githubusercontent.com/sahana/eden_deploy/master/install-eden-cherokee-postgis.sh, text/plain)

After Imaging

configure-eden-cherokee-postgis.sh Include(https://raw.githubusercontent.com/sahana/eden_deploy/master/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(https://raw.githubusercontent.com/sahana/eden_deploy/master/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_demo_site.sh Include(https://raw.githubusercontent.com/sahana/eden_deploy/master/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.