Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note: these steps have been tested on MacOS 10.9.5.

VM Background

(to be added)

...

Installing VirtualBox and Vagrant

VirtualBox allows you to run multiple operating systems (inside multiple virtual machines) at the same time. In this Quick Start you will be using VirtualBox to run Linux on OS X. 

Vagrant is a tool that makes it easier to work with virtual machines. It helps automate the work of setting up, running, and removing virtual machine environments. For our purposes, Vagrant makes it easy to install and run a preconfigured environment for running Ambari.

  1. To install VirtualBox, visit https://www.virtualbox.org/wiki/Downloads.

...

  1. Note: as of 4/25/16

...

  1. there are potential issues running the latest version of VirtualBox with the Ambari Vagrant setup. We recommend installing an older (4.x) version.

...

  1. This Quick Start has been tested on 4.3.34.

...

  1. Install Vagrant from http://downloads.vagrantup.com.
  2. After you have installed VirtualBox and Vagrant on your computer, clone the “ambari-vagrant” GitHub repo on your machine. From the command-line:

    Code Block
    git clone https://github.com/u39kun/ambari-vagrant.git
    
  3. Edit your /etc/hosts on your computer so that you will be able to resolve hostnames for the VMs:

    Code Block
    sudo -s 'cat ambari-vagrant/append-to-etc-hosts.txt >> /etc/hosts'
    
  4. Copy the private key to your home directory (or any convenient directory); you will need the key for Ambari.

    Code Block
    vagrant
    

The above command shows the command usage and also creates a private key as ~/.vagrant.d/insecure_private_key.  This key will be used in the following steps.

...