-
-
Save thomas15v/d2afb59ee9de9e5f3b40297e1305c2ab to your computer and use it in GitHub Desktop.
Install Consul on Ubuntu 14.04
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
#!/bin/bash | |
apt-get install -y curl unzip | |
mkdir -p /var/lib/consul | |
mkdir -p /usr/share/consul | |
mkdir -p /etc/consul/conf.d | |
wget https://releases.hashicorp.com/consul/0.6.4/consul_0.6.4_linux_amd64.zip | |
unzip consul_0.6.4_linux_amd64.zip | |
mv consul /usr/local/bin/consul | |
wget https://releases.hashicorp.com/consul/0.6.4/consul_0.6.4_web_ui.zip | |
unzip consul_0.6.4_web_ui.zip 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