2012.07.27 11:55
리눅스 설치 후 yum update 할 때 다운로드시 오랜 시간이 소요 될 때가 있다.
yum-fastestmirror 라는 패키지를 설치하게되면 다운로드 속도가 가장 잘 나오는 mirror 서버를 자동으로 찾아주게 된다.
아래와 같이 패키지를 설치 후 update를 한다.
# yum -y install yum-fastestmirror
yum-fastestmirror 패키지가 설치되지 않는 경우도 있다.
그럴 땐 /etc/yum.repo.d/CentOS-Base.repo 파일을 아래와 같이 수정하여 사용하면 yum을 빠르게 실행할 수 있다.
daum에서 운영하는 미러서버를 이용 하는 방법입니다.
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-$releasever - Base
baseurl=http://ftp.daum.net/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://ftp.daum.net/centos/RPM-GPG-KEY-CentOS-5
#released updates
[updates]
name=CentOS-$releasever - Updates
baseurl=http://ftp.daum.net/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://ftp.daum.net/centos/RPM-GPG-KEY-CentOS-5
#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
baseurl=http://ftp.daum.net/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://ftp.daum.net/centos/RPM-GPG-KEY-CentOS-5
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=http://ftp.daum.net/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://ftp.daum.net/centos/RPM-GPG-KEY-CentOS-5
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
baseurl=http://ftp.daum.net/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://ftp.daum.net/centos/RPM-GPG-KEY-CentOS-5
#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
baseurl=http://ftp.daum.net/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://ftp.daum.net/centos/RPM-GPG-KEY-CentOS-5
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
|---|---|---|---|---|
| 226 | 리눅스 du 사용법 | 호스트웨이 | 2012.10.25 | 19656 |
| 225 |
chattr 명령을 이용한 파일 속성 변경
| 호스트웨이 | 2012.04.07 | 19593 |
| 224 |
리눅스 사용자에게 메시지 보내기
| 호스트웨이 | 2012.10.04 | 19523 |
| 223 | 데비안 백포트 사용해 보기 | 호스트웨이 | 2012.03.16 | 19489 |
| 222 |
vsftp사용 시 root 계정 이용하기
| 호스트웨이 | 2012.03.23 | 19473 |
| 221 | Disk I/O 줄이기 | 호스트웨이 | 2012.10.18 | 19467 |
| 220 | debian / ubuntu 에서 ntsysv(rcconf) 사용하기 | 호스트웨이 | 2012.11.01 | 19394 |
| 219 | 파일 내용 출력 관련된 명령어 | 호스트웨이 | 2012.04.20 | 19366 |
| 218 | 리눅스 메모리 캐쉬삭제 | 호스트웨이 | 2012.06.01 | 19358 |
| 217 | 리눅스 로그파일의 종류 | 호스트웨이 | 2012.07.06 | 19252 |
| 216 | SSH 패스워드 없이 자동 로그인 하는 방법 | 호스트웨이 | 2012.03.09 | 19138 |
| 215 | 리눅스 시스템 폴더별 명령어 알아보기 - 두번째 | 호스트웨이 | 2012.08.10 | 19127 |
| 214 | Linux 계정 정보 관리 파일 | 호스트웨이 | 2012.07.06 | 19030 |
| 213 | 리눅스 디스크 종류별 명칭 | 호스트웨이 | 2012.08.10 | 18968 |
| 212 | Ping 요청 막는 방법 | 호스트웨이 | 2012.05.04 | 18849 |
| 211 | 리눅스 압축 명령어 tar | 호스트웨이 | 2012.06.29 | 18803 |
| » | CentOS 5.X의 yum 속도 올리기 | 호스트웨이 | 2012.07.27 | 18745 |
| 209 | ALERT! /dev/disk/xxxx Does not exist. Dropping to a shell 문제 해결 | 호스트웨이 | 2012.07.06 | 18687 |
| 208 | lsof를 이용한 시스템에서 Open된 Port 검색 | 호스트웨이 | 2012.06.08 | 18667 |
| 207 | netstat 명령어 | 호스트웨이 | 2012.05.25 | 18520 |