Update README.md
This commit is contained in:
parent
4982907cff
commit
4ea4c4685e
|
@ -67,7 +67,7 @@ rpm -ivh ./consul-1.11.1-1.x86_64.rpm
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
vi /etc/consul.d/consul.hcl
|
vi /etc/consul.d/consul.hcl
|
||||||
advertise_addr = "10.5.148.67" #如果有多网卡需要配置这行,填写你的网卡IP
|
advertise_addr = "192.168.x.x" #可以先不加这行,如果启动有问题再加上,一般有多网卡需要配置这行,填写你的网卡IP
|
||||||
data_dir = "/opt/consul"
|
data_dir = "/opt/consul"
|
||||||
client_addr = "0.0.0.0"
|
client_addr = "0.0.0.0"
|
||||||
ui_config{
|
ui_config{
|
||||||
|
|
Loading…
Reference in New Issue