CentOS配置epel源
2016-05-26 12:51
375 查看
CentOS配置EPEL
EPEL (Extra Packages for Enterprise Linux,企业版Linux的额外软件包) 是Fedora小组维护的一个软件仓库项目,为RHEL/CentOS提供他们默认不提供的软件包。这个源兼容RHEL及像CentOS和Scientific Linux这样的衍生版本。
详情请参考:
https://fedoraproject.org/wiki/EPEL
1、判断本机系统版本:
[root@localhost home]# lsb_release -a
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.6 (Final)
Release: 6.6
Codename: Final
2、根据版本下载EPEL的rpm安装包
CentOS下的6.x和5.x版本下载页面如下: http://download.fedoraproject.org/pub/epel/6/i386/repoview/epel-release.html http://download.fedoraproject.org/pub/epel/5/i386/repoview/epel-release.html
上述链接会被重定向到下载速度比较快的一个镜像源,点击页面中的epel-release-6-8.noarch下载
例如:
http://mirrors.opencas.cn/epel/6/i386/epel-release-6-8.noarch.rpm
3、安装
rpm -ivh epel-release-6-8.noarch.rpm
5. 检查EPEL 源
安装好EPEL 源后,用yum 命令来检查是否添加到源列表
[root@localhost home]# yum repolist
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
epel/metalink | 5.1 kB 00:00
* base: mirrors.opencas.cn
* epel: mirrors.opencas.cn
* extras: mirror.bit.edu.cn
* updates: mirrors.opencas.cn
epel | 4.3 kB 00:00
epel/primary_db | 5.7 MB 00:23
repo id repo name status
base CentOS-6 - Base 6,575
epel Extra Packages for Enterprise Linux 6 - x86_64 11,747
extras CentOS-6 - Extras 44
updates CentOS-6 - Updates 488
repolist: 18,854
6、安装测试(标准库中是没有phpldapadmin的)
[root@localhost httpd]# yum install phpldapadmin
Loaded plugins: fastestmirror, refresh-packagekit, security
...
...
Installed:
phpldapadmin.noarch 0:1.2.3-1.el6
Complete!
7、完成
EPEL (Extra Packages for Enterprise Linux,企业版Linux的额外软件包) 是Fedora小组维护的一个软件仓库项目,为RHEL/CentOS提供他们默认不提供的软件包。这个源兼容RHEL及像CentOS和Scientific Linux这样的衍生版本。
详情请参考:
https://fedoraproject.org/wiki/EPEL
1、判断本机系统版本:
[root@localhost home]# lsb_release -a
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.6 (Final)
Release: 6.6
Codename: Final
2、根据版本下载EPEL的rpm安装包
CentOS下的6.x和5.x版本下载页面如下: http://download.fedoraproject.org/pub/epel/6/i386/repoview/epel-release.html http://download.fedoraproject.org/pub/epel/5/i386/repoview/epel-release.html
上述链接会被重定向到下载速度比较快的一个镜像源,点击页面中的epel-release-6-8.noarch下载
例如:
http://mirrors.opencas.cn/epel/6/i386/epel-release-6-8.noarch.rpm
3、安装
rpm -ivh epel-release-6-8.noarch.rpm
5. 检查EPEL 源
安装好EPEL 源后,用yum 命令来检查是否添加到源列表
[root@localhost home]# yum repolist
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
epel/metalink | 5.1 kB 00:00
* base: mirrors.opencas.cn
* epel: mirrors.opencas.cn
* extras: mirror.bit.edu.cn
* updates: mirrors.opencas.cn
epel | 4.3 kB 00:00
epel/primary_db | 5.7 MB 00:23
repo id repo name status
base CentOS-6 - Base 6,575
epel Extra Packages for Enterprise Linux 6 - x86_64 11,747
extras CentOS-6 - Extras 44
updates CentOS-6 - Updates 488
repolist: 18,854
6、安装测试(标准库中是没有phpldapadmin的)
[root@localhost httpd]# yum install phpldapadmin
Loaded plugins: fastestmirror, refresh-packagekit, security
...
...
Installed:
phpldapadmin.noarch 0:1.2.3-1.el6
Complete!
7、完成
相关文章推荐
- STORM_0003_linux_zookeeper_storm_遇到的几个问题
- Linux 下的man page
- Linux centos 下 eclipse 打开文件时关闭
- Centos 6.6 Mysql 安装报错解决
- 常见的Linux发行版
- [置顶] 【Linux】 find指令(文件查找)
- [置顶] 【Linux】 Linux常用命令大全
- [置顶] 【Linux】 安装VMware Workstation提示the msi failed的解决办法
- tar 解压缩命令详解
- Linux下的桥接模式和Nat模式的区别
- linux之间copy传输文件方法
- Linux chown命令详解
- Linux CentOS6.5下编译安装MySQL 5.6.16【给力详细教程】
- Linux chmod命令详解
- Linux时间函数之gettimeofday()函数之使用方法
- linux系统Centos环境下如何搭建SVN服务器
- linux分析日志的一些常用方法
- Ubuntu Linux下通过代理(proxy)使用git上github.com
- Linux NFS服务器的安装与配置
- Linux同步技术之条件变量