Last active
September 22, 2020 16:10
-
-
Save shantanugadgil/f6500a32f63f2fe18d1c9fe24334debe to your computer and use it in GitHub Desktop.
Install Consul and Nomad onto the machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install the Consul binary | |
wget https://releases.hashicorp.com/consul/1.8.4/consul_1.8.4_linux_amd64.zip -O consul.zip | |
unzip -o consul.zip | |
sudo chown root:root consul | |
sudo mv -fv consul /usr/sbin/ | |
# install the Nomad binary | |
wget https://releases.hashicorp.com/nomad/0.12.5/nomad_0.12.5_linux_amd64.zip -O nomad.zip | |
unzip -o nomad.zip | |
sudo chown root:root nomad | |
sudo mv -fv nomad /usr/sbin/ | |
# install Consul's service file | |
wget https://raw.githubusercontent.com/shantanugadgil/hashistack/master/systemd/consul.service -O consul.service | |
sudo chown root:root consul.service | |
sudo mv -fv consul.service /etc/systemd/system/consul.service | |
# install Nomad's service file | |
wget https://raw.githubusercontent.com/shantanugadgil/hashistack/master/systemd/nomad.service -O nomad.service | |
sudo chown root:root nomad.service | |
sudo mv -fv nomad.service /etc/systemd/system/nomad.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment