본문 바로가기
Linux

yum daum repository 변경

by GoodDev 2019. 3. 19.

1. File 을 생성한다.

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


[base]


name=CentOS-$releasever - Base


baseurl=http://ftp.daumkakao.com/centos/$releasever/os/$basearch/


gpgcheck=0


[updates]


name=CentOS-$releasever - Updates


baseurl=http://ftp.daumkakao.com/centos/$releasever/updates/$basearch/


gpgcheck=0


[extras]


name=CentOS-$releasever - Extras


baseurl=http://ftp.daumkakao.com/centos/$releasever/extras/$basearch/


gpgcheck=0


2. 기존 정보를 지운다


yum clean all

3. 확인한다.
 yum repolist
Loaded plugins: fastestmirror, security
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Determining fastest mirrors
epel/metalink                                                                                                                                                                                                                                           | 7.6 kB     00:00
 * base: mirror.kakao.com
 * epel: mirror.premi.st
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com


댓글