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
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
266 | FreeBSD 커널 빌드 | sylee | 2009.04.14 | 23287 |
265 | Chage 명령어 | 호스트웨이 | 2012.08.23 | 22607 |
264 | 리눅스에서 mii-tool 사용 방법 | 호스트웨이 | 2012.03.08 | 22568 |
263 | CentOS 6 – root 패스워드 변경하기 | 호스트웨이 | 2012.04.20 | 22367 |
262 | Tcpdump의 옵션들 | 호스트웨이 | 2012.05.25 | 22261 |
261 | 리눅스 File 명령어를 통해 파일의 확장자나 속성알아보기 | 호스트웨이 | 2012.09.14 | 22253 |
260 | CentOS터미널 접속시 쉘색상 변경방법 | 호스트웨이 | 2012.06.08 | 22063 |
259 | at 명령어를 이용한 예약 작업 | 호스트웨이 | 2012.03.16 | 21865 |
258 | Debian 에 SAMBA 서버 설정하기 | 호스트웨이 | 2012.08.23 | 21788 |
257 | ps 명령어 | 호스트웨이 | 2012.06.01 | 21770 |
256 | 특정 사용자로 명령어 구동하기 | 호스트웨이 | 2012.08.24 | 21396 |
255 | 리눅스에서 서버 호스트네임 관리 | 호스트웨이 | 2012.07.13 | 21203 |
254 | 리눅스 setup 명령어를 이용한 간편 설정 | 호스트웨이 | 2012.07.27 | 21104 |
253 | 하드디스크의 배드블럭을 검사하는 명령어 (badblocks) | 호스트웨이 | 2012.03.30 | 21067 |
252 | PING 사용시 시간 출력 방법 | 호스트웨이 | 2012.05.05 | 20878 |
251 | Telnet을 이용하여 Linux서버 원격접속 | 호스트웨이 | 2012.04.13 | 20530 |
250 | 데비안에서 CPU 온도 확인 해보기-lm_sensors | 호스트웨이 | 2012.07.13 | 20445 |
249 | sysstat 설치편 | 호스트웨이 | 2012.06.08 | 20404 |
248 | Ext2Fsd 를 이용하여 윈도우즈 PC에서 리눅스 파티션 읽기 | 호스트웨이 | 2012.06.15 | 20357 |
247 | vsftpd 시간이 맞지 않을때 | sylee | 2010.04.07 | 20169 |