MENU

saltstatck 安装部署

January 1, 2018 • Read: 1836 • 应用搭建阅读设置

安装 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

兼总条贯 知至知终

最后编辑于: April 2, 2018