CentOS6/7 使用saltstack源安装saltstack
原文:https://blog.csdn.net/wh211212/article/details/77053708
CentOS 7下SaltStack安装配置详解------------https://www.linuxidc.com/Linux/2017-10/147566.htm
CentOS6安装Saltstack
- 运行以下命令来安装SaltStack存储库和密钥
sudo yum install https://repo.saltstack.com/yum/redhat/salt-repo-latest-2.el6.noarch.rpm
- 1
- 清楚yum过期缓存
sudo yum clean expire-cache
- 1
- 依次执行下面命令安装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
- 1
- 2
- 3
- 4
- 5
- 6
- 以安装salt-minion为例。安装完成启动minion
sudo service salt-minion start
- 1
CentOS7安装saltstack
- 运行以下命令来安装SaltStack存储库和密钥
sudo yum install https://repo.saltstack.com/yum/redhat/salt-repo-latest-2.el7.noarch.rpm
- 1
- 清楚yum过期缓存
sudo yum clean expire-cache
- 1
- 依次执行下面命令安装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
- 1
- 2
- 3
- 4
- 5
- 6
- 以安装salt-minion为例。安装完成启动minion
sudo systemctl start salt-minion