Skip to content

Instantly share code, notes, and snippets.

@thomas15v
Forked from ianunruh/consul.sh
Last active May 4, 2016 11:31
Show Gist options
  • Save thomas15v/d2afb59ee9de9e5f3b40297e1305c2ab to your computer and use it in GitHub Desktop.
Save thomas15v/d2afb59ee9de9e5f3b40297e1305c2ab to your computer and use it in GitHub Desktop.
Install Consul on Ubuntu 14.04
#!/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