°Ô½Ã¹° 1,369°Ç
   
CentOS ¿À·¡µÈ Ä¿³Î »èÁ¦
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2015-04-06 (¿ù) 03:12 Á¶È¸ : 6244
±ÛÁÖ¼Ò :
                                
CentOS¿¡¼­ »ç¿ëÇÏÁö ¾Ê´Â ¿À·¡µÈ Ä¿³ÎÀ» »èÁ¦ÇÏ´Â ¹æ¹ýÀÔ´Ï´Ù.

¼³Ä¡µÈ Ä¿³Î È®ÀÎ
[root@CHONNOM ~]# rpm -q kernel
kernel-2.6.32-358.6.1.el6.x86_64
kernel-2.6.32-431.17.1.el6.x86_64
kernel-2.6.32-431.29.2.el6.x86_64
kernel-2.6.32-504.8.1.el6.x86_64
kernel-2.6.32-504.12.2.el6.x86_64

[root@CHONNOM ~]# cat /etc/grub.conf  |grep title
title CentOS (2.6.32-504.12.2.el6.x86_64)
title CentOS (2.6.32-504.8.1.el6.x86_64.debug)
title CentOS (2.6.32-504.8.1.el6.x86_64)
title CentOS (2.6.32-431.29.2.el6.x86_64.debug)
title CentOS (2.6.32-431.29.2.el6.x86_64)
title CentOS (2.6.32-431.17.1.el6.x86_64)
title CentOS (2.6.32-358.6.1.el6.x86_64)
 
/boot µð·ºÅ丮³»¿¡ ½×¿©ÀÖ´Â Ä¿³ÎÀ̹ÌÁöµé


 YUM Utilities Package ¼³Ä¡
[root@CHONNOM boot]# rpm -qa |grep yum-utils
yum-utils-1.1.30-17.el6_5.noarch

¼³Ä¡°¡ ¾ÈµÇ¾îÀÖ´Ù¸é 
[root@CHONNOM boot]# yum install yum-utils


¿À·¡µÈ Ä¿³Î¹öÀü »èÁ¦
¡Ø Package-cleanup  Old Kernel Options:
    --oldkernels        Remove old kernel and kernel-devel packages
    --count=KERNELCOUNT
                        Number of kernel packages to keep on the system
                        (default 2)
    --keepdevel         Do not remove kernel-devel packages when removing
                        kernels

[root@CHONNOM ~]# package-cleanup --oldkernels --count=2

 
¿À·¡µÈ Ä¿³Î »èÁ¦À¯¹« È®ÀÎ
[root@CHONNOM boot]# rpm -q kernel
kernel-2.6.32-504.8.1.el6.x86_64
kernel-2.6.32-504.12.2.el6.x86_64

[root@CHONNOM boot]# cat /etc/grub.conf |grep title
title CentOS (2.6.32-504.12.2.el6.x86_64.debug)
title CentOS (2.6.32-504.12.2.el6.x86_64)
title CentOS (2.6.32-504.8.1.el6.x86_64.debug)
title CentOS (2.6.32-504.8.1.el6.x86_64)
 
/boot µð·ºÅ丮³»¿¡ Á¦°ÅµÈ Ä¿³ÎÀ̹ÌÁö È®ÀÎ


ÀÚµ¿À¸·Î ¿À·¡µÈ Ä¿³Î»èÁ¦
 :: ±âº»°ªÀº 5·Î µÇ¾îÀÖÀ¸¸ç À̺κÐÀ» º¸°üÄ¿³Î°¹¼ö·Î ¼³Á¤ÇÏ¸é µË´Ï´Ù.
[root@CHONNOM boot]#  vim /etc/yum.conf
installonly_limit=5 
--> installonly_limit=2


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.