CentOS 7 x86_64适用的EPEL安装源 国内镜像列表
EPEL 是 Extra Packages for Enterprise Linux 的缩写(EPEL),是用于 Fedora-based Red Hat Enterprise Linux (RHEL) 的一个高质量软件源EPEL() 是由 Fedora 社区打造,为 RHEL 及衍生发行版如 CentOS、Scientific Linux 等提供高质量软件包的项目。
安装EPEL源
官方源直接安装
rpm -Uvh .noarch.rpm 国内的往往速度会更快
中科大镜像源 高质量源
rpm -Uvh .0.1406/extras/x86_64/arch.rpm
浙大源 也非常不错
rpm -Uvh .noarch.rpm
#上海交大源,更新比较快
rpm -Uvh .noarch.rpm
#还有东北的活雷锋东软的源,最近有些抽风,经常打不开
.noarch.rpm
#sohu镜像源,更新比较慢
rpm -Uvh .noarch.rpm
配置EPEL源设置
vi /pos.po
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
baseurl=/$basearch
#mirrorlist==epel-7&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
[epel-debuginfo]
name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
baseurl=/$basearch/debug
#mirrorlist==epel-debug-7&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
gpgcheck=1
[epel-source]
name=Extra Packages for Enterprise Linux 7 - $basearch - Source
baseurl=
#mirrorlist==epel-source-7&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
gpgcheck=1
vi /pos.po
[epel-testing]
name=Extra Packages for Enterprise Linux 7 - Testing - $basearch
baseurl=/$basearch
#mirrorlist==testing-epel7&arch=$basearch
failovermethod=priority
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
[epel-testing-debuginfo]
name=Extra Packages for Enterprise Linux 7 - Testing - $basearch - Debug
baseurl=/$basearch/debug
#mirrorlist==testing-debug-epel7&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
gpgcheck=1
[epel-testing-source]
name=Extra Packages for Enterprise Linux 7 - Testing - $basearch - Source
baseurl=
#mirrorlist==testing-source-epel7&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
gpgcheck=1
这是已经替换好上海交大源的文件,如果想使用中科大的,请用://ftp.sjtu.edu/fedora/就可。其它以此来推。
运行命令生成缓存
yum clean all && yum makecache 选择速度最快的yum源
yum安装插件yum-plugin-fastestmirror
yum install yum-plugin-fastestmirror
本文发布于:2024-02-03 00:17:04,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/170689062447404.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |