How to Quick-Start with Vagrant on Ubuntu 16.04 Xenial Linux

April 29, 2017 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Getting-Started with Vagrant for Ubuntu 16.04 Xenial

You are Welcome! The Tutorial Shows You Step-by-Step How to Install and Getting-Started with the Latest Vagrant Virtual Machines Management Tool on Ubuntu 16.04 Xenial Xerus LTS GNU/Linux.

Vagrant is a Tool that Makes it Easier to Run and Manage Virtual Machines on your computer.

Vagrant main Features:

  • Makes a VM with an OS of your choice
  • Changes the Settings of a VM (e.g., RAM, number of CPUs, etc.)
  • Settles Network Interfaces to access a VM from outside
  • Etablishes Shared Folders to exchange with your computer
  • Defines the Hostname of a VM
  • Provides Software for the VM by shell scripts or configuration management solutions
  • Operates specific Tweakings on hosts and guests
  • SSH into a VM from you computer

By Default Vagrant Works only with VirtualBox VMs, to get it Working with VMware or other Hypervisor you have to Install a Paid Plugin.

To Get Installed right the Latest Vagrant Release for Ubuntu we Provide Directly to the Download from the Vagrant WebSite.

How to Quick Start with Vagrant on Ubuntu 16.04 Xenial Linux - Featured
  1. Open a Shell session
    Ctrl+Alt+t to open a Terminal emulator on Desktop
    (Press “Enter” to Execute Commands)

    Getting-Started with Vagrant for Ubuntu 16.04 Xenial - Open Terminal Shell Emulator
  2. Download Latest Vagrant for Debian Linux

    Latest Vagrant .deb 32/64-bit
  3. Check/Install GDebi Package Installer

    which gdebi

    If not there then:

    sudo apt install gdebi-core gdebi

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

  4. Access the Target location
    (Usually Downloads go in the Home folder or when Downloaded with Firefox may be into the Temporary directory /tmp/mozilla*)

    cd ~/Downloads

    Or when downloaded with Firefox maybe:

    cd /tmp/mozilla*

    To Verify that it’s there List the contents with:

    ls .
  5. Vagrant Installation on Ubuntu

    sudo gdebi ./vagrant*.deb
  6. Finally, Test Vagrant Installation

    vagrant -h

    But in case of Vagrant Help Ruby Gems Issue Fix with:

    sudo vagrant plugin install vagrant-share --plugin-version 1.1.8
  7. How to Install Required Oracle VirtualBox on Ubuntu

    Oracle VirtualBox Installation
  8. How to Getting-Started with Vagrant VMs Management

    Vagrant Getting-Started Guide

Tags: , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress