Linux

kernel upgrade

Naan 2014. 6. 26. 15:32
반응형

리눅스 kernel upgrade 방법이다.


https://www.kernel.org/

해당 사이트 가서 원하는 버전을 다운 받는다.


# tar -xvf linux-3.15.tar.gz

# mv linux-3.15 /usr/src/linux

# cd /usr/src/linux

make mrproper

# yum install gcc*

# make clean

# cp /boot/config-'자신커널버전' ./.config 현지환경설정 파일저장 

# make menuconfig

환경설정 불러오고 저장

# make all; make modules_install; make install

시간이 오래걸린다. 완료되었으면


# vi /boot/grub/menu.lst

메뉴상에 지금 업데이트한 커널로 변경하면 된다.


-- error 

# make menuconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
 *** Unable to find the ncurses libraries or the
 *** required header files.
 *** 'make menuconfig' requires the ncurses libraries.
 ***
 *** Install ncurses (ncurses-devel) and try again.
 ***
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
make: *** [menuconfig] Error 2

이럴경우
# yum install ncurses-devel

------------------------------------------------------

make mrproper

make: gcc: Command not found


이럴경우

# yum install gcc*



반응형

'Linux' 카테고리의 다른 글

wine 설치  (0) 2014.07.01
svn 버전별로 설치하기  (0) 2014.06.30
169.254.0.0 비활성화 방법  (0) 2014.06.19
last message repeated ?? times  (0) 2014.06.18
error: Exited sync due to fetch errors  (0) 2014.06.11