Skip to content

Instantly share code, notes, and snippets.

@okomestudio
Created March 6, 2015 22:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save okomestudio/cf4c8e772b74c01f7cd2 to your computer and use it in GitHub Desktop.
Save okomestudio/cf4c8e772b74c01f7cd2 to your computer and use it in GitHub Desktop.
#!/usr/bin/bash
#
# For configuring EC2 Debian/Jessie instance.
#
sudo apt-get update
sudo apt-get -y upgrade
################
# general system
sudo apt-get -y install emacs
sudo apt-get -y install gcc g++ make
# postgresql
sudo apt-get -y install postgresql postgresql-contrib
sudo apt-get -y install postgresql-server-dev-9.4 libpq-dev
# git
sudo apt-get -y install git
################
# general Python
sudo apt-get -y install python-dev
# install PIP
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
rm get-pip.py
sudo pip install ipython
sudo pip install virtualenv
sudo pip install cython
# lxml
sudo apt-get -y install libxml2 libxml2-dev libxslt-dev
# gevent
sudo apt-get -y install libevent-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment