Skip to content

Instantly share code, notes, and snippets.

@lukedeo
Last active February 21, 2018 16:55
Show Gist options
  • Save lukedeo/ca96ac85e890b1458404 to your computer and use it in GitHub Desktop.
Save lukedeo/ca96ac85e890b1458404 to your computer and use it in GitHub Desktop.
Bootstrap script for Ubuntu 14.04 EC2
#!/usr/bin/env bash
# bootstrap.sh
# author: Luke de Oliveira ([email protected])
# boostrap script for clean (CPU) EC2 instance setup for machine learning.
# -- get a basic build up
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install -y build-essential
# -- dev builds of key software
sudo apt-get install -y libprotobuf-dev libboost-all-dev libhdf5-serial-dev protobuf-compiler gfortran libatlas-base-dev git python-dev python-pip libbz2-dev libxml2-dev libxslt-dev libffi-dev libssl-dev python-yaml python-numpy
# -- Python specific setup
sudo pip install cython
sudo pip install Flask-RESTful
sudo pip install beautifulsoup4
sudo pip install scipy
sudo pip install pandas
sudo pip install tables
sudo pip install h5py
sudo pip install deepdish --no-deps
sudo pip install scikit-learn
sudo pip install --upgrade git+http://github.com/Theano/Theano
sudo pip install --upgrade git+http://github.com/fchollet/keras
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment