CentOS6/7 使用saltstack源安装saltstack

前端之家收集整理的这篇文章主要介绍了CentOS6/7 使用saltstack源安装saltstack前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

CentOS6/7 使用saltstack源安装saltstack

CentOS6安装Saltstack

  • 运行以下命令来安装SaltStack存储库和密钥
sudo yum install https://repo.saltstack.com/yum/redhat/salt-repo-latest-2.el6.noarch.rpm
  • 清楚yum过期缓存
sudo yum clean expire-cache
  • 依次执行下面命令安装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
  • 以安装salt-minion为例。安装完成启动minion
sudo service salt-minion start

CentOS7安装saltstack

  • 运行以下命令来安装SaltStack存储库和密钥
sudo yum install https://repo.saltstack.com/yum/redhat/salt-repo-latest-2.el7.noarch.rpm
  • 清楚yum过期缓存
sudo yum clean expire-cache
  • 依次执行下面命令安装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
  • 以安装salt-minion为例。安装完成启动minion
sudo systemctl start salt-minion

其他系统安装saltstack参考:

猜你在找的CentOS相关文章