1. Installing a third-party yum Source
wget -c http:
//dl
.fedoraproject.org
/pub/epel/6/x86_64/epel-release-6-8
.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm
2. The server installs Yum install Salt-master-y3. The client installs the Yum install Salt-minion-y4. Master settings salt-master default profile/etc/salt/master, modify the following configuration: #interface: 0.0.0.0, bind to the local network address interface, default 0.0.0.0 modified to master's IP address # publish_port:4505 set master and Minion authentication communication port #ret_port: 4506 Master sends command or receives Minions execution return information Restart service to be in/etc/sysconfig/ Open Port 5 is set in the Iptables file. Minion set the default profile/etc/salt/minion, set the master entry to restart Salt-minion Service 6 for the master IP address. Perform salt-key on the master side to see if there is an minion that has not been received, if there is an execution salt-key-a accept all, if not, view the log file for master and minion to see the error, or the port is not open. 7. Perform salt ' * ' test.ping Test reference: Install on CentOS 6 using Saltstack and basic management salt-master configuration file in detail the Saltstack Configuration application and basic usage of the first salt CentOS6.3 under Saltstack Installation deployment
CentOS 6.5 Saltstack Deployment record