업데이트되지 않는 문서입니다. 대신 remi 저장소(repository) 설치하기EPEL YUM 저장소 추가 를 참고하세요.


개요

EPEL (Extra Packages for Enterprise Linux) 은 Fedora Project 에서 제공되는 저장소로 각종 패키지의 최신 버전을 제공하는 community 기반의 저장소이다. 

RHEL 의 패키지 정책은 보수적이고 안정성이 최우선이라 패키지 업데이트가 잘 되지 않는다.

최신 버전의 패키지를 사용하고 싶은 경우는 (Ex. MySQL5.5, PHP 5.4 ) epel 이나 remi repository 를 등록하고 이 저장소를 통해서 설치하면 된다.


Installing the epel repository

CentOS 8 / RHEL 8

yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
BASH

CentOS 7 / RHEL 7

yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
BASH

CentOS 6 / RHEL 6

yum install https://archives.fedoraproject.org/pub/archive/epel/6/x86_64/Packages/e/epel-release-6-8.noarch.rpm
BASH



EPEL 에서 제공하는 유용한 패키지들

packagedescription
apachetop 

ApacheTop watches a logfile generated by Apache (in standard common or
: combined logformat, although it doesn't (yet) make use of any of the extra
: fields in combined) and generates human-parsable output in realtime.


atop

An advanced interactive monitor for Linux-systems to view the load on
: system-level and process-level.


munin

Munin is a highly flexible and powerful solution used to create graphs
: of virtually everything imaginable throughout your network, while still
: maintaining a rattling ease of installation and configuration.


ntop

ntop is a network traffic probe that shows the network usage, similar to what
: the popular top Unix command does.



Remi repository 설치

Remi는 LAMP 기반의 최신 패키지를 제공하는 repository이다. 

remi 저장소는 설치해도 기본적으로 활성화 되지 않으므로 yum 사용시  --enablerepo=remi 를 추가하거나 /etc/yum.repos.d/remi.repo 에서 enabled=1 로 설정해야 한다.

RHEL 8/CentOS 8

yum install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
CODE


RHEL 7/CentOS 7

7에서 Remi 저장소를 사용하기 위해서는 epel 저장소가 설정되어야 한다.

yum install https://rpms.remirepo.net/enterprise/remi-release-7.rpm
CODE


RHEL 6/CentOS 6

yum install https://rpms.remirepo.net/enterprise/remi-release-6.rpm
CODE

repository 사용

  • yum repolist 명령어로 모든 repository 가 잘 등록되었는지 확인한다.
    • repolist 에 보이지 않으면  /etc/yum.repos.d/{repositoryname}.repo  를 열어서 enabled= 1 로 수정한다.

      ## remi
      vim /etc/yum.repos.d/remi.repo
      ## epel
      vim /etc/yum.repos.d/epel.repo
      BASH
  • --enablerepo 옵션으로 사용할 repository 를 지정한다.

    ## epel
    yum --enablerepo=epel info php
    ## remi
    yum --enablerepo=remi info php
    BASH

같이 보기

외부 링크