Linux 安装Consul,Linux yum安装consul
================================
©Copyright 蕃薯耀 2021-03-05
https://www.cnblogs.com/fanshuyao/
1、Linux安装yum-utils
yum install -y yum-utils
2、Linux配置consul的下载仓库:
yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
必须要有此步,不然直接安装会因为在默认仓库找不到,导致安装失败:
[root@host-14 bin]# yum -y install consul
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
没有可用软件包 consul。
错误:无须任何处理
3、Linux yum安装con