yum install -y --enablerepo

echo -e "[NOT-CERTIFIED]\nname=NOT-CERTIFIED\nbaseurl=http://xxx/openopen/not-cert/rhel7-x86_64/latest/RPMS.all\nenabled=0\ngpgcheck=0" > /etc/yum.repos.d/NOT-CERTIFIED.repo
yum install -y --enablerepo=NOT-CERTIFIED lrzsz

猜你喜欢

转载自www.cnblogs.com/tonggc1668/p/12394634.html