Vagrant: Difference between revisions
From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs) mNo edit summary |
Brian Wilson (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
"Vagrant" is a system for managing virtual machines | "Vagrant" is a system for managing virtual machines. | ||
http://vagrantup.com/ | http://vagrantup.com/ | ||
Line 5: | Line 5: | ||
You set up a config file that sets up the vm, including installing packages and configuration settings. | You set up a config file that sets up the vm, including installing packages and configuration settings. | ||
Normally I run Parallels to use virtual machines on my Mac, but as of version 11, I have to pony up another $20 to get the pro version for Vagrant, and there is no current Debian provider. So I am going back to using VirtualBox for now. | |||
== Vastra development machine == | |||
I need to be able to run a test machine on the Mac so that I can go offline in Gold Beach. | |||
And maybe so that I don't mess up our phones every time I get crazy testing. | |||
cd Projects | cd ~/Projects | ||
mkdir vastra-debian | |||
cd vastra-debian | cd vastra-debian | ||
vagrant init | vagrant init deb/jessie-amd64 | ||
vagrant up --provider | vagrant up --provider virtualbox | ||
vagrant ssh | |||
I also need to be able to simulate a target machine, one stripped down to the minimal requirements to run Vastra. | |||
cd ~/Projects | |||
mkdir vastra-target | |||
cd vastra-target | |||
vagrant init deb/jessie-amd64 | |||
vagrant up --provider virtualbox | |||
vagrant ssh | vagrant ssh |
Revision as of 14:27, 23 December 2015
"Vagrant" is a system for managing virtual machines.
You set up a config file that sets up the vm, including installing packages and configuration settings.
Normally I run Parallels to use virtual machines on my Mac, but as of version 11, I have to pony up another $20 to get the pro version for Vagrant, and there is no current Debian provider. So I am going back to using VirtualBox for now.
Vastra development machine
I need to be able to run a test machine on the Mac so that I can go offline in Gold Beach. And maybe so that I don't mess up our phones every time I get crazy testing.
cd ~/Projects mkdir vastra-debian cd vastra-debian vagrant init deb/jessie-amd64 vagrant up --provider virtualbox vagrant ssh
I also need to be able to simulate a target machine, one stripped down to the minimal requirements to run Vastra.
cd ~/Projects mkdir vastra-target cd vastra-target vagrant init deb/jessie-amd64 vagrant up --provider virtualbox vagrant ssh