-
-
Save objectsyndicate/1457802 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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