consul Series - component installation

1. Download the installation package

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

Here Insert Picture Description

2. Configure the global environment variables

  1. Extracting installation package
unzip consul_1.5.3_linux_amd64.zip

Here Insert Picture Description
2. Global configuration
If you need to configure the global command, direct copy consul apply to / usr / local / bin to
Here Insert Picture Description

3. Start consul

nohup ./consul agent -dev -client 0.0.0.0 -ui &

4. Review Process

[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

As shown above has been launched successfully!

5. Service Verification

Path: http: // ip: 8500 / ui
Here Insert Picture Descriptionstart success!

Published 215 original articles · won praise 135 · Views 1.14 million +

Guess you like

Origin blog.csdn.net/weinichendian/article/details/104408070