IT 관련/Linux

[Kakao repo] rhel7.9에서 kakao.repo 추가하는 법

상어 우두머리 2025. 9. 11. 14:14
728x90

vi /etc/yum.repos.d/Kakao.repo

[base]
name=CentOS-7 - Base
baseurl=http://vault.centos.org/7.9.2009/os/x86_64/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

[updates]
name=CentOS-7 - Updates
baseurl=http://vault.centos.org/7.9.2009/updates/x86_64/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

[extras]
name=CentOS-7 - Extras
baseurl=http://vault.centos.org/7.9.2009/extras/x86_64/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

 

아래 명령어 실행

sudo yum clean all
sudo yum makecache
sudo yum repolist

 

[root@localhost yum.repos.d]# sudo yum makecache
Loaded plugins: product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

base                                                                          | 3.6 kB  00:00:00
extras                                                                        | 2.9 kB  00:00:00
updates                                                                       | 2.9 kB  00:00:00
(1/10): base/group_gz                                                         | 153 kB  00:00:00
(2/10): base/primary_db                                                       | 6.1 MB  00:00:00
(3/10): base/other_db                                                         | 2.6 MB  00:00:00
(4/10): extras/primary_db                                                     | 253 kB  00:00:00
(5/10): extras/other_db                                                       | 154 kB  00:00:00
(6/10): base/filelists_db                                                     | 7.2 MB  00:00:00
(7/10): extras/filelists_db                                                   | 305 kB  00:00:00
(8/10): updates/filelists_db                                                  |  15 MB  00:00:00
(9/10): updates/other_db                                                      | 1.6 MB  00:00:00
(10/10): updates/primary_db                                                   |  27 MB  00:00:01
Metadata Cache Created
[root@localhost yum.repos.d]# sudo yum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

repo id                                   repo name                                            status
base                                      CentOS-7 - Base                                      10,072
extras                                    CentOS-7 - Extras                                       526
updates                                   CentOS-7 - Updates                                    6,173
repolist: 16,771

 

출처 : https://hyunsoft.tistory.com/entry/centos8-yum-repo-%EB%A5%BC-kakaodaum%EC%9C%BC%EB%A1%9C-%EB%B3%80%EA%B2%BD%ED%95%98%EA%B8%B0

728x90