CentOS6/7 使用saltstack源安裝saltstack

weixin_34194087發表於2017-08-21

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參考:

相關文章