Linux下怎么配置Gnome桌面環(huán)境
Linux下怎么配置Gnome桌面環(huán)境
和Windows一樣,在Gnome的文件管理器(nautilus)里,雙擊一個文件的時候,系統(tǒng)會自動調(diào)用相應(yīng)的程序去打開這個文件。下面學(xué)習(xí)啦小編教大家在 Linux下怎么配置Gnome桌面環(huán)境,下面大家跟著學(xué)習(xí)啦小編一起來了解一下吧。
Linux下配置Gnome桌面環(huán)境方法
一、首先查看系統(tǒng)的運(yùn)行級別以及是否安裝了桌面環(huán)境
1、使用命令 runlevel 查看當(dāng)前的運(yùn)行級別 ,如圖所示
2、使用命令 yum grouplist | more 查看是否安裝了桌面環(huán)境的組件,如圖所示
二、再次從上面分析的結(jié)果看到,當(dāng)前運(yùn)行級別是3,而且也沒有安裝桌面環(huán)境的軟件。
然后我們使用命令查看一下桌面有哪些桌面環(huán)境的軟件,然后裝顯示出來的軟件組件就可以了。例如:
[root@localhost ~]#[root@localhost ~]# yum grouplist | more
Loaded plugins: fastestmirrorSetting up Group ProcessLoading mirror speeds from cached hostfile
* base: mirrors.usc.edu * extras: centos.mirror.ndchost.com *
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
===========================================
從上面的軟件組信息,挑選與桌面環(huán)境有關(guān)的軟件組,然后安裝即可,我下面選擇的軟件組與輸入法還有字體等桌面環(huán)境需要用到的供大家參考一下。
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"
后面的是安裝軟件過程,需要等等一陣時間。
三、安裝好了桌面環(huán)境的軟件,然后再修改一下系統(tǒng)的啟動級別 為 5
編輯/etc/inittab文件,修改啟級別為5,如下圖,然后重新啟動就可以進(jìn)入桌面環(huán)境了。因為我這是遠(yuǎn)程環(huán)境的,只是運(yùn)用了命令行,可以使用VNC進(jìn)行桌面環(huán)境的遠(yuǎn)程。
四、重啟的過程中,設(shè)置一下桌面環(huán)境的幾個參數(shù)就可以正常進(jìn)入登陸界面了,謝謝。
注意事項
根據(jù)自己的實(shí)際需求出發(fā)
看過“ Linux下怎么配置Gnome桌面環(huán)境 ”的人還看了:
1.Linux系統(tǒng)中如何設(shè)置微軟鼠標(biāo)