Created
June 17, 2020 07:19
-
-
Save velotiotech/225c70e94d5ca23a2944ff5dce4ffa0c 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.7.3/consul_1.7.3_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.11.3/nomad_0.11.3_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