linux 上安装及配置 salt-minion

下面是salt-minion的安装记录

########################################################################

在 centos6 或 centos7 上安装 salt-minion

   rpm --import https://repo.saltstack.com/yum/redhat/6/x86_64/archive/2018.3.2/SALTSTACK-GPG-KEY.pub
或 rpm --import https://repo.saltstack.com/yum/redhat/7/x86_64/archive/2018.3.2/SALTSTACK-GPG-KEY.pub

rpm --import  https://repo.saltstack.com/yum/redhat/salt-repo-2019.2.el6.noarch.rpm

rpm --import install salt-repo-2019.2.el6.noarch.rpm

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/archive/2018.3.2
enabled=1
gpgcheck=1
gpgkey=https://repo.saltstack.com/yum/redhat/$releasever/$basearch/archive/2018.3.2/SALTSTACK-GPG-KEY.pub

yum clean expire-cache
yum install --releasever=6 salt-minion
或 yum ins

你可能感兴趣的:(IT平台,linux,centos,运维)