RHEL/CentOS下安装SaltStack

对于Centos和RedHat用户,使用yum安装时最直接和快捷的。首先需要安装EPEL仓库。
For RHEL/CentOS 6
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

Salt Master安装:

[root@master ~]#yum install -y salt-master python-setproctitle

Salt Master启动:

[root@master ~]#/etc/init.d/salt-master start

Salt Master加入开机启动:

[root@master ~]# chkconfig salt-master on

Salt Minion安装:

[root@minion ~]#yum install -y salt-minion

Salt Minion 启动:

[root@minion ~]#/etc/init.d/salt-minion start

Salt Minion 加入开机启动:

[root@minion ~]#chkconfig salt-minion on