메뉴 건너뛰기

조회 수 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
번호 제목 날짜 조회 수
237 Rocky Linux 8에 docker 설치하기 file 2024.04.23 0
236 centos 7 APM 최신버전 설치 ( mariadb 10.4 / apache 2.4.39 / php 7.3.8 ) file 2024.02.07 44
235 작업 예약 스케줄러(크론Cron)파일,자동 백업 명령 file 2023.01.12 129
234 root 계정 su 명령 제한 file 2023.01.20 136
233 기본 허가권,퍼미션 지정(제어, 설정)하기(umask와 작동 원리) file 2023.01.12 147
232 우분투 작업 스케줄러 Crontab 사용법, 디버깅, 주의 사항 2023.01.12 148
231 다중명령어(세미콜론(;), 파이프pipe(|), 더블 엔퍼센트 &&, ||)의미,사용법과 차이점 file 2023.01.12 153
230 find 명령어 2021.03.26 162
229 재지향시 유의사항 (grep 재지향) 2021.03.26 174
228 centos 시작시 네트워크 모듈 추가 2021.03.26 207
227 netstat 명령어 2021.03.26 210
226 crontab 사용법 2021.03.26 246
225 리눅스 vsftpd 500 OOPS 에러 (CENTOS 7) file 2020.03.04 298
224 CentOS ImageMagick 설치 php 연동 file 2021.03.26 312
223 명령어 모음 file 2021.03.26 373
222 tar.gz 파일 묶기, 압축하기, 압축 풀기 2021.03.26 394
221 centos7 sendmail 설치 및 세팅 2020.12.31 467
220 apache2 트래픽 모듈 mod_cband 사용법 2019.02.14 1129
219 이미지 및 파일 무단링크 방지책 2019.02.14 1137
218 php_screw를 이용한 php 소스 암호화 하기 2019.02.14 1420
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 12 Next
/ 12

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

© k2s0o1d4e0s2i1g5n. All Rights Reserved