Skip to content

Instantly share code, notes, and snippets.

@userscape-it
Created January 25, 2014 20:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • 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