= Installation Guidelines: Linux (Production: Cherokee/PostgreSQL) = [[TOC]] Installs that we maintain are usually done using Cherokee & PostgreSQL * [wiki:InstallationGuidelines/Cherokee Cherokee] is a high-performance web server with a graphical admin UI * [wiki:InstallationGuidelines/PostgreSQL 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: [wiki:InstallationGuidelines/Linux/Server/RedHat] * For postgres-9.3, use [http://initd.org/psycopg/ 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 [wiki:InstallationGuidelines/Linux/Server/ApacheMySQL Apache/MySQL] option or modifying these scripts to use the Stable versions of Web2Py & Eden. == Before Imaging == [http://eden.sahanafoundation.org/raw-attachment/wiki/InstallationGuidelines/Linux/Server/CherokeePostgreSQL/install-eden-cherokee-postgis.sh 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 == [http://eden.sahanafoundation.org/raw-attachment/wiki/InstallationGuidelines/Linux/Server/CherokeePostgreSQL/configure-eden-cherokee-postgis.sh 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: [http://eden.sahanafoundation.org/raw-attachment/wiki/InstallationGuidelines/Linux/Server/CherokeePostgreSQL/add_test_site.sh 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): [http://eden.sahanafoundation.org/raw-attachment/wiki/InstallationGuidelines/Linux/Server/CherokeePostgreSQL/add_test_site.sh 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: * ConfigurationGuidelines#SwitchtoanalternateGitHubrepo Administration Guide: * [wiki:UserGuidelines/Admin Administration Guide]