Created
October 23, 2013 19:28
-
-
Save JeffreyWay/7125055 to your computer and use it in GitHub Desktop.
Beginning bootstrap.sh file for https://laracasts.com/lessons/vagrant-simplified lesson.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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