Ubuntu下面更新,安装,管理软件非常方便,移入centos麻烦事情就来了。
但是centos是大部分服务器的选择,那就得好好学咯。
一个好的方法就是利用epel。
epel介绍:
官网介绍。
EPEL(http://fedoraproject.org/wiki/EPEL) 是由 Fedora 社区打造,为 RHEL 及衍生发行版如 CentOS、Scientific Linux 等提供高质量软件包的项目。装上了 EPEL,就像在 Fedora 上一样,可以通过 yum install package-name,随意安装软件。
安装 EPEL :
* RHEL 4(centos 4): su -c 'rpm -Uvh http://download.fedora.redhat.com/pub/epel/4/i386/epel-release-4-9.noarch.rpm'
* RHEL 5(centos 5): su -c 'rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm'
rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-6.noarch.rpm
rpm -Uvh http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh http://mirrors.sohu.com/fedora-epel/6/i386/epel-release-6-8.noarch.rpm
注意看i386是32位,
x86_64是64位。
epel装好后运行,来更新稳定包版本:
yum update
epel安装完毕之后,即可使用 yum 来安装软件,比如 Nagios:
yum install nagios
若要查看 EPEL Repo 中是否存在某个软件包:
yum search package-name
安装好之后,运行命令:yum repolist,看看结果
epel Extra Packages for Enterprise Linux 6 - x86_64 9,412
配置EPEL YUM源
=
0
9
8
7
…
%
¥
#
相关推荐
该文档指导在centos6.5中配置EPEL源
CentOS yum添加EPEL源方法.docx
centos 6推荐使用epel源,可以yum 安装 更多软件.
当前能用的centos6的yum源
该CentOS系统镜像源包含以下几个镜像源: 阿里云、 清华大学镜像源 epel镜像源 前提:需要系统可正常访问外网 第一次加载刷新yum缓存时,速度可能会慢一些,但是加载完以后使用yum安装软件包的时候速度还是很快的,...
centos7 yum源的配置文件,参考连接https://blog.csdn.net/lqh_linux/article/details/120758105
EPEL (Extra Packages for Enterprise Linux,企业版Linux的额外软件包) 是Fedora小组维护的一个软件仓库项目,为RHEL/CentOS提供他们默认不提供的软件包。这个源兼容RHEL及像CentOS和Scientific Linux这样的衍生...
EPEL (Extra Packages for Enterprise Linux,企业版Linux的额外软件包) 是Fedora小组维护的一个软件仓库项目,为RHEL/CentOS提供他们默认不提供的软件包。这个源兼容RHEL及像CentOS和Scientific Linux这样的衍生...
安装步骤:https://blog.csdn.net/weixin_38642130/article/details/86339102 查阅了一些资料进行整理,记录学习之旅,分享给大家共同学习进步!
下载地址 https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo https://mirrors.aliyun.com/repo/epel-archive-8.repo
本篇文章主要介绍了CentOS使用EPEL源的方法步骤,小编觉得挺不错的,现在分享给大家,也给大家做个参考。一起跟随小编过来看看吧
另在拉取的机子上配置好阿里的base源和epel源。 1.修改yum源仓库 [root@mini2 /]# rm -rf /etc/yum.repos.d/* [root@mini2 /]# wget -O /etc/yum.repos.d/base.repo ...
#下载阿里云源和epel源 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo 2、下载redis ...
CentOS-Base.repo AND epel.repo
该脚本将在最小和新的CentOS 7系统上安装所有具有ISPConfig 3完整配置所需的内容。 它没有任何保证,需要肯定地加以改进! 这项工作是基于您必须先阅读本文档和脚本本身。 您必须全新安装CentOS 7,没有安装任何...
epel-release-6-8.noarch.rpm,centos6.8_64位2021年测试可用
官方离线安装包,亲测可用。使用rpm -ivh [rpm完整包名] 进行安装
RHEL.Centos.Fedora第三方软件库(pbone.EPEL.RPMForge.RPMFusion)使用配置
更新yum源 cd /etc/yum.repos.d mv CentOS-Base.repo CentOS-Base.repo.save wget http://mirrors.sohu.com/help/CentOS-Base-sohu.repo yum update yum makecache 安装高版本mysql wget ...
主要介绍了CentOS7 阿里云的yum源使用详解的相关资料,这里对备份yum源,添加EPEL源,和缓存清理,进行了介绍,需要的朋友可以参考下