국내에서는 centos에 기본으로 깔려있는 것보다 Daum.repo가 더 빠르다.
cd /etc/yum.repo.d로 이동한 후
vi 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
위와 같은 내용을 붙여넣으면 된다!!
이후 yum repolist를 하면
[root@server1 yum.repos.d]# yum repolist
Loaded plugins: fastestmirror, langpacks
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
Loading mirror speeds from cached hostfile
* base: mirror.kakao.com
* epel: ftp.riken.jp
* extras: mirror.kakao.com
* updates: mirror.kakao.com
위와같이 바뀌어 있는걸 확인할 수 있다!
이제 더 빠르게 yum 설치를 할 수 있게 되었다!!