0 環境
- 系統環境: win10
- 連接工具: xshell
- 服務器:阿里雲
1 正文
1.1 下載
- consul下載鏈接
選擇linux版本 下載好后 在傳到服務器上- 或者直接在linux wget下載
wget https://releases.hashicorp.com/consul/1.7.1/consul_1.7.1_linux_amd64.zip
1.2 解壓
找到下載位置
unzip xx.zip
1.3 運行
./consul agent -dev -ui -node=consul-dev -client=你的私網id
私網id 實例列表中有公和私網 當我們運行訪問時 訪問公網id:8500 並且需要阿里雲設置安全組加入8500