CentOS6.5 添加epel源

1.epel简介: https://fedoraproject.org/wiki/EPEL/zh-cn

rpm -Uvh http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

以上URL请按实际情况修改

2.查看是否安装成功

rpm -q epel-release

3.导入key:

 rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

4.修改/etc/yum.repos.d/epel.repo文件

在[epel]最后添加一条属性 priority=11

vi /etc/yum.repos.d/epel.repo

意思是yum先去官方源查,官方没有再去epel的源找

5.安装yum优先级插件

yum install yum-priorities

6.

yum makecache
时间: 2024-07-31 14:23:08

CentOS6.5 添加epel源的相关文章

centos6.4添加yum源

一.更换163源 #mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup #wget http://mirrors.163.com/.help/CentOS6-Base-163.repo #mv CentOS6-Base-163.repo CentOS-Base.repo #yum makecache #yum update ***********************************

Centos6.5添加Epel和Remi源安装Lamp环境

想搭建一个Lamp环境,因为编译安装太麻烦,对于我这样的新手来说,太过于复杂.而CentOS自带的Apache.MySql和PHP的版本都太低,不想用.上百度搜了一轮,原来可以通过添加Epel和Remi源来解决.对于Epel源和Remi源,网友是这样介绍的: EPEL源 EPEL,即Extra Packages for Enterprise Linux,是由 Fedora 社区创建维护,为 RHEL 及衍生发行版如 CentOS.Scientific Linux 等提供高质量软件包的项目.EPE

Centos 7 添加epel源

由于部分包仅存在于epel源中,所以我们在centos中添加: 以下提供了2种方法,1手动,2自动 1.手动方法 vi/etc/yum.repos.d/epel.repo 添加以下代码 [epel] name=ExtraPackages for Enterprise Linux 7 - $basearch #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch mirrorlist=https://mirrors.fedor

CentOS6.5安装 EPEL 源

安装 EPEL 源 EPEL 是 Extra Packages for Enterprise Linux 的缩写(EPEL),是用于 Fedora-based Red Hat Enterprise Linux (RHEL) 的一个高质量软件源,所以同时也适用于 CentOS 或者 Scientific Linux 等发行版. 为了保证系统的稳定性,强烈建议安装使用 YUM 的优先级控制功能. yum install http://mirrors.sohu.com/fedora-epel/6/x8

centos6.5的epel源安装脚本

epel源是对yum源的补充 [[email protected] omserver ~]# vim epel.sh #!/bin/bash yum install -y yum-priorities rpm -Uvh http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6

<摘录>CentOS6.5下添加epel源

0.安装yum优先级插件 yum install yum-priorities 1.epel简介: https://fedoraproject.org/wiki/EPEL/zh-cn rpm -Uvh http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm 以上UR

centos下添加epel源

RHEL以及他的衍生发行版如CentOS.Scientific Linux为了稳定,官方的rpm repository提供的rpm包往往是很滞后的,当然了,这样做这是无可厚非的,毕竟这是服务器版本,安全稳定是重点,官方的rpm repository提供的rpm包也不够丰富,很多时候需要自己编译那太辛苦了,而EPEL恰恰可以解决这两方面的问题. 什么是EPEL? EPEL的全称叫 Extra Packages for Enterprise Linux .EPEL是由 Fedora 社区打造,为 R

centos添加epel源

1. rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm    粗体部分需要根据自己的的环境自行选择 2. rpm -import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL 这步可做可不做(因为用yum安装软件的时候根据提示选择y可以自动导入) 3. 修改/etc/yum.repos.d/epel.repo文件,在[epel]最后添加一条属性 priorit

centos 下添加epel源

来源于http://www.centoscn.com/CentOS/config/2014/0920/3793.html,收录备用 0.安装yum优先级插件 yum install yum-priorities 1.epel简介: https://fedoraproject.org/wiki/EPEL/zh-cn rpm -Uvh http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -Uv