Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Basic Vagrant install
# Install Vagrant and Virtualbox
# Create new project directory
mkdir -p ~/Sites/newproject # Create new project directory
mk ~/Sites/newproject # Go into your new project directory
# Setup Vagrant
vagrant init
# Edit vagrant file box and box url to install Ubuntu, just like
# Edit Vagrantfile to create a static IP address, just like
vagrant up # Start your new server
vagrant ssh # Get into your new server to run commands in it
# Install LAMP stack - Apache, MySQL, PHP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.