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
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
186 | 리눅스 Memory관리 | 호스트웨이 | 2012.08.24 | 12068 |
185 |
리눅스 uptime 명령어
![]() | 호스트웨이 | 2012.08.24 | 17388 |
184 | 특정 사용자로 명령어 구동하기 | 호스트웨이 | 2012.08.24 | 21887 |
183 | 리눅스 dd 명령어 | 호스트웨이 | 2012.08.24 | 19472 |
182 | 커널패닉시 자동리부팅 방법 | 호스트웨이 | 2012.08.24 | 16617 |
181 | Linux 시스템 정보 확인 | 호스트웨이 | 2012.08.24 | 14805 |
180 | LILO - Warning: /dev/sda not first disk 에러 발생시 | 호스트웨이 | 2012.08.24 | 12103 |
179 | cron table의 각 필드 설명 | 호스트웨이 | 2012.08.31 | 12300 |
178 |
리눅스 bc명령어
![]() | 호스트웨이 | 2012.08.31 | 17261 |
177 | CentOS 5/6 에 VMware Tools 설치 방법 | 호스트웨이 | 2012.08.31 | 17585 |
176 | APM, PHP 컴파일 옵션 확인하기 | 호스트웨이 | 2012.09.05 | 20121 |
175 | LVM 명령 요약 | 호스트웨이 | 2012.09.06 | 31908 |
174 |
chfn 명령어를 통한 사용자 정보변경
![]() | 호스트웨이 | 2012.09.07 | 11649 |
173 | netstat 명령 옵션-2 | 호스트웨이 | 2012.09.13 | 16101 |
172 | CentOS yum 빠르게 사용하기 | 호스트웨이 | 2012.09.14 | 13532 |
171 |
리눅스 File 명령어를 통해 파일의 확장자나 속성알아보기
![]() | 호스트웨이 | 2012.09.14 | 23335 |
170 | 리눅스 Ubuntu 네트워크 설정 | 호스트웨이 | 2012.09.14 | 11876 |
169 | 리눅스 APM 소스설치시 Error 및 해결 방법 | 호스트웨이 | 2012.09.21 | 24535 |
168 |
리눅스 tree 명령어
![]() | 호스트웨이 | 2012.09.21 | 3467 |
167 |
SFTP 접속 방법
![]() | 호스트웨이 | 2012.09.21 | 8549 |