github.com/kardianos/nomad@v0.1.3-0.20151022182107-b13df73ee850/website/source/intro/getting-started/install.html.md (about)

     1  ---
     2  layout: "intro"
     3  page_title: "Install Nomad"
     4  sidebar_current: "getting-started-install"
     5  description: |-
     6    The first step to using Nomad is to get it installed.
     7  ---
     8  
     9  # Install Nomad
    10  
    11  The task drivers that are available to Nomad vary by operating system,
    12  for example Docker is only available on Linux machines. To simplify the
    13  getting started experience, we will be working in a Vagrant environment.
    14  Create a new directory, and download [this `Vagrantfile`](https://raw.githubusercontent.com/hashicorp/nomad/master/demo/vagrant/Vagrantfile).
    15  
    16  ## Vagrant Setup
    17  
    18  Once you have created a new directory and downloaded the `Vagrantfile`
    19  you must create the virtual machine:
    20  
    21      $ vagrant up
    22  
    23  This will take a few minutes as the base Ubuntu box must be downloaded
    24  and provisioned with both Docker and Nomad. Once this completes, you should
    25  see output similar to:
    26  
    27      Bringing machine 'default' up with 'vmware_fusion' provider...
    28      ==> default: Checking if box 'puphpet/ubuntu1404-x64' is up to date...
    29      ==> default: Machine is already running.
    30  
    31  At this point the Vagrant box is running and ready to go.
    32  
    33  ## Verifying the Installation
    34  
    35  After starting the Vagrant box, verify the installation worked by connecting
    36  to the box using SSH and checking that `nomad` is available. By executing
    37  `nomad`, you should see help output similar to the following:
    38  
    39  ```
    40  $ vagrant ssh
    41  ...
    42  
    43  vagrant@nomad:~$ nomad
    44  
    45  usage: nomad [--version] [--help] <command> [<args>]
    46  
    47  Available commands are:
    48      agent                 Runs a Nomad agent
    49      agent-info            Display status information about the local agent
    50      alloc-status          Display allocation status information and metadata
    51      client-config         View or modify client configuration details
    52      eval-monitor          Monitor an evaluation interactively
    53      init                  Create an example job file
    54      node-drain            Toggle drain mode on a given node
    55      node-status           Display status information about nodes
    56      run                   Run a new job or update an existing job
    57      server-force-leave    Force a server into the 'left' state
    58      server-join           Join server nodes together
    59      server-members        Display a list of known servers and their status
    60      status                Display status information about jobs
    61      stop                  Stop a running job
    62      validate              Checks if a given job specification is valid
    63      version               Prints the Nomad version
    64  ```
    65  
    66  If you get an error that Nomad could not be found, then your Vagrant box
    67  may not have provisioned correctly. Check for any error messages that may have
    68  been emitted during `vagrant up`. You can always destroy the box and
    69  re-create it.
    70  
    71  ## Next Steps
    72  
    73  Vagrant is running and Nomad is installed. Let's [start Nomad](/intro/getting-started/running.html)!
    74  
    75