Skip to content

Instantly share code, notes, and snippets.

Embed
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 https://gist.github.com/fideloper/dab171a2aa646e86b782#file-vagrantfile-L6-L8
# Edit Vagrantfile to create a static IP address, just like https://gist.github.com/fideloper/dab171a2aa646e86b782#file-vagrantfile-L10
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.