메뉴 건너뛰기

조회 수 7513 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
yum-fastestmirror 라는 패키지를 설치하면 됩니다.

이 패키지는 yum 으로 간편하게 설치할 수 있습니다
# yum -y install  yum-fastestmirror


 그 다음부터 yum 으로 특정 패키지를 설치하고자 하면 다운로드 속도가 가장 잘 나오는 mirror 서버를 자동으로 찾아주게 됩니다.

 다른 버전의 CentOS에서도 잘 되는지는 테스트해 보지 못했습니다. 아마 잘 될 듯 싶습니다.


 허나 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


List of Articles
번호 제목 날짜 조회 수
77 특정 웹페이지에서 문자가 깨지는 경우 (인코딩 문제) 2016.03.18 7553
76 yum으로 phpmyadmin 설치 2014.03.26 7537
75 리눅스 기본보안설정(9) file 2014.05.15 7514
» yum-fastestmirror로 CentOS 5.0 의 yum 속도 업! 2016.03.18 7513
73 MySQL 계정생성하기 2015.07.16 7511
72 Mysql 설치시 LinuxThreads 에러 메세지 2014.02.27 7501
71 ssh에서 sftp 사용 막기 2014.02.27 7494
70 webmin 설치하기 2014.02.27 7482
69 문자셋 설정, charset 2014.04.29 7480
68 Apache 환경 설정 파일 정보 (httpd.conf) 2016.09.19 7472
67 하드디스크의 속도와 성능테스트강좌 hdparm 2014.02.27 7471
66 apache 로그정리 (logrotate) 2014.02.27 7453
65 LINUX 싱글부팅 2014.03.26 7419
64 qmail 587 포트 추가 2014.03.26 7388
63 apache 구동중지되어있을 때 재구동 스크립트 2016.03.18 7373
62 httpd.conf 기타 설정 사항 2015.07.16 7368
61 대용량 HDD 파티셔닝(Mass storage Partitioning) 2014.02.27 7351
60 Linux 사용자 계정 추가 및 도메인 연결과정 2014.02.27 7322
59 find 명령어 정리 2014.02.27 7320
58 SAMBA 설치 2014.02.27 7315
Board Pagination Prev 1 ... 3 4 5 6 7 8 9 10 11 12 Next
/ 12

하단 정보를 입력할 수 있습니다

© k2s0o1d4e0s2i1g5n. All Rights Reserved