OS:Centos 6.4
Master安装:
1、更新python
Centos 6.4 默认安装的是 python-2.6.6-36.el6.x86_64,需要升级到 python-2.6.6-64.el6.x86_64才行
yum -y install python-2.6.6-64.el6.x86_64
2、保存saltstack.repo
rpm --import https://repo.saltstack.com/yum/redhat/6/x86_64/latest/SALTSTACK-GPG-KEY.pub
或者:
vi /etc/yum.repos.d/saltstack.repo
[saltstack-repo]
name=SaltStack repo for RHEL/CentOS $releasever
baseurl=https://repo.saltstack.com/yum/redhat/$releasever/$basearch/latest
enabled=1
gpgcheck=1
gpgkey=https://repo.saltstack.com/yum/redhat/$releasever/$basearch/latest/SALTSTACK-GPG-KEY.pub
3、yum 安装 salt-master
yum clean expire-cache
yum install salt-master
yum install salt-minion
yum install salt-ssh
yum install salt-syndic
yum install salt-cloud
Minion安装:
1、OS:Windows 2008 R2
依赖:vc2008x64
master:IP地址
Hostname:TEST1
2、OS:centos 6.4
更新python,python-2.6.6-36.el6.x86_64升级到python-2.6.6-64.el6.x86_64
yum -y install python-2.6.6-64.el6.x86_64
rpm --import https://repo.saltstack.com/yum/redhat/6/x86_64/latest/SALTSTACK-GPG-KEY.pub
保存saltstack.repo
vi /etc/yum.repos.d/saltstack.repo
[saltstack-repo]
name=SaltStack repo for RHEL/CentOS $releasever
baseurl=https://repo.saltstack.com/yum/redhat/$releasever/$basearch/latest
enabled=1
gpgcheck=1
gpgkey=https://repo.saltstack.com/yum/redhat/$releasever/$basearch/latest/SALTSTACK-GPG-KEY.pub
yum clean expire-cache
yum install salt-master
yum install salt-minion
yum install salt-ssh
yum install salt-syndic
yum install salt-cloud