Update Consul部署说明.md

This commit is contained in:
StarsL.cn 2022-07-06 15:40:25 +08:00 committed by GitHub
parent 4e288ca8c6
commit 23dc407431
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@ rpm -ivh ./consul-1.12.2-1.x86_64.rpm
```bash
vi /etc/consul.d/consul.hcl
advertise_addr = "192.168.x.x" #可以先不加这行如果启动有问题再加上一般有多网卡需要配置这行填写你的网卡IP
log_level = "ERROR" #日志级别日志太多可以只打印error日志不需要可以去掉这行。
advertise_addr = "192.168.x.x" #可以先不加这行如果启动有问题再加上一般有多网卡需要配置这行填写你的网卡IP。
data_dir = "/opt/consul"
client_addr = "0.0.0.0"
ui_config{