GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — mac-setup/Vagrant at master · brucebnu/mac-setup

Expand file tree

/

Vagrant

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

Vagrant

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 

README.md

Outline

Vagrant

Create and configure lightweight, reproducible, and portable development environments. Vagrant is a tool for managing virtual machines via a simple to use command line interface.

Prerequisite

You'll need homebrew-cask, if you don't have it refer to this section.

Installation

Vagrant uses Virtualbox to manage the virtual dependencies. You can directly download virtualbox and install or use Homebrew for it. Notice that macOS High Sierra 10.13 introduces a new feature that requires user approval before loading new third-party kernel extensions. In case of failure follow the instructions here.

$ brew cask install virtualbox

Now install Vagrant either from the website or use Homebrew for installing it.

$ brew cask install vagrant

Vagrant-Manager helps you manage all your virtual machines in one place directly from the menu bar.

$ brew cask install vagrant-manager

Usage

Add the Vagrant box you want to use. We'll use Ubuntu 12.04 for the following example.

$ vagrant box add precise64 https://vagrantcloud.com/hashicorp/boxes/precise64/versions/1.1.0/providers/virtualbox.box

You can find more boxes at Vagrant Cloud.

Now create a test directory and cd into the test directory. Then we'll initialize the vagrant machine.

$ vagrant init precise64

Now lets start the machine using the following command.

$ vagrant up

You can ssh into the machine now.

$ vagrant ssh

Halt the vagrant machine now.

$ vagrant halt

Other useful commands are suspend and destroy.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.