CentOS7 / RHEL7 에서 Daum yum repository 설정방법
// daum.repo 파일 생성
// 아래 경로에서 daum.repo만 남겨놓고 모두 삭제하고 진행해야 한다.
root]# cd /etc/yum.repos.d
root]# vi daum.repo
[base]
name=CentOS-$releasever - Base
baseurl=http://ftp.daum.net/centos/7/os/$basearch/
gpgcheck=1
gpgkey=http://ftp.daum.net/centos/RPM-GPG-KEY-CentOS-7
[updates]
name=CentOS-$releasever - Updates
baseurl=http://ftp.daum.net/centos/7/updates/$basearch/
gpgcheck=1
gpgkey=http://ftp.daum.net/centos/RPM-GPG-KEY-CentOS-7
[extras]
name=CentOS-$releasever - Extras
baseurl=http://ftp.daum.net/centos/7/extras/$basearch/
gpgcheck=1
gpgkey=http://ftp.daum.net/centos/RPM-GPG-KEY-CentOS-7
[centosplus]
name=CentOS-$releasever - Plus
baseurl=http://ftp.daum.net/centos/7/centosplus/$basearch/
gpgcheck=1
gpgkey=http://ftp.daum.net/centos/RPM-GPG-KEY-CentOS-7
// repo clear 후 로딩
// base, centosplus, extras, updates 가 출력되면 정상
// 위 리스트가 출력되지 않으면 daum.repo 만 남겨놓고 다른 repo는 삭제해보길 바람.
root]# yum clean all
...
Cleaning repos: base centosplus extras updates
Cleaning up everything
root]# ]# yum repolist all
base | 3.6 kB 00:00:00
centosplus | 3.4 kB 00:00:00
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
(1/5): base/x86_64/group_gz | 155 kB 00:00:00
(2/5): extras/x86_64/primary_db | 166 kB 00:00:00
(3/5): base/x86_64/primary_db | 5.3 MB 00:00:00
(4/5): centosplus/x86_64/primary_db | 4.1 MB 00:00:00
(5/5): updates/x86_64/primary_db | 9.1 MB 00:00:00
repo id repo name status
base/x86_64 CentOS-7Server - Base enabled: 9007
centosplus/x86_64 CentOS-7Server - Plus enabled: 134
extras/x86_64 CentOS-7Server - Extras enabled: 393
updates/x86_64 CentOS-7Server - Updates enabled: 2560
repolist: 12094
'IT 기술문서 > Redhat Linux' 카테고리의 다른 글
linux nfs mount error (0) | 2020.01.13 |
---|---|
redhat 6에서 mount.nfs: rpc.statd is not running 에러 (0) | 2019.10.22 |
Redhat Enterprise Linux 서브스크립션 등록불가 (0) | 2019.03.08 |
Redhat 7 의 samba 공유 설정 (0) | 2018.12.12 |
RHEL 5 에서 휴대폰 테더링 사용 (0) | 2017.06.02 |