インストールパッケージをダウンロードしてください1.
wget https://releases.hashicorp.com/consul/1.5.3/consul_1.5.3_linux_amd64.zip
2.設定するには、グローバル環境変数
- インストールパッケージの抽出
unzip consul_1.5.3_linux_amd64.zip
2.グローバルコンフィギュレーションは、
あなたがグローバルコマンドを設定する必要がある場合は、直接コピー領事はには/ usr / local /ビンに適用されます
3. [スタート]領事
nohup ./consul agent -dev -client 0.0.0.0 -ui &
4.審査プロセス
[root@instance-n4r06itt consul]# ps -ef | grep consul
root 28395 20672 1 13:59 pts/0 00:00:05 ./consul agent -dev -client 0.0.0.0 -ui
root 28789 20672 0 14:06 pts/0 00:00:00 grep --color=auto consul
上記のように正常に起動されています!
5.サービスの検証
パスます。http:// IP:8500 / UIの
スタート成功!