Consul
下载:
wget https://releases.hashicorp.com/consul/1.5.2/consul_1.5.2_linux_amd64.zip
下载unzip:
yum -y install unzip
解压:
unzip consul_1.5.2_linux_amd64.zip
启动:
nohup ./consul agent -dev -client 0.0.0.0 -ui > /dev/null 2>&1 &
nohup ./consul agent -server -bootstrap-expect 1 -data-dir /data/consul/data -client 0.0.0.0 -ui -config-dir /data/consul > /dev/null 2>&1 &