saltstack升級


1.背景

saltstack出現安全漏洞,5.1前后爆出很多設備已經變成礦機。

2.處理方法

升級到最新版本salt

3.官方升級方法

yum install https://repo.saltstack.com/yum/redhat/salt-repo-latest.el6.noarch.rpm  (centos6--python2)

yum install https://repo.saltstack.com/py3/redhat/salt-py3-repo-latest.el7.noarch.rpm (centos7-python3)

yum clean expire-cache

yum install salt-minion

service salt-minion restart

4.yum更新遇到的問題

Cannot open: https://repo.saltstack.com/yum/redhat/salt-repo-latest.el6.noarch.rpm. Skipping.
Error: Nothing to do

解決方法:

yum update wget nss  -y


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM