ZQ博客

ZQ博客
学无止境-技术在于分享
  1. 首页
  2. SpringCloud
  3. 正文

Consul在Linux下安装

2022年 2月 11日 2744点热度 0人点赞 0条评论

1.下载

wget https://releases.hashicorp.com/consul/1.8.0/consul_1.8.0_linux_amd64.zip

2.解压缩

unzip consul_1.8.0_linux_amd64.zip

3.移动到usr目录

mv consul /usr/local/bin/consul

4.查看consul是否安装成功

consul --version

5.启动

consul agent -dev     //localhost:8500访问
consul agent -dev  -client 0.0.0.0 -ui     //IP

6.访问

访问测试

netstat -nptl               //查看端口8500
ps -ef|grep consul       //查看进程编号
kill -15 xxxxxx            //杀死进程

浏览器访问
http://localhost:8500

file
标签: Consul Linux
最后更新:2022年 2月 11日

zq

每天进步一点, 时间长了你会发现已经走了很远了

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复
分类
  • ARM
  • Docker
  • java
  • Linux
  • OpenStack问题
  • springboot
  • SpringCloud
  • 前端开发
  • 技术分享
  • 数据库
  • 未分类
  • 版本控制
文章目录
  • 1.下载
  • 2.解压缩
  • 3.移动到usr目录
  • 4.查看consul是否安装成功
  • 5.启动
  • 6.访问

COPYRIGHT ©2024 www.dowhere.com ALL RIGHTS RESERVED.and Theme Kratos