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
728x90
'IT 관련 > Linux' 카테고리의 다른 글
| dnf 로 설치할 수 있는 패키지 버전 확인 방법 (0) | 2026.02.10 |
|---|---|
| cargo 이용해서 빌드하는 법 (온라인망 -> 폐쇄망) (0) | 2025.10.20 |
| [linux] VM에서 rhel7.9 설치 후 ip 변경 및 설정 (mobaxterm 연결) (0) | 2025.09.11 |
| [Linux 기초] 프로그램 & 프로세스 (0) | 2025.01.22 |
| [Linux 기초] 명령어 실행 사이클 (0) | 2025.01.22 |