給RedHat系統(tǒng)安裝GNOME圖形化桌面的方法
發(fā)布時間:2015-10-16 11:15:05 作者:佚名
我要評論

這篇文章主要介紹了給RedHat系統(tǒng)安裝GNOME圖形化桌面的方法,同樣適用于CentOS等RedHat系的Linux,需要的朋友可以參考下
盡管Linux管理員可能不需要圖形用戶界面,但從Microsoft Windows轉(zhuǎn)過來的用戶需要。為此,Linux需要一個GUI,讓Microsoft Windows用戶更習慣。
Red Hat Linux提供了GNOME,即GNU網(wǎng)絡(luò)對象模型環(huán)境。 GNOME不僅提供高性能GUI,而且提供辦公組件之類的高性能軟件,Microsoft用戶要為此支付幾百美元。當然,Linux也沒有許可證費。這使許多公司與政府開始將 Microsoft Windows換成Linux。
GNOME提供了GUI界面、控制小程序和幾個重要應(yīng)用程序。其中許多組件:可以替換只有Microsoft Windows中才運行的昂貴的第三方應(yīng)用程序。本章簡要介紹GNOME桌面。
此外,紅帽子的GNOME版本可以使用KDE應(yīng)用程序與實用程序,許多KDE工具可以直接從GNOME主菜單按鈕訪問。
圖形化桌面環(huán)境提供給用戶3種主要工具來使用系統(tǒng)上的應(yīng)用程序,即面板圖標、桌面圖標和菜單系統(tǒng)。
橫貫桌面底部的長條叫做面板(panel),面板是圖形化界面的核心部分。面板上包含了應(yīng)用程序啟動器、用于通知警告圖標的通知區(qū)域,以及叫做小程序(applet)的小型應(yīng)用程序。他們允許用戶控制音量、切換工作區(qū)并顯示系統(tǒng)狀態(tài)。
標準GNOME桌面具有當今所有GUI操作系統(tǒng)特性,包括面板、主菜單按鈕和圖標??梢愿鶕?jù)需要定制每個組件,甚至可以對GNOME安裝配置標準界面??梢酝ㄟ^GNOME控制中心控制和定制GNOME的外觀。首次在Red Hat Linux中啟動GUI時,可以看到桌面。
基本GNOME界面很簡單,如圖所示,可以導航到主目錄(用戶名的主目錄),Start Here按鈕可以打開小程序、實用程序和應(yīng)用程序,還有一個Trash文件夾。這三者都使用Nautilus,這是個“Explorer”式的圖形shell,用于管理文件、GNOME配置和Linux系統(tǒng)中相關(guān)的任何GUI工具。
下面來介紹一下基本的安裝方法:
一:檢查系統(tǒng)的運行級別以及是否安裝了桌面環(huán)境
N 3
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

也可以使用下面命令驗證是否安裝桌面環(huán)境組件
[root@localhost ~]# ps -A | egrep -i "gnome|kde|mate|cinnamon|lx|xfce|jwm"
[root@localhost ~]#
二:安裝桌面環(huán)境相關(guān)軟件組
使用yum grouplist 可以看到有Desktop、Desktop Platfrom、X Window System、Graphics Creation Tools等桌面環(huán)境有關(guān)的軟件組件可以安裝

[root@localhost ~]# yum groupinstall "Desktop" "Desktop Platform"
[root@localhost ~]# yum groupinstall "X Window System" "Graphics Creation Tools"

三:修改系統(tǒng)的啟動級別為 5
[root@localhost ~]# vi /etc/inittab
# 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:
將系統(tǒng)的啟動級別從3修改為5,然后重啟系統(tǒng)后,重啟過后出現(xiàn)下面界面,按照提示操作即可。操作完成后重啟系統(tǒng)即OK。
Red Hat Linux提供了GNOME,即GNU網(wǎng)絡(luò)對象模型環(huán)境。 GNOME不僅提供高性能GUI,而且提供辦公組件之類的高性能軟件,Microsoft用戶要為此支付幾百美元。當然,Linux也沒有許可證費。這使許多公司與政府開始將 Microsoft Windows換成Linux。
GNOME提供了GUI界面、控制小程序和幾個重要應(yīng)用程序。其中許多組件:可以替換只有Microsoft Windows中才運行的昂貴的第三方應(yīng)用程序。本章簡要介紹GNOME桌面。
此外,紅帽子的GNOME版本可以使用KDE應(yīng)用程序與實用程序,許多KDE工具可以直接從GNOME主菜單按鈕訪問。
圖形化桌面環(huán)境提供給用戶3種主要工具來使用系統(tǒng)上的應(yīng)用程序,即面板圖標、桌面圖標和菜單系統(tǒng)。
橫貫桌面底部的長條叫做面板(panel),面板是圖形化界面的核心部分。面板上包含了應(yīng)用程序啟動器、用于通知警告圖標的通知區(qū)域,以及叫做小程序(applet)的小型應(yīng)用程序。他們允許用戶控制音量、切換工作區(qū)并顯示系統(tǒng)狀態(tài)。
標準GNOME桌面具有當今所有GUI操作系統(tǒng)特性,包括面板、主菜單按鈕和圖標??梢愿鶕?jù)需要定制每個組件,甚至可以對GNOME安裝配置標準界面??梢酝ㄟ^GNOME控制中心控制和定制GNOME的外觀。首次在Red Hat Linux中啟動GUI時,可以看到桌面。
基本GNOME界面很簡單,如圖所示,可以導航到主目錄(用戶名的主目錄),Start Here按鈕可以打開小程序、實用程序和應(yīng)用程序,還有一個Trash文件夾。這三者都使用Nautilus,這是個“Explorer”式的圖形shell,用于管理文件、GNOME配置和Linux系統(tǒng)中相關(guān)的任何GUI工具。
下面來介紹一下基本的安裝方法:
一:檢查系統(tǒng)的運行級別以及是否安裝了桌面環(huán)境
復制代碼
代碼如下:[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

也可以使用下面命令驗證是否安裝桌面環(huán)境組件
復制代碼
代碼如下:[root@localhost ~]# ps -A | egrep -i "gnome|kde|mate|cinnamon|lx|xfce|jwm"
[root@localhost ~]#
二:安裝桌面環(huán)境相關(guān)軟件組
使用yum grouplist 可以看到有Desktop、Desktop Platfrom、X Window System、Graphics Creation Tools等桌面環(huán)境有關(guān)的軟件組件可以安裝

復制代碼
代碼如下:[root@localhost ~]# yum groupinstall "Desktop" "Desktop Platform"
[root@localhost ~]# yum groupinstall "X Window System" "Graphics Creation Tools"

三:修改系統(tǒng)的啟動級別為 5
復制代碼
代碼如下:[root@localhost ~]# vi /etc/inittab
# 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:
將系統(tǒng)的啟動級別從3修改為5,然后重啟系統(tǒng)后,重啟過后出現(xiàn)下面界面,按照提示操作即可。操作完成后重啟系統(tǒng)即OK。

相關(guān)文章
虛擬機安裝CentOS后沒有網(wǎng)絡(luò)怎么辦
虛擬機安裝CentOS后沒有網(wǎng)絡(luò)了不能上網(wǎng),該怎么設(shè)置網(wǎng)絡(luò)呢?下面我們就來看看這個問題的解決辦法,詳細請看下文圖文介紹2024-01-18虛擬機怎么安裝CentOS? 安裝CentOS操作系統(tǒng)的保姆級圖文教程
虛擬機想要安裝CentOS操作系統(tǒng),但是CentOS操作系統(tǒng)已經(jīng)停止維護了,該怎么安裝呢?詳細請看下文圖文教程2024-01-18Centos7.8怎么更新openssh? Centos升級openssh的技巧
Centos7.8怎么更新openssh?Centos7.8系統(tǒng)想要安裝openssh,該怎么安裝呢?下面我們就來看看Centos升級openssh的技巧2023-09-02Centos7.8怎么更新openssl? CentOS升級OpenSSL的技巧
Centos7.8怎么更新openssl?Centos7.8系統(tǒng)想要升級OpenSSL,該怎么升級呢?詳細請看下文介紹2023-09-02- centos7沒有圖形化操作可能對很多人來說都不太習慣,下面我們來為centos7安裝圖形化界面,本文以安裝 GNOME 圖形化為例,需要的朋友可以參考下2023-06-29
- 今天小編在安裝RHEL7的時候,一步留神沒有安裝圖形化桌面,下面分享一下安裝圖形化桌面的過程,需要的朋友可以參考下2023-06-29
CentOS7各個版本鏡像下載地址及版本說明(包括Everything版)
下載CentOS-7.0-1406的時候,有很多可選則的版本,對于普通用戶來說,不知道選擇哪個好,下面做一下簡單介紹,需要的朋友可以參考下2023-06-01Centos 7怎么手動配置ip地址? Centos7配置IP地址的技巧
Centos 7怎么手動配置ip地址?Centos 7系統(tǒng)想要自己配置ip地址,該怎么操作呢?下面我們就來看看Centos7配置IP地址的技巧2023-05-17- 這篇文章主要介紹了Centos 7 壓縮與解壓縮命令小結(jié),需要的朋友可以參考下2023-03-28
- 由于centos8 在2022年停止服務(wù),后繼版本為8-steam。在使用阿里云的 centos8 的 yum 時報錯,這篇文章主要介紹了CentOS8使用阿里云yum源異常的解決方法,需要的朋友可以參考2022-04-19