对于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
[root@master ~]#yum install -y salt-master python-setproctitle
[root@master ~]#/etc/init.d/salt-master start
[root@master ~]# chkconfig salt-master on
[root@minion ~]#yum install -y salt-minion
[root@minion ~]#/etc/init.d/salt-minion start
[root@minion ~]#chkconfig salt-minion on
原文地址:http://blog.51cto.com/ilctc/2104863