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.


As an example I am setting up a virtual machine to run Xastir under Parallels on my Mac.
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.


cd Projects
== Vastra development machine ==
mkdir xastir
vagrant init parallels/ubuntu-12.04
vagrant up --provider=parallels
''Downloading the Ubuntu ISO image takes 15 minutes on a reasonably fast connection''
When it's done you can connect with
vagrant ssh


== 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 parallels/debian-8.2
  vagrant init deb/jessie-amd64
  vagrant up --provider=parallels
  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.

http://vagrantup.com/

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