Red Hat Linux提供了GNOME,即GNU網絡對象模型環境。 GNOME不僅提供高性能GUI,而且提供辦公組件之類的高性能軟件,Microsoft用戶要為此支付幾百美元。當然,Linux也沒有許可證費。這使許多公司與政府開始將 Microsoft Windows換成Linux。 GNOME提供了GUI界面、控制小程序和幾個重要應用程序。其中許多組件:可以替換只有Microsoft Windows中才運行的昂貴的第三方應用程序。本章簡要介紹GNOME桌面。 此外,紅帽子的GNOME版本可以使用KDE應用程序與實用程序,許多KDE工具可以直接從GNOME主菜單按鈕訪問。 圖形化桌面環境提供給用戶3種主要工具來使用系統上的應用程序,即面板圖標、桌面圖標和菜單系統。 橫貫桌面底部的長條叫做面板(panel),面板是圖形化界面的核心部分。面板上包含了應用程序啟動器、用于通知警告圖標的通知區域,以及叫做小程序(applet)的小型應用程序。他們允許用戶控制音量、切換工作區并顯示系統狀態。
標準GNOME桌面具有當今所有GUI操作系統特性,包括面板、主菜單按鈕和圖標。可以根據需要定制每個組件,甚至可以對GNOME安裝配置標準界面。可以通過GNOME控制中心控制和定制GNOME的外觀。首次在Red Hat Linux中啟動GUI時,可以看到桌面。 基本GNOME界面很簡單,如圖所示,可以導航到主目錄(用戶名的主目錄),Start Here按鈕可以打開小程序、實用程序和應用程序,還有一個Trash文件夾。這三者都使用Nautilus,這是個“Explorer”式的圖形shell,用于管理文件、GNOME配置和Linux系統中相關的任何GUI工具。
下面來介紹一下基本的安裝方法: 一:檢查系統的運行級別以及是否安裝了桌面環境
復制代碼
代碼如下:
[root@localhost ~]# runlevel
N 3
復制代碼
代碼如下:
[root@localhost ~]# yum grouplist | more
Loaded plugins: product-id, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription- manager to register. Setting up Group Process Installed Groups: Additional Development Base Console internet tools Directory Client E-mail server Fonts Graphical Administration Tools Hardware monitoring utilities Java Platform Large Systems Performance Legacy UNIX compatibility Legacy X Window System compatibility NFS file server Network file system client Networking Tools PHP Support Performance Tools Perl Support Scientific support Security Tools Server Platform System Management System administration tools TurboGears application framework Web Server 也可以使用下面命令驗證是否安裝桌面環境組件
復制代碼
代碼如下:
[root@localhost ~]# ps -A | egrep -i "gnome|kde|mate|cinnamon|lx|xfce|jwm" [root@localhost ~]#
# inittab is only used by upstart for the default runlevel. # # ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM. # # System initialization is started by /etc/init/rcS.conf # # Individual runlevels are started by /etc/init/rc.conf # # Ctrl-Alt-Delete is handled by /etc/init/control-alt-delete.conf # # Terminal gettys are handled by /etc/init/tty.conf and /etc/init/serial.conf, # with configuration in /etc/sysconfig/init. # # For information on how to write upstart event handlers, or how # upstart works, see init(5), init(8), and initctl(8). # # Default runlevel. The runlevels used 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: 將系統的啟動級別從3修改為5,然后重啟系統后,重啟過后出現下面界面,按照提示操作即可。操作完成后重啟系統即OK。