領事シリーズ - コンポーネントのインストール

インストールパッケージをダウンロードしてください1.

wget https://releases.hashicorp.com/consul/1.5.3/consul_1.5.3_linux_amd64.zip

ここに画像を挿入説明

2.設定するには、グローバル環境変数

  1. インストールパッケージの抽出
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の
ここに画像を挿入説明スタート成功!

公開された215元の記事 ウォンの賞賛135 ビュー114万+

おすすめ

転載: blog.csdn.net/weinichendian/article/details/104408070