Skip to content

Instantly share code, notes, and snippets.

@cgiovanii
Last active December 30, 2015 13:09
Show Gist options
  • Save cgiovanii/7833838 to your computer and use it in GitHub Desktop.
Save cgiovanii/7833838 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment