cgiovanii
12/6/2013 - 11:19 PM

Vagrant: bootstrap.sh

Vagrant: bootstrap.sh

#!/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