Consul installation service center

Consul installation service center

First, download the corresponding version of the installer. click to download

I downloaded the macOS64 bit version, download the file is a ZIP file, extract it to a location you like after the download, to start consul services in development mode:

#进入consul目录
cd ~/consul
#以开发模式启动服务,-server表示以服务模式启动
./consul agent -dev

Alt text
The information may prompt access 127.0.0.1:8500 open consul management interface
Alt text

Source

Github repository: https: //github.com/sunweisheng/spring-cloud-example

Guess you like

Origin www.cnblogs.com/bluersw/p/11610697.html