Skip to content

Instantly share code, notes, and snippets.

@userscape-it
Created January 25, 2014 20:08
Show Gist options
  • Save userscape-it/8622719 to your computer and use it in GitHub Desktop.
Save userscape-it/8622719 to your computer and use it in GitHub Desktop.
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