- 1、install
yum install etcd -y
- 2、operation
# 设置开机自启动
systemctl enable etcd
# 启动etcd
systemctl start etcd
# 查看etcd运行状态
systemctl status etcd
- 3、config
# 编辑
vim /etc/etcd/etcd.conf
ETCD_LISTEN_CLIENT_URLS="http://0.0.0.0:2379"
# 重启
systemctl restart etcd
- 其他问题
1、etcd failed (Result: start-limit)
---权限问题,chmod -R 777 /var/lib/etcd/default.etcd