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安装:
[[email protected] ~]#yum install -y salt-master python-setproctitle
Salt Master启动:
[[email protected] ~]#/etc/init.d/salt-master start
Salt Master加入开机启动:
[[email protected] ~]# chkconfig salt-master on
Salt Minion安装:
[[email protected] ~]#yum install -y salt-minion
Salt Minion 启动:
[[email protected] ~]#/etc/init.d/salt-minion start
Salt Minion 加入开机启动:
[[email protected] ~]#chkconfig salt-minion on
原文地址:http://blog.51cto.com/ilctc/2104863
时间: 2024-11-09 03:17:42