您好,欢迎来到年旅网。
搜索
您的当前位置:首页ubuntu安装etcd

ubuntu安装etcd

来源:年旅网
wget https://github.com/etcd-io/etcd/releases/download/v3.3.12/etcd-v3.3.12-linux-amd.tar.gz
  1. 解压
tar zxvf etcd-v3.3.12-linux-amd.tar.gz
  1. 进入
cd etcd-v3.3.12-linux-amd
  1. 将启动文件和命令管理文件拷贝到/usr/local下
cp etcd /usr/local/bin
cp etcdctl /usr/local/bin
cd ..
cp -r etcd-v3.2.5-linux-amd /usr/local/etcd
  1. 启动
etcd -listen-client-urls="http://0.0.0.0:2379" --advertise-client-urls="http://0.0.0.0:2379"
  1. 其他服务器请求,看是否启动成功
curl -L  http://47.xx.xx.xx:2379/version

如果出现以下则说明启动成功

{"etcdserver":"3.3.12","etcdcluster":"3.3.0"}

参考文章:

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- oldu.cn 版权所有 浙ICP备2024123271号-1

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务