标签:sys tor using systemctl emctl upd repos min search
查阅来自salt官网:http://docs.saltstack.cn/topics/installation/rhel.html
Version 7: rpm --import https://repo.saltstack.com/yum/redhat/7/x86_64/latest/SALTSTACK-GPG-KEY.pub Version 6: rpm --import https://repo.saltstack.com/yum/redhat/6/x86_64/latest/SALTSTACK-GPG-KEY.pub Version 5: wget https://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
/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
[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
Run sudo
yum clean expire-cache
.
Run sudo
yum update
.
Install the salt-minion, salt-master, or other Salt components:
配置master开机自动启动:
RHEL/CentOS 7
systemctl start salt-master.service
配置Minion开机自动启动:
RHEL/CentOS 7
systemctl start salt-minion.service
标签:sys tor using systemctl emctl upd repos min search
原文地址:http://www.cnblogs.com/pyyu/p/7492914.html