Last active
August 29, 2015 14:09
-
-
Save jmcarbo/1dd7097e7d4c0b135b12 to your computer and use it in GitHub Desktop.
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
wget https://dl.bintray.com/mitchellh/consul/0.4.1_linux_amd64.zip | |
unzip 0.4.1_linux_amd64.zip | |
install consul /usr/local/bin/consul | |
mkdir -p /etc/consul | |
mkdir -p /var/lib/consul | |
cat >/etc/consul/consul.conf <<EOF | |
{ | |
"data_dir": "/var/lib/consul/data", | |
"ui_dir": "/var/lib/consul/ui", | |
"client_addr": "0.0.0.0", | |
"ports": { | |
"dns": 53 | |
}, | |
"recursor": "8.8.8.8" | |
} | |
EOF | |
wget http://stedolan.github.io/jq/download/linux64/jq | |
install jq /usr/local/bin/jq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment