V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Livid
267.72D
571.1D
V2EX  ›  CentOS

在 CentOS 6.2 上启用 EPEL

  •  
  •   Livid ·
    PRO
    · May 4, 2012 · 5264 views
    This topic created in 5110 days ago, the information mentioned may be changed or developed.
    用 root 权限运行:

    rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm

    这样你就可以安装很多只有在 EPEL 中才有的包,比如 nginx 和 supervisord 等。

    EPEL 是 Extra Packages for Enterprise Linux 的缩写,即面向 Linux 企业应用的额外软件包。关于 EPEL 的更多信息可以从这里了解:

    http://fedoraproject.org/wiki/EPEL
    4 replies    1970-01-01 08:00:00 +08:00
    aveline
        1
    aveline  
       May 4, 2012
    搭车推荐一下remi repo。
    内有各种软件包的rpm,而且版本都很新。
    Livid
        3
    Livid  
    MOD
    OP
    PRO
       Aug 30, 2012
    Kvm
        4
    Kvm  
       Jan 8, 2014
    if cat /etc/issue| grep 'OS release 5';then rpm -ivh http://download4.fedora.redhat.com/pub/epel/5/`uname -i`/epel-release-5-4.noarch.rpm;rpm -ivh http://apt.sw.be/redhat/el5/en/`uname -i`/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.`uname -i`.rpm;fi
    if cat /etc/issue| grep 'OS release 6';then rpm -ivh http://download4.fedora.redhat.com/pub/epel/6/`uname -i`/epel-release-6-8.noarch.rpm;rpm -ivh http://apt.sw.be/redhat/el6/en/`uname -i`/rpmforge/RPMS/rpmforge-release-0.5.2-1.el6.rf.`uname -i`.rpm; fi


    在自用脚本里面已经全弄上了epel和rpmforge的源了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2645 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 13:30 · PVG 21:30 · LAX 06:30 · JFK 09:30
    ♥ Do have faith in what you're doing.