0 目的
更新yum
1 设备
HP + CentOS
2 步骤
echo 135.251.207.221 rock901.atc >>/etc/hosts
rm -rf /etc/yum.repos.d/*
curl -o /etc/yum.repos.d/CentOS-Local.repo http://rock901.atc/downloads/CentOS-Local.repo
yum clean all
yum makecache
更新yum
HP + CentOS
echo 135.251.207.221 rock901.atc >>/etc/hosts
rm -rf /etc/yum.repos.d/*
curl -o /etc/yum.repos.d/CentOS-Local.repo http://rock901.atc/downloads/CentOS-Local.repo
yum clean all
yum makecache
本文标题:12
本文链接:https://www.haomeiwen.com/subject/vbtidftx.html
网友评论