메뉴 닫기

yum update 시 리눅스 코어 (core) 업데이트 하지 않기

YUM 업데이트 자동으로 코어 (Core) 업데이트 하지 않기

CentOS 5나 6 에서 yum update 시 자동으로 상위 코어로 업데이트 된다.

 

vim /etc/yum.conf

– 아래 라인 추가한후

 

Centos 5 의 경우를 예)

exclude=centos-release,centos-release-notes

yum update 후 리부팅하게 되면 5.5로 업데이트 되지 않을걸 확인할수 있음

cat /etc/redhat-release
CentOS release 5 (Final)

 

[polldaddy rating=”7739789″]

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 항목은 *(으)로 표시합니다