Skip to content

Instantly share code, notes, and snippets.

@papisz
Forked from ianunruh/consul.sh
Created December 16, 2014 10:47
Show Gist options
  • Save papisz/a19b993204c59aa16c59 to your computer and use it in GitHub Desktop.
Save papisz/a19b993204c59aa16c59 to your computer and use it in GitHub Desktop.
#!/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://dl.bintray.com/mitchellh/consul/0.4.1_linux_amd64.zip
unzip 0.4.1_linux_amd64.zip
mv consul /usr/local/bin/consul
curl -OL https://dl.bintray.com/mitchellh/consul/0.4.1_web_ui.zip
unzip 0.4.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