Skip to content

Instantly share code, notes, and snippets.

@scream314
Forked from ianunruh/consul.sh
Last active March 15, 2017 10:46
Show Gist options
  • Save scream314/398431fec5c359cd280954cb5bf47934 to your computer and use it in GitHub Desktop.
Save scream314/398431fec5c359cd280954cb5bf47934 to your computer and use it in GitHub Desktop.
Install Consul on Ubuntu 14.04
#!/bin/bash
#apt-get install -y curl unzip
CONSUL_VERSION="0.7.5"
mkdir -p /var/lib/consul
mkdir -p /usr/share/consul
mkdir -p /etc/consul/conf.d
curl -OL https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip
unzip consul_${CONSUL_VERSION}_linux_amd64.zip
mv consul /usr/local/bin/consul
#curl -OL https://dl.bintray.com/mitchellh/consul/0.3.1_web_ui.zip
#unzip 0.3.1_web_ui.zip
#mv dist /usr/share/consul/ui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment