Version 1 (modified by Fran Boon, 6 years ago) ( diff )


Manual Installation of Sahana

This older way of installing & configuring Sahana Eden remains documented here

1: Add Swapfile

You should add swap from a swap file in order to improve performance (especially on a Micro instance):

sudo su -
dd if=/dev/zero of=/swapfile1 bs=1024 count=524288
mkswap /swapfile1
chown root:root /swapfile1
chmod 0600 /swapfile1
swapon /swapfile1
# Make persistent across reboots
cat << EOF >> "/etc/fstab"
/swapfile1 swap swap defaults 0 0

2: Install Sahana

  • Copy the installation and configuration scripts into the launched instance (assuming Cherokee & PostgreSQL):
    wget --no-check-certificate
    chmod a+x
    wget --no-check-certificate
    chmod a+x
  • Run the script. [Note: This step takes about 10min - grab a coffee]
    sudo su -

If you wish to update your site from an alternate github repo this can be done using:

3. Configure Sahana

Run to configure the instance:

sudo su -

  • Add your FQDN to /etc/hosts to ensure emails are accepted by all remote mailers:
    vim /etc/hosts host.domain host localhost
    /etc/init.d/exim4 restart
    NB On new Amazon instances you may also need to prevent Amazon from auto-updating this file by commenting this aspect:
    vim /etc/cloud/cloud.cfg
    # - update_etc_hosts
Note: See TracWiki for help on using the wiki.