Skip to content

Instantly share code, notes, and snippets.

@jdesilvio
Created June 6, 2015 19:45
Show Gist options
  • Save jdesilvio/7725ed6444950f36e12c to your computer and use it in GitHub Desktop.
Save jdesilvio/7725ed6444950f36e12c to your computer and use it in GitHub Desktop.
Setup script for the Bitnam LAMP AMI on Amazon AWS for Python Webscraping
#!/bin/bash
# Setup script for the Bitnam LAMP AMI on Amazon AWS
## This script sets up Python 2.7 and installs libraries critical to webscraping
apt-get update
sudo apt-get install python2.7-dev
apt-get install python-pip
sudo apt-get install libxml2-dev
sudo apt-get install libxslt1-dev
pip install lxml
pip install BeautifulSoup4
pip install s3cmd
s3cmd --configure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment