Created
January 25, 2014 20:08
-
-
Save userscape-it/8622719 to your computer and use it in GitHub Desktop.
Basic Vagrant install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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