Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save davidwtbuxton/fbf4ef4f64a59ddff9c62d3ad1863f0a to your computer and use it in GitHub Desktop.

Select an option

Save davidwtbuxton/fbf4ef4f64a59ddff9c62d3ad1863f0a to your computer and use it in GitHub Desktop.

Revisions

  1. davidwtbuxton created this gist Apr 7, 2022.
    17 changes: 17 additions & 0 deletions Setup steps for Nomad + others on Ubuntu server 20.04
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    # Setup for Ubuntu 20.04
    # ======================

    # Install Nomad, Consul, Docker
    # -----------------------------

    # GPG keys for Nomad and Docker.
    curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

    # Repos for Nomad and Docker.
    sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
    sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

    # Install Nomad, Consul, Docker.
    sudo apt install docker-ce docker-ce-cli containerd.io
    sudo apt install nomad consul