RHEL/CentOS 5,6,7 ์— EPEL ๊ณผ Remi Repository ์„ค์น˜ํ•˜๊ธฐ

์—…๋ฐ์ดํŠธ๋˜์ง€ ์•Š๋Š” ๋ฌธ์„œ์ž…๋‹ˆ๋‹ค. ๋Œ€์‹  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

CentOS 7 / RHEL 7

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

CentOS 6 / RHEL 6

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



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


RHEL 7/CentOS 7

7์—์„œ Remi ์ €์žฅ์†Œ๋ฅผ ์‚ฌ์šฉํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” epel ์ €์žฅ์†Œ๊ฐ€ ์„ค์ •๋˜์–ด์•ผ ํ•œ๋‹ค.

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


RHEL 6/CentOS 6

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

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
  • --enablerepo ์˜ต์…˜์œผ๋กœ ์‚ฌ์šฉํ•  repository ๋ฅผ ์ง€์ •ํ•œ๋‹ค.

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

๊ฐ™์ด ๋ณด๊ธฐ

์™ธ๋ถ€ ๋งํฌ