[리눅스] CentOS 5.10 일반/XEN 커널 판올림하기
무른연모/리눅스
2014/03/03 17:54
XEN을 쓰는 가상 서버 호스팅이나 클라우드 호스팅 등을 쓴다면, 일반 커널이 아니라 XEN 커널을 써야 한다. 커널을 잘못 바꾸면 운영체제가 뜨지 않아 복구하기 어렵게 되므로, 바꾼다면 종류를 잘 확인하고 신중하게 갱신해야 한다.
아래는 2014. 1. 31에 배포된 2.6.18-371.4.1.el5판 커널로 바꾸는 방법이다.
일반 커널로 판올림하기
# wget http://ftp.daum.net/centos/5.10/updates/x86_64/RPMS/kernel-2.6.18-371.4.1.el5.x86_64.rpm
# rpm -ivh kernel-2.6.18-371.4.1.el5.x86_64.rpm
# rpm -ivh kernel-2.6.18-371.4.1.el5.x86_64.rpm
XEN 커널로 판올림하기
# wget http://ftp.daum.net/centos/5.10/updates/x86_64/RPMS/kernel-xen-2.6.18-371.4.1.el5.x86_64.rpm
# rpm -ivh kernel-xen-2.6.18-371.4.1.el5.x86_64.rpm
# rpm -ivh kernel-xen-2.6.18-371.4.1.el5.x86_64.rpm
XEN 커널로 판올림할 때의 실행 화면
# wget http://ftp.daum.net/centos/5.10/updates/x86_64/RPMS/kernel-xen-2.6.18-371.4.1.el5.x86_64.rpm
--2014-03-02 14:58:19-- http://ftp.daum.net/centos/5.10/updates/x86_64/RPMS/kernel-xen-2.6.18-371.4.1.el5.x86_64.rpm
Resolving ftp.daum.net... 117.52.11.181
Connecting to ftp.daum.net|117.52.11.181|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23926739 (23M) [text/plain]
Saving to: `kernel-xen-2.6.18-371.4.1.el5.x86_64.rpm'
100%[======================================>] 23,926,739 36.4M/s in 0.6s
2014-03-02 14:58:20 (36.4 MB/s) - `kernel-xen-2.6.18-371.4.1.el5.x86_64.rpm' saved [23926739/23926739]
# rpm -ivh kernel-xen-2.6.18-371.4.1.el5.x86_64.rpm
준비 중... ########################################### [100%]
1:kernel-xen ########################################### [100%]
--2014-03-02 14:58:19-- http://ftp.daum.net/centos/5.10/updates/x86_64/RPMS/kernel-xen-2.6.18-371.4.1.el5.x86_64.rpm
Resolving ftp.daum.net... 117.52.11.181
Connecting to ftp.daum.net|117.52.11.181|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23926739 (23M) [text/plain]
Saving to: `kernel-xen-2.6.18-371.4.1.el5.x86_64.rpm'
100%[======================================>] 23,926,739 36.4M/s in 0.6s
2014-03-02 14:58:20 (36.4 MB/s) - `kernel-xen-2.6.18-371.4.1.el5.x86_64.rpm' saved [23926739/23926739]
# rpm -ivh kernel-xen-2.6.18-371.4.1.el5.x86_64.rpm
준비 중... ########################################### [100%]
1:kernel-xen ########################################### [100%]
CentOS를 다시 시작한 뒤 커널 판번호 확인
# uname -a
Linux triohost 2.6.18-371.1.2.el5xen #1 SMP Tue Oct 22 13:32:58 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux
Linux triohost 2.6.18-371.1.2.el5xen #1 SMP Tue Oct 22 13:32:58 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux
덧글을 달아 주세요