原创 windows啓動consul

下載consul 下載地址 下載完成後解壓並將解壓路徑追加到path環境變量 前臺啓動 打開cmd窗口,輸入命令 consul agent -dev 後臺啓動 添加服務 打開cmd窗口,執行命令 sc create consul