Get gdal development libraries:
$ sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable
$ sudo apt-get update
$ sudo apt-get install libgdal-dev
Create and activate a virtual environment:
| # This must be run with Administrator privileges in order to set environment variables | |
| # http://code.activestate.com/recipes/55993/, Wolfgang Strobl | |
| import _winreg | |
| import sys | |
| import traceback | |
| import win32gui | |
| import win32api | |
| # this ensures that changes propagate immediately |
| #!/bin/bash | |
| NAME="hello_app" # Name of the application | |
| DJANGODIR=/webapps/hello_django/hello # Django project directory | |
| SOCKFILE=/webapps/hello_django/run/gunicorn.sock # we will communicte using this unix socket | |
| USER=hello # the user to run as | |
| GROUP=webapps # the group to run as | |
| NUM_WORKERS=3 # how many worker processes should Gunicorn spawn | |
| DJANGO_SETTINGS_MODULE=hello.settings # which settings file should Django use | |
| DJANGO_WSGI_MODULE=hello.wsgi # WSGI module name |
| #LiveCD on the commandline | |
| #https://help.ubuntu.com/community/LiveCDCustomization | |
| #DIR=`dirname ${0}` | |
| #VERSION=`cat "$DIR"/../VERSION.txt` | |
| VERSION="6.0beta6" | |
| PACKAGE_NAME="osgeo-live" | |
| ISO_NAME="${PACKAGE_NAME}-${VERSION}" | |
| sudo apt-get install squashfs-tools genisoimage |
| #!/bin/bash | |
| # setup repository | |
| sudo wget -qO- http://apt.opengeo.org/gpg.key | apt-key add - | |
| sudo chmod 655 /etc/apt/sources.list | |
| sudo echo "deb http://apt.opengeo.org/ubuntu lucid main" >> /etc/apt/sources.list | |
| sudo chmod 644 /etc/apt/sources.list | |
| sudo apt-get update | |
| # install opengeo suite |