View
CentOS 에서 Daum 저장소 사용
기존 저장소 압축 보존
# bzip2 /etc/yum.repos.d/CentOS-*.repo
# yum repolist
Daum.repo 생성
echo '[base]
name=CentOS-$releasever - Base
baseurl=http://ftp.daum.net/centos/$releasever/os/$basearch/
gpgcheck=0
[updates]
name=CentOS-$releasever - Updates
baseurl=http://ftp.daum.net/centos/$releasever/updates/$basearch/
gpgcheck=0
[extras]
name=CentOS-$releasever - Extras
baseurl=http://ftp.daum.net/centos/$releasever/extras/$basearch/
gpgcheck=0' > /etc/yum.repos.d/Daum.repo
yum repolist
원상복구
# rm -f /etc/yum.repos.d/Daum.repo
# bunzip2 /etc/yum.repos.d/CentOS-*
# yum repolist
[출처] http://jmnote.com/wiki/Yum_Daum_%EC%A0%80%EC%9E%A5%EC%86%8C_%EC%84%A4%EC%A0%95
반응형
'OS > CentOS' 카테고리의 다른 글
CentOS static ip 설정 (0) | 2016.03.23 |
---|---|
CentOS SSH 설정 (0) | 2016.03.22 |
CentOS static route 설정 (0) | 2014.11.20 |
CentOS / Fedora 에서 GParted 설치 안될때 (0) | 2014.10.15 |
yum update 할때 "yum-complete-transaction" (0) | 2014.10.10 |
reply