Skip to content

Instantly share code, notes, and snippets.

@klynton
Created August 15, 2010 09:34
Show Gist options
  • Save klynton/525292 to your computer and use it in GitHub Desktop.
Save klynton/525292 to your computer and use it in GitHub Desktop.
#!/bin/bash
/usr/sbin/locale-gen en_US.UTF-8
/usr/sbin/update-locale LANG=en_US.UTF-8
add-apt-repository ppa:cherokee-webserver
aptitude update
aptitude -y install build-essential python-dev python-psycopg2 python-software-properties rrdtool libxml2-dev libxslt-dev git-core cherokee libcherokee-mod-rrd postgresql
curl -O http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz
tar -xzvf distribute-0.6.14.tar.gz
cd distribute-0.6.14
python setup.py install
wget http://pypi.python.org/packages/source/p/pip/pip-0.8.tar.gz
tar xvf pip-0.8.tar.gz
cd pip-0.8
python setup.py install
pip install Django
wget http://projects.unbit.it/downloads/uwsgi-latest.tar.gz
tar xvf uwsgi-latest.tar.gz
cd uwsgi-0.9.5.4/
make
mv uwsgi /usr/local/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment