存在的记忆

saltstatck 安装部署

安装 saltstack

yum install salt-master salt-minion -y

开机配置

systemctl enable salt-master && chkconfig salt-master on
systemctl enable salt-minion && chkconfig salt-minion on
systemctl start  salt-master && service  salt-master start
systemctl start  salt-minion && service  salt-minion start

安装 minion 端(agent)

yum install salt-minion -y

指定 master 地址 ip

sed -i 's/#master: salt/master: 192.168.0.109/g' /etc/salt/minion

systemctl enable salt-minion && chkconfig salt-minion on
systemctl restart salt-minion && service salt-minion restart

当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »