安装consul
下载包: https://www.consul.io/ 解压 consul_1.2.2_windows_amd64.zip 复制 consul.exe 到 d:\soft\consul\ 启动 最好是写绝对路径 consul.exe agent -server -data-dir data目录 -node=node1 -bind=127.0.0.1 -client=127.0.0.1 -bootstrap -ui