配置Centos Yum官方源
-
定位到下载源
https://vault.centos.org/6.7/os/x86_64/Packages/
-
搜索关键字,如下
centos-release
-
下载包
curl -O https://vault.centos.org/6.7/os/x86_64/Packages/centos-release-6-7.el6.centos.12.3.x86_64.rpm
-
安装
定位到下载源
https://vault.centos.org/6.7/os/x86_64/Packages/
搜索关键字,如下
centos-release
下载包
curl -O https://vault.centos.org/6.7/os/x86_64/Packages/centos-release-6-7.el6.centos.12.3.x86_64.rpm
安装