Skip to content

Instantly share code, notes, and snippets.

@bmelton
Created April 17, 2014 14:26
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 bmelton/10987577 to your computer and use it in GitHub Desktop.
Save bmelton/10987577 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# Update Apt
apt-get update
# Install necessary things
apt-get install software-properties-common python-software-properties python g++
apt-get install -y make
apt-get install -y nginx
# Set up the website
rm -rf /etc/nginx/sites-enabled/default
cp /vagrant/sites-enabled/default /etc/nginx/sites-enabled/default
# Bounce
/etc/init.d/nginx restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment