Skip to content

Instantly share code, notes, and snippets.

@vpack
Last active December 28, 2015 18:30
Show Gist options
  • Save vpack/fee47429cdf685a83a06 to your computer and use it in GitHub Desktop.
Save vpack/fee47429cdf685a83a06 to your computer and use it in GitHub Desktop.
Consul Client agent installation
{
"acl_token": "anonymous",
"client_addr": "0.0.0.0",
"data_dir": "/var/lib/consul",
"datacenter": "sbox-us-east",
"enable_syslog": true,
"encrypt": "x==",
"log_level": "INFO",
"ports": {
"dns": 8600,
"http": 8500,
"rpc": 8400,
"serf_lan": 8301,
"serf_wan": 8302,
"server": 8300
},
"start_join": [
"consul-sandbox.myco.net"
],
"verify_incoming": true,
"verify_outgoing": false
}
# RPM Install - Currently Consul 0.6.0-1
# Reference: https://copr.fedoraproject.org/coprs/duritong/consul/
cd /etc/yum.repos.d
wget https://copr.fedoraproject.org/coprs/duritong/consul/repo/epel-7/duritong-consul-epel-7.repo
yum -y install consul
# consul 0.5.2 manual install
# wget https://releases.hashicorp.com/consul/0.5.2/consul_0.5.2_linux_amd64.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment