Consul安装
Consul 服务注册中心。
目录
安装
1 | wget https://releases.hashicorp.com/consul/1.2.2/consul_1.2.2_linux_amd64.zip |
配置
编辑web.json
1 | { |
Systemd 配置
1 | mv consul /usr/local/bin |
编辑/etc/systemd/system/consul.service
1 | [Unit] |
Consul 服务注册中心。
1 | wget https://releases.hashicorp.com/consul/1.2.2/consul_1.2.2_linux_amd64.zip |
编辑web.json
1 | { |
1 | mv consul /usr/local/bin |
编辑/etc/systemd/system/consul.service
1 | [Unit] |
A Learner
A Java Programmer