saltstack学习-1-简单部署之rhel5系统安装salt-minion和salt-master(可以联网)

参考文档:

http://docs.saltstack.cn/topics/installation/rhel.html

1,导入gbk文件

#wget http://repo.saltstack.com/yum/redhat/5/x86_64/latest/SALTSTACK-EL5-GPG-KEY.pub
#rpm --import SALTSTACK-EL5-GPG-KEY.pub
#rm -f SALTSTACK-EL5-GPG-KEY.pub
2,创建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-EL5-GPG-KEY.pub

3,安装salt-minion/salt-master

#yum install salt-minion
#yum install salt-master
posted @ 2018-01-02 18:36  snailshadow  阅读(397)  评论(0编辑  收藏  举报