Skip to content

Latest commit

 

History

History
66 lines (45 loc) · 1.72 KB

README.md

File metadata and controls

66 lines (45 loc) · 1.72 KB

Devlab

Requirements

  1. Your machine must have at least 4GB of RAM memory and 8GB of free disk space.
  2. Enable the virtualization feature at your computer. Check your BIOS setup.
  3. Install VirtualBox

Known working version:

$ VBoxManage --version
5.1.6r110634
  1. Install VirtualBox Extension Pack. Please install the extension pack with the same version as your installed version of VirtualBox. For instance, if your installed VirtualBox version is 5.1.6, its extension pack can be downloaded on http://download.virtualbox.org/virtualbox/5.1.6/Oracle_VM_VirtualBox_Extension_Pack-5.1.6-110634a.vbox-extpack

  2. Install Vagrant

Known working version:

$ vagrant --version
Vagrant 1.9.5

Booting a virtual machine

  1. Start Vagrant from this repository

    $ vagrant up
    
  2. Connect to the virtual machine via SSH

    $ vagrant ssh
    

Shut down the virtual machine

$ vagrant halt

Check the status of the virtual machine

$ vagrant status

Restart the virtual machine

$ vagrant reload

Agent forwarding over SSH

By default, agent forwarding over SSH connections is enabled. It means that your SSH's key can be available in the guest machine (i.e., virtual machine). For this, you must execute the following command on your machine (i.e., host machine) before executing vagrant ssh.

  ssh-agent -t 3600
  ssh-add ~/.ssh/id_rsa