Centos7.x RHEL 配置EPEL第三方YUM源
2015-09-26 14:09
603 查看
转自:http://linux.it.net.cn/CentOS/course/2014/1214/10265.html(已经改正原文中地址失效的问题)
(经测试,此源可以安装yumex)
具体请参见:http://fedoraproject.org/wiki/EPEL
通过wget命令下载RPM文件,然后安装。
使用一下命令:
例如想查看cacti信息
IT网,http://www.it.net.cn
安装则执行以下命令:
Note: Epel的配置文件在/etc/yum.repos.d/epel.repo.
(经测试,此源可以安装yumex)
Epel介绍
具体请参见:http://fedoraproject.org/wiki/EPEL
如何安装 Epel源到 RHEL/CentOS 7/6/5?
通过wget命令下载RPM文件,然后安装。
RHEL/CentOS 7
# wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm # rpm -ivh epel-release-7.noarch.rpm IT网,http://www.it.net.cn
RHEL/CentOS 6
## RHEL/CentOS 6 # wget
http://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm# rpm -ivh epel-release-6.noarch.rpm
如何检查epel是否安装成功?
使用一下命令:# yum repolist
输出如下
[root@Lixiaolong ~]# yum repolist Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.yun-idc.com * epel: ftp.sjtu.edu.cn * extras: mirrors.yun-idc.com * updates: mirrors.yun-idc.com repo id repo name status base/7/x86_64 CentOS-7 - Base 8,465 epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 5,036 extras/7/x86_64 CentOS-7 - Extras 30 updates/7/x86_64 CentOS-7 - Updates 423 repolist: 13,954 [root@Lixiaolong ~]# IT网,http://www.it.net.cn
如何使用epel源安装软件?
例如想查看cacti信息# yum --enablerepo=epel info cacti
IT网,http://www.it.net.cn
安装则执行以下命令:
# yum --enablerepo=epel install cacti
Note: Epel的配置文件在/etc/yum.repos.d/epel.repo.
相关文章推荐
- Centos6 编译安装Python
- 硬盘安装CentOS 6.2以及添加GRUB启动菜单
- CentOS 6.2实战部署Nginx+MySQL+PHP
- CentOS 7系统配置上的变化解析
- CentOS下DB2数据库安装过程详解
- CentOS 6.3下编译安装Ruby 2.0笔记
- 在Centos 5.5 上编译安装mysql 5.5.9
- CentOS 6.5源码安装Erlang教程
- centos 5.6 升级php到5.3的方法
- CentOS mysql安装系统方法
- centos下安装mysql服务器的方法
- CentOS 5.1 4.6最新官方下载地址列表
- Centos搭建GTK+Codeblock完整版
- CentOS 5.1下跑Mono和Asp.net的实现方法
- centos 安装免费控制面板kloxo步骤
- CentOS服务器+监控宝SNMP监控全攻略分享
- Centos 5下配置https服务器的方法
- centos 5.1下的安全设置(适合所有的linux版本)