¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 56°Ç
   
CentOS X-Window ¼³Ä¡
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2012-05-03 (¸ñ) 10:55 Á¶È¸ : 6759
±ÛÁÖ¼Ò :
                          

#!/bin/bash

version=`cat /etc/redhat-release  |grep CentOS |awk '{print $3}' |awk -F . '{print $1}'`
if [ $version = 5 ] ; then
    yum -y groupinstall "X Window System"
    yum -y groupinstall "GNOME Desktop Environment"
    yum -y install "kde-i18n-Korean" "fonts-korean"
else
    yum -y groupinstall "X Window System"  "Desktop"
    yum -y groupinstall korean-support -x xorg-x11-server-Xorg

fi

sed -i "s/id\:3/id\:5/g" /etc/inittab
/sbin/chkconfig --list |grep "5:on" |awk '{print $1}' |while read service ;do  /sbin/chkconfig --level 5 $service off ;done
/sbin/chkconfig --list |grep "3:on" |awk '{print $1}' |while read service ;do  /sbin/chkconfig --level 5 $service on ;done

init 6


ÇѱÛÀԷ 
CentOS 5 NABI ¼³Ä¡
CentOS 6 Ctrl + Space º¯È¯°¡´É

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

 



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