ubuntu16.04_install_saltstack_更新版本

 

一、ubuntu16.04版本,安装saltstack

参考官方文档:

https://repo.saltstack.com/#ubuntu

二、安装方法

Installs the latest release. Updating installs the latest release even if it is a new major version. 

  1. Run the following command to import the SaltStack repository key:
    wget -O - https://repo.saltstack.com/apt/ubuntu/16.04/amd64/latest/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
  2. Save the following file to /etc/apt/sources.list.d/saltstack.list:
    deb http://repo.saltstack.com/apt/ubuntu/16.04/amd64/latest xenial main
  3. Run sudo apt-get update

  4. Install the salt-minion, salt-master, or other Salt components:
    • sudo apt-get install salt-master
    • sudo apt-get install salt-minion
    • sudo apt-get install salt-ssh
    • sudo apt-get install salt-syndic
    • sudo apt-get install salt-cloud
    • sudo apt-get install salt-api
  5. (Upgrade only) Restart all upgraded services, for example:
    sudo systemctl restart salt-minion

猜你喜欢

转载自www.cnblogs.com/nulige/p/9067655.html