-
-
Save tockards/bc6152a5460d1bf722c788f1904aa62c to your computer and use it in GitHub Desktop.
Install Consul 0.8.5 on Ubuntu 16.04
This file contains hidden or 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
#!/bin/bash | |
apt-get install -y curl unzip | |
mkdir -p /var/lib/consul | |
mkdir -p /usr/share/consul | |
mkdir -p /etc/consul/conf.d | |
curl -OL https://releases.hashicorp.com/consul/0.8.5/consul_0.8.5_linux_amd64.zip | |
unzip consul_0.8.5_linux_amd64.zip | |
mv consul /usr/local/bin/consul | |
curl -OL https://releases.hashicorp.com/consul/0.8.5/consul_0.8.5_web_ui.zip | |
unzip consul_0.8.5_web_ui.zip -d dist | |
mv dist /usr/share/consul/ui |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment