BLOG main image
애플과 리눅스의 만남이 있는 곳입니다. 또한 재훈의 삶을 간간히 적는 곳입니다.

크리에이티브 커먼즈 라이선스
Creative Commons License

수많은 리눅스 OS 환경들이 이제는 Apt-get이나 혹은 Yum으로 업데이트를 하고 있습니다.
예전에는 rpmfind.net에서 찾아서 업데이트를 하였는데 이제는 많이 달라졌네요 :)

CentOS를 기본으로 설치하면 보통 업데이트 속도가 느리다는 것을 알 수 있습니다.

국내 포털업체에서 제공해주는 FTP 사이트 덕분에 좀더 빠르게 업데이트를 할 수 있어
늦게 나마 이렇게 포스팅 하게 되었습니다.

기본적으로 Yum의 경우 Fastmirror라는 프로그램으로 현재의 네트웍에서 최적의 미러 사이트를
찾아 적용해주는 툴이 있는데, 이 프로그램은 보통 설치를 하지 않아 동작이 되지 않는답니다.

# yum -y install  yum-fastestmirror

위와 같은 방법으로 업데이트를 받으실 수 있습니다.

다른 방법은 직접 설정파일에 적용을 하는 것인데요. ftp.daum.net을 연결할 수 있도록 하는 방법입니다.
다행스럽게도 FTP와 HTTP로 ftp.daum.net을 연결할 수 있도록 설정 해 놓아서 YUM이나 혹은 APT-GET에서
사용을 하실 수 있습니다.

# 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

위와 같이 설정을 /etc/yum.repos.d/CentOS-Base.repo 파일로 넣어주면 보다 빠른 업데이트 속도를 느끼실 수
있습니다.

업데이트 명령은 아래와 같습니다.

# yum update

그럼 보다 빠른 업데이트를 즐기시기 바랍니다.~
Posted by Huns [Jaehun]

카테고리

분류 전체보기 (115)
[1] IT 관련 (84)
OS (0)
[2] 취미 관련 (16)
[3] 기타 (15)
지식 (0)

최근에 받은 트랙백

달력

«   2010/07   »
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31