1.登录服务器,切换root cd /etc/yum.repos.d 传 saltstack.repo 到目录中 安装salt-minion yum install salt-minion -y修改minion配置 vim /etc/salt/minion master: CNSZ17VL6715 重启minion service salt-minion restart 或 systmctl restart salt-minion