mac consul installation and startup

Download mac64 bit compressed package from https://www.consul.io/downloads.html

After extracting the consul copy files to / usr / local / bin directory.
Execute consul command in the directory, the output of the relevant command.

Start consul, consul agent -dev command execution

After starting the access address:
HTTP: // localhost: 8500 / ui / DC1 / Services
can already start to see the consul, health checks shown to be correct.

key / value can be configured in the configuration file on each micro service centers.
Note that this place after the restart consul key / value configuration will be cleared.
Every time I restart when the local consul, should be reconfigured again the center of each profile.

Published 139 original articles · won praise 35 · views 180 000 +

Guess you like

Origin blog.csdn.net/kanglovejava/article/details/100622113