[리눅스] CentOS 5.9 커널(kernel) 판올림하기
무른연모/리눅스
2013/01/24 13:03
CentOS 5이 5.9로 판올림하고 나서 CentOS 5 커널(kernel)도 23일에 새 판(2.6.18-348.1.1.el5)이 나왔다. XEN을 쓰는 가상 서버 호스팅이나 클라우드 호스팅 등을 쓴다면, 일반 커널이 아니라 XEN 커널을 써야 하므로 잘 확인하고 갱신해야 한다.
CentOS 5 일반/XEN 커널을 rpm으로 판올림하는 명령은 다음과 같다.
일반 커널로 판올림하기
# wget http://ftp.daum.net/centos/5.9/updates/x86_64/RPMS/kernel-2.6.18-348.1.1.el5.x86_64.rpm
# rpm -ivh kernel-2.6.18-348.1.1.el5.x86_64.rpm
# rpm -ivh kernel-2.6.18-348.1.1.el5.x86_64.rpm
XEN 커널로 판올림하기
# wget http://ftp.daum.net/centos/5.9/updates/x86_64/RPMS/kernel-xen-2.6.18-348.1.1.el5.x86_64.rpm
# rpm -ivh kernel-xen-2.6.18-348.1.1.el5.x86_64.rpm
# rpm -ivh kernel-xen-2.6.18-348.1.1.el5.x86_64.rpm
XEN 커널로 판올림할 때의 실행 화면
# wget http://ftp.daum.net/centos/5.9/updates/x86_64/RPMS/kernel-xen-2.6.18-348.1.1.el5.x86_64.rpm
--2013-01-24 12:26:30-- http://ftp.daum.net/centos/5/updates/x86_64/RPMS/kernel-xen-2.6.18-348.1.1.el5.x86_64.rpm
Resolving ftp.daum.net... 211.62.252.36
Connecting to ftp.daum.net|211.62.252.36|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 24076510 (23M) [text/plain]
Saving to: `kernel-xen-2.6.18-348.1.1.el5.x86_64.rpm'
--2013-01-24 12:26:30-- http://ftp.daum.net/centos/5/updates/x86_64/RPMS/kernel-xen-2.6.18-348.1.1.el5.x86_64.rpm
Resolving ftp.daum.net... 211.62.252.36
Connecting to ftp.daum.net|211.62.252.36|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 24076510 (23M) [text/plain]
Saving to: `kernel-xen-2.6.18-348.1.1.el5.x86_64.rpm'
100%[======================================>] 24,076,510 21.2M/s in 1.1s
2013-01-24 12:26:31 (21.2 MB/s) - `kernel-xen-2.6.18-348.1.1.el5.x86_64.rpm' saved [24076510/24076510]
# rpm -ivh kernel-xen-2.6.18-348.1.1.el5.x86_64.rpm
준비 중... ########################################### [100%]
1:kernel-xen ########################################### [100%]
CentOS를 다시 시작한 뒤 커널 판번호 확인
# uname -a
Linux host 2.6.18-308.24.1.el5xen #1 SMP Tue Dec 4 18:33:26 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
Linux host 2.6.18-308.24.1.el5xen #1 SMP Tue Dec 4 18:33:26 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
덧글을 달아 주세요