前端之家收集整理的这篇文章主要介绍了
CentOS6/7 使用saltstack源安装saltstack,
前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
CentOS6/7 使用saltstack源安装saltstack
CentOS6安装Saltstack
@H_301_6@运行以下命令来安装SaltStack存储库和密钥
sudo yum install https://repo.saltstack.com/yum/redhat/salt-repo-latest-2.el6.noarch.rpm
sudo yum clean expire-cache
@H_301_6@依次执行下面命令安装salt所用模块
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
@H_301_6@以安装salt-minion为例。安装完成启动minion
sudo service salt-minion start
CentOS7安装saltstack
@H_301_6@运行以下命令来安装SaltStack存储库和密钥
sudo yum install https://repo.saltstack.com/yum/redhat/salt-repo-latest-2.el7.noarch.rpm
sudo yum clean expire-cache
@H_301_6@依次执行下面命令安装salt所用模块
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
@H_301_6@以安装salt-minion为例。安装完成启动minion
sudo systemctl start salt-minion
其他系统安装saltstack参考:
原文链接:https://www.f2er.com/centos/376392.html