12

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

3 原理

你可能感兴趣的:(12)