Skip to content

Instantly share code, notes, and snippets.

@jamesjohnson
Last active February 3, 2016 18:58
Show Gist options
  • Save jamesjohnson/2974809 to your computer and use it in GitHub Desktop.
Save jamesjohnson/2974809 to your computer and use it in GitHub Desktop.
Postgis AWS installation
#!/usr/bin/bash
#This will set up your machine for using django 1.4
sudo add-apt-repository -y ppa:pitti/postgresql
sudo add-apt-repository -y ppa:git-core/ppa
sudo add-apt-repository -y ppa:bchesneau/gunicorn
sudo add-apt-repository -y ppa:nginx/stable
sudo add-apt-repository -y ppa:natecarlson/haproxy # For Load Balancing
sudo apt-get update -y
sudo apt-get install -y nginx memcached rsync libpq-dev python-dev libxslt1-dev libxml2-dev python-psycopg2 git-core redis-server postgresql-9.4.5 inetutils-syslogd apache2-utils python-pip libevent-dev
sudo apt-get install binutils gdal-bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment