Update Consul部署说明.md

pull/72/head
StarsL.cn 2023-03-10 05:53:31 +08:00 committed by GitHub
parent 9286c33136
commit 8021e598f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -1,13 +1,14 @@
#### 安装
##### 注意暂时不兼容consul-1.15.x的版本已安装1.15.x版本的请先卸载后安装以下版本。
```bash
# 使用yum部署consul
yum install -y yum-utils
yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
yum -y install consul
yum -y install consul-1.14.5-1
# 如果yum下载失败可以直接下载RPM包安装
wget https://rpm.releases.hashicorp.com/RHEL/7/x86_64/stable/consul-1.13.3-1.x86_64.rpm
rpm -ivh ./consul-1.13.3-1.x86_64.rpm
wget https://rpm.releases.hashicorp.com/RHEL/7/x86_64/stable/consul-1.14.5-1.x86_64.rpm
rpm -ivh ./consul-1.14.5-1.x86_64.rpm
```
#### 配置