리눅스/CentOS

CentOS 8 dnf(yum) 저장소(repository) 기본값

씨실과 날실 2020. 1. 4. 10:30

CentOS 8 dnf(= yum) 저장소(repository)


CentOS-Base.repo

CentOS-AppStream.repo

CentOS-Extras.repo

CentOS-CR.repo

CentOS-Debug.repo

CentOS-Media.repo

CentOS-PowerTools.repo

CentOS-Sources.repo

CentOS-Vault.repo

CentOS-centosplus.repo

CentOS-fasttrack.repo

CentOS 8의 패키지 저장소는 위 목록과 같이 기본적으로 11개의 저장소가 구성되어 있고 그중 아래 세개의 저장소가 기본적으로 활성화되어 있습니다.

CentOS-Base.repo / CentOS-AppStream.repo / CentOS-Extras.repo

나머지 저장소는 비활성화되어 있고 추후에 사용자의 필요에 따라 활성화할 수 있습니다.

위에서 열거한 11개의 CentOS 8 전용 저장소 외에 EPEL(Extra Packages of Enterprise Linux) 저장소와 Remi 저장소 등 외부 저장소를 추가하여 사용할 수 있습니다.

/etc/yum.repos.d

CentOS 8의 저장소 설정 파일(.repo)은 위 위치에 존재합니다.

CentOS 8의 저장소 설정 파일들의 기본값을 아래에 옮겨놓습니다.

저장소 파일 설정 방법은 추후 설명하도록 하겠습니다.



CentOS 8의 저장소 설정 파일(.repo) 기본값


안내

CentOS의 패키지 업데이트 시 CentOS가 설치된 클라이언트 컴퓨터의 IP 주소와 각 미러의 업데이트 상태를 토대로 업데이트하고자 하는 클라이언트 컴퓨터와 지리적으로 가까운 미러사 자동으로 선택됩니다.

종종 자신의 컴퓨터와 지리적으로 먼 미러가 선택되는 경우가 있습니다. 또는 극히 드물겠지만 미러 목록(mirrorlist)이 작동하지 않는 경우도 있을 수 있습니다.

그런 경우, repo 설정 파일에서 미러 목록(mirrorlist)를 비활성화하고 baseurl= 줄을 편집해 자신이 원하는 미러를 지정하여 활성화할 수 있습니다.

우리는 한국 미러 서버를 사용하는 것이 속도 면에서 유리할 것입니다. 국내의 많은 CentOS 사용자들이 카카오 미러 서버를 업데이트 서버로 지정해 사용하고 있습니다.


CentOS-Base.repo

# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[BaseOS]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=BaseOS&infra=$infra
#baseurl=http://mirror.centos.org/$contentdir/$releasever/BaseOS/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial


CentOS-AppStream.repo

# CentOS-AppStream.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[AppStream]
name=CentOS-$releasever - AppStream
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=AppStream&infra=$infra
#baseurl=http://mirror.centos.org/$contentdir/$releasever/AppStream/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial


CentOS-Extras.repo

# CentOS-Extras.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
#baseurl=http://mirror.centos.org/$contentdir/$releasever/extras/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial


CentOS-CR.repo

# CentOS-CR.repo
#
# The Continuous Release ( CR )  repository contains rpms that are due in the next
# release for a specific CentOS Version ( eg. next release in CentOS-8 ); these rpms
# are far less tested, with no integration checking or update path testing having
# taken place. They are still built from the upstream sources, but might not map
# to an exact upstream distro release.
#
# These packages are made available soon after they are built, for people willing
# to test their environments, provide feedback on content for the next release, and
# for people looking for early-access to next release content.
#
# The CR repo is shipped in a disabled state by default; its important that users
# understand the implications of turning this on.
#
# NOTE: We do not use a mirrorlist for the CR repos, to ensure content is available
#       to everyone as soon as possible, and not need to wait for the external
#       mirror network to seed first. However, many local mirrors will carry CR repos
#       and if desired you can use one of these local mirrors by editing the baseurl
#       line in the repo config below.
#

[cr]
name=CentOS-$releasever - cr
baseurl=http://mirror.centos.org/$contentdir/$releasever/cr/$basearch/os/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial


CentOS-CR.repo에 대하여

CR (Continuous Release) 저장소에는 CentOS 버전의 다음 릴리스 (예 : CentOS-8의 다음 릴리스)에 예정된 rpm이 포함됩니다. 이러한 rpm은 훨씬 덜 테스트되었으며 통합 확인 또는 업데이트 경로 테스트가 수행되지 않았습니다. 이 rpm들은 ​​업스트림 소스에서 빌드되었지만 실제로 업스트림 배포판으로 매핑되지 않을 수도 있습니다.

이러한 패키지는 환경을 테스트하려는 사용자, 다음 릴리스의 콘텐츠에 대한 피드백 및 다음 릴리스 콘텐츠를 보다 뻘리 사용해보고자 하는 사용자를 위해 빌드된 직후 제공됩니다.

CR 저장소는 기본적으로 비활성화된 상태로 제공됩니다. CR 저장소에 업로드된 패키지들은 일반적인 경로로 배포된 패키지들보다 덜 테스트되어 예기치 못한 오류가 발생할 수 있음을 사용자가 인지하고 있어야 합니다.

CentOS는 CR 저장소에는 미러리스트를 사용하지 않습니다. 그러나 많은 지역 미러 서버들이 CR 리포(repos)를 가지고 있으며, 원한다면 아래의 저장소 설정 파일에서 baseurl 줄을 편집하여 자신이 언하는 미러 서버의 CR 저장소를 사용할 수 있습니다.


CentOS-Debug.repo

# CentOS-Debug.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#

# All debug packages from all the various CentOS-8 releases
# are merged into a single repo, split by BaseArch
#
# Note: packages in the debuginfo repo are currently not signed
#

[base-debuginfo]
name=CentOS-$releasever - Debuginfo
baseurl=http://debuginfo.centos.org/$releasever/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial


CentOS-Debug.repo에 대하여

다양한 CentOS-8 릴리즈의 모든 디버그 패키지가 BaseArch에 의해 분리된 단일 저장소로 병합됩니다.

참고로 debuginfo 저장소의 패키지는 현재 서명되지 않았습니다.


CentOS-Media.repo

# CentOS-Media.repo
#
#  This repo can be used with mounted DVD media, verify the mount point for
#  CentOS-8.  You can use this repo and yum to install items directly off the
#  DVD ISO that we release.
#
# To use this repo, put in your DVD and use it with the other repos too:
#  yum --enablerepo=c8-media [command]
#
# or for ONLY the media repo, do this:
#
#  yum --disablerepo=\* --enablerepo=c8-media [command]

[c8-media-BaseOS]
name=CentOS-BaseOS-$releasever - Media
baseurl=file:///media/CentOS/BaseOS
        file:///media/cdrom/BaseOS
        file:///media/cdrecorder/BaseOS
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

[c8-media-AppStream]
name=CentOS-AppStream-$releasever - Media
baseurl=file:///media/CentOS/AppStream
        file:///media/cdrom/AppStream
        file:///media/cdrecorder/AppStream
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial


CentOS-Media.repo에 대하여

이 저장소는 마운트된 DVD 미디어와 함께 사용할 수 있습니다. 이 저장소(repo)와 dnf(= yum)를 사용하여 릴리스 한 DVD ISO에서 직접 항목을 설치할 수 있습니다.

DVD 미디어 및 다른 저장소와 함께 이 저장소를 사용하려면 아래 명령을 사용하십시오.

yum --enablerepo=c8-media [command]

미디어 저장소만 사용하려면 다음 명령을 ㅠ사용하십시오.

yum --disablerepo=\* --enablerepo=c8-media [command]



CentOS-PowerTools.repo

# CentOS-PowerTools.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[PowerTools]
name=CentOS-$releasever - PowerTools
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=PowerTools&infra=$infra
#baseurl=http://mirror.centos.org/$contentdir/$releasever/PowerTools/$basearch/os/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial


CentOS-Sources.repo

# CentOS-Sources.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[BaseOS-source]
name=CentOS-$releasever - BaseOS Sources
baseurl=http://vault.centos.org/$contentdir/$releasever/BaseOS/Source/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

#AppStream
[AppStream-source]
name=CentOS-$releasever - AppStream Sources
baseurl=http://vault.centos.org/$contentdir/$releasever/AppStream/Source/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

#additional packages that may be useful
[extras-source]
name=CentOS-$releasever - Extras Sources
baseurl=http://vault.centos.org/$contentdir/$releasever/extras/Source/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

#additional packages that extend functionality of existing packages
[centosplus-source]
name=CentOS-$releasever - Plus Sources
baseurl=http://vault.centos.org/$contentdir/$releasever/centosplus/Source/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial


CentOS-Vault.repo

# CentOS Vault contains rpms from older releases in the CentOS-8
# tree.


CentOS Vault에는 CentOS-8 트리에 있는 이전 릴리스의 rpm들이 들어 있습니다.


CentOS-centosplus.repo

# CentOS-centosplus.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
#baseurl=http://mirror.centos.org/$contentdir/$releasever/centosplus/$basearch/os/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial


CentOS-fasttrack.repo

#CentOS-fasttrack.repo

[fasttrack]
name=CentOS-$releasever - fasttrack
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=fasttrack&infra=$infra
#baseurl=http://mirror.centos.org/$contentdir/$releasever/fasttrack/$basearch/os/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial