Skip to content

Instantly share code, notes, and snippets.

@JeffreyWay
Created October 23, 2013 19:28
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save JeffreyWay/7125055 to your computer and use it in GitHub Desktop.
Save JeffreyWay/7125055 to your computer and use it in GitHub Desktop.
Beginning bootstrap.sh file for https://laracasts.com/lessons/vagrant-simplified lesson.
#!/usr/bin/env bash
sudo apt-get update
sudo apt-get install -y python-software-properties
sudo add-apt-repository -y ppa:ondrej/php5
sudo apt-get update
sudo apt-get install -y wget php5 apache2 php5-mcrypt php5-curl
# Apache stuff
sudo a2enmod rewrite
rm -rf /var/www
ln -fs /vagrant /var/www
sudo service apache2 restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment