piątek, 6 stycznia 2017

Install Vagrant and Virtual Box on Debian

I'm starting with fresh minimal netinst Debian jessie.
  1. Install Vagrant (1.9.1 here - check if you have newer version available)

    wget https://releases.hashicorp.com/vagrant/1.9.1/vagrant_1.9.1_x86_64.deb
    dpkg -i vagrant_1.9.1_x86_64.deb
  2. Install Virtual Box (I'm using Debian Jessie - change 'jessie' to your version)

    echo "deb http://download.virtualbox.org/virtualbox/debian jessie contrib" >> /etc/apt/sources.list
    apt-get update
    apt-get install virtualbox-5.1
  3. Run Vagrant machine ( hashicorp/precise64 is one of Debian images)

    vagrant init hashicorp/precise64
    vagrant up
    vagrant ssh

Brak komentarzy:

Prześlij komentarz