前端之家收集整理的这篇文章主要介绍了
CentOS6/7 使用saltstack源安装saltstack,
前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
CentOS6/7 使用saltstack源安装saltstack
CentOS6安装Saltstack
sudo yum install https://repo.saltstack.com/yum/redhat/salt-repo-latest-2.el6.noarch.rpm
sudo yum clean expire-cache
sudo yum install salt-master
sudo yum install salt-minion
sudo yum install salt-ssh
sudo yum install salt-syndic
sudo yum install salt-cloud
sudo yum install salt-api
- 以安装salt-minion为例。安装完成启动minion
sudo service salt-minion start
CentOS7安装saltstack
sudo yum install https://repo.saltstack.com/yum/redhat/salt-repo-latest-2.el7.noarch.rpm
sudo yum clean expire-cache
sudo yum install salt-master
sudo yum install salt-minion
sudo yum install salt-ssh
sudo yum install salt-syndic
sudo yum install salt-cloud
sudo yum install salt-api
- 以安装salt-minion为例。安装完成启动minion
sudo systemctl start salt-minion
其他系统安装saltstack参考:
原文链接:https://www.f2er.com/centos/376392.html