1. 程式人生 > >(dev mode) install CONSUL on ubuntu

(dev mode) install CONSUL on ubuntu

WSL: V18.04.1

 

1. install

$sudo apt-get install consul
[email protected]:~$ consul version
Consul 0.6.4.dev
Consul Protocol: 3 (Understands back to: 1)

 

 

2. run

$consul agent -dev -bind 192.168.1.114
[email protected]:~$ consul agent -dev -bind 192.168
.1.114 ==> Starting Consul agent... ==> Starting Consul agent RPC... ==> Consul agent running! Node name: 'DESKTOP-14G6K9S' Datacenter: 'dc1' Server: true (bootstrap: false) Client Addr: 127.0.0.1 (HTTP: 8500, HTTPS: -1, DNS: 8600, RPC: 8400) Cluster Addr:
192.168.1.114 (LAN: 8301, WAN: 8302) Gossip encrypt: false, RPC-TLS: false, TLS-Incoming: false Atlas: <disabled>

 

http://localhost:8500/ui

 

Reference:

    1. 《Ubuntu安裝consul和consul ui

    2. 《[Consul]Error starting agent: Failed to get advertise address: Multiple private IPs found.