Last active
December 30, 2015 13:09
-
-
Save cgiovanii/7833838 to your computer and use it in GitHub Desktop.
Vagrant: bootstrap.sh
This file contains 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 | |
#---------------------------------------------------- | |
# Minimal installation of LAMP on Vagrant box on up! | |
#---------------------------------------------------- | |
apt-get update | |
apt-get install -y apache2 vim mc htop bmon git curl iftop | |
apt-get install -y php5 php5-mcrypt | |
apt-get install -y mysql-server php5-mysql | |
#---------------------------------------------------- | |
# Create a sylink for batcave :) (Vagrant Home/Shared Folder) to /var/www | |
#---------------------------------------------------- | |
rm -rf /var/www | |
ln -fs /vagrant /var/www |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment