-
Linux、Centos 6.5 、GNOME、桌面html
1、首先查看系統的運行級別以及是否安裝了桌面環境linux
一、使用命令 runlevel 查看當前的運行級別 ,如圖所示swift
二、使用命令 yum grouplist | more 查看是否安裝了桌面環境的組件,如圖所示centos
2、再次從上面分析的結果看到,當前運行級別是3,並且也沒有安裝桌面環境的軟件。app
而後咱們使用命令查看一下桌面有哪些桌面環境的軟件,而後裝顯示出來的軟件組件就能夠了。例如:工具
[root@localhost ~]#[root@localhost ~]# yum grouplist | more字體
Loaded plugins: fastestmirrorSetting up Group ProcessLoading mirror speeds from cached hostfileui
* base: mirrors.usc.edu * extras: centos.mirror.ndchost.com *spa
updates: mirror-centos.hostingswift.com命令行
Installed Groups: E-mail server Security Tools Storage
Availability Tools iSCSI Storage Client
Available Groups:
Additional Development
Backup Client Backup Server
Base CIFS file server
Client management tools
Compatibility libraries
Console internet tools
Debugging Tools
Desktop
Desktop Debugging and Performance Tools
Desktop Platform
Desktop Platform Development
Development tools
Dial-up Networking Support
Directory Client
Directory Server
Eclipse
Emacs
FCoE Storage Client
FTP server
Fonts
General Purpose Desktop
Graphical Administration Tools
Graphics Creation Tools
Hardware monitoring utilities
High Availability
High Availability Management
Identity Management Server
Infiniband Support
Input Methods
Internet Applications
Internet Browser
Java Platform
KDE Desktop
Large Systems Performance
Legacy UNIX compatibility
Legacy X Window System compatibility
Load Balancer
Mainframe Access
Messaging Client Support
MySQL Database client
MySQL Database server
NFS file server
Network Infrastructure Server
Network Storage Server
Network file system client
Networking Tools
Office Suite and Productivity
PHP Support
Performance Tools
Perl Support PostgreSQL
Database client
PostgreSQL Database server
Print Server
Printing client
Remote Desktop Clients
Resilient Storage
Ruby Support
SNMP Support
Scientific support
Server Platform
Server Platform Development
Smart card support
System Management
System administration tools
TeX support Technical Writing
TurboGears application framework
Virtualization
Virtualization Client
Virtualization Platform
Virtualization Tools
Web Server
Web Servlet Engine
Web-Based Enterprise Management
X Window System
Available Language Groups:
Catalan Support [ca]
Chhattisgarhi Support [hne]
Chichewa Support [ny]
Chinese Support [zh]
Coptic Support [cop]
Croatian Support [hr]
Czech Support [cs]
Danish Support [da]
Dutch Support [nl]
English (UK) Support [en_GB]
Esperanto Support [eo]
Telugu Support [te]
Tetum Support [tet]
Zulu Support [zu]
Done
===========================================
從上面的軟件組信息,挑選與桌面環境有關的軟件組,而後安裝便可,我下面選擇的軟件組與輸入法還有字體等桌面環境須要用到的供你們參考一下。
yum groupinstall -y "Desktop" "Desktop Platform" "Desktop Platform Development" "Fonts" "General Purpose Desktop" "Graphical Administration Tools" "Graphics Creation Tools" "Input Methods" "X Window System" "Chinese Support [zh]" "Internet Browser"
後面的是安裝軟件過程,須要等等一陣時間。
3、安裝好了桌面環境的軟件,而後再修改一下系統的啓動級別 爲 5
編輯/etc/inittab文件,修改啓級別爲5,以下圖,而後從新啓動就能夠進入桌面環境了。由於我這是遠程環境的,只是運用了命令行,可使用VNC進行桌面環境的遠程。
4、重啓的過程當中,設置一下桌面環境的幾個參數就能夠正常進入登錄界面了,謝謝。