[리눅스] CentOS 5 XEN 커널 판올림하기
무른연모/리눅스
2012/06/14 22:09
XEN을 쓰는 리눅스 가상 서버 호스팅에서는 일반 커널이 아닌 XEN 커널을 받아 판올림(업데이트)한다. 아래는 CentOS 5.8 XEN 커널(2012. 6. 13. 배포판)을 받아서 판올림하는 명령이다.
XEN 커널 받기
# wget http://ftp.daum.net/centos/5/updates/x86_64/RPMS/kernel-xen-2.6.18-308.8.2.el5.x86_64.rpm
XEN 커널 판올림하기
# rpm -ivh kernel-xen-2.6.18-308.8.2.el5.x86_64.rpm
(실행 화면)
# wget http://ftp.daum.net/centos/5/updates/x86_64/RPMS/kernel-xen-2.6.18-308.8.2.el5.x86_64.rpm
--2012-06-14 09:12:31-- http://ftp.daum.net/centos/5/updates/x86_64/RPMS/kernel-xen-2.6.18-308.8.2.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: 23502377 (22M) [text/plain]
Saving to: `kernel-xen-2.6.18-308.8.2.el5.x86_64.rpm'
# rpm -ivh kernel-xen-2.6.18-308.8.2.el5.x86_64.rpm
준비 중... ########################################### [100%]
1:kernel-xen ########################################### [100%]
100%[======================================>] 23,502,377 24.3M/s in 0.9s
--2012-06-14 09:12:31-- http://ftp.daum.net/centos/5/updates/x86_64/RPMS/kernel-xen-2.6.18-308.8.2.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: 23502377 (22M) [text/plain]
Saving to: `kernel-xen-2.6.18-308.8.2.el5.x86_64.rpm'
# rpm -ivh kernel-xen-2.6.18-308.8.2.el5.x86_64.rpm
준비 중... ########################################### [100%]
1:kernel-xen ########################################### [100%]
100%[======================================>] 23,502,377 24.3M/s in 0.9s
리눅스를 다시 띄운 뒤에 'uname -a'로 판올림된 리눅스 XEN 커널의 판번호를 확인할 수 있다.
# uname -a
Linux host 2.6.18-308.8.1.el5xen #1 SMP Tue May 29 15:38:25 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
Linux host 2.6.18-308.8.1.el5xen #1 SMP Tue May 29 15:38:25 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
덧글을 달아 주세요