Install X Window of Gnome on CentOS

老實說凍仁對 rpm 的系統不是很熟,也聽了老師的建議裝機時就只裝 base 的部份,但其實 Red Hat 派的作業系統可以更改開機階段,裝歸裝,預設別跑 x 就行了。
jonny@centos:~$ sudo yum groupinstall "X Window System" "GNOME Desktop Environment" [Enter]

若想開機預設不跑 X Window 請將下方紅字改成 3;反之請改成 5。
jonny@centos:~$ sudo vi /etc/inittab [Enter]
# Default runlevel. The runlevels used by RHS are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
#
id:3:initdefault:

資料來源:
installing Gnome Desktop on CentOs/RH/FC Server installation

留言

張貼留言

喜歡這篇文章嗎?歡迎在底下留言讓凍仁知道。😉

Popular Articles

MySQL 語法匯整