Centos7安装桌面视图环境
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Centos7安装桌面视图环境相关的知识,希望对你有一定的参考价值。
参考技术A 我最近安装了CentOS 7,当时做的是最小安装,没有GUI,而现在我想在其中安装一个GUI环境,那么,如何在先前安装的CentOS 7上安装桌面环境而不用重新安装系统呢?使用yum group 安装的桌面环境大小
yum的用法
[user@sgk_entos7 ]# yum repolist
CentOS 7默认的GNOME桌面以经典模式开始,但如果要使用GNOME Shell,则需要做如下设置:
选项A:如果使用 startx 启动GNOME,请设置如下:
选项B:设置系统图形登录 systemctl set-default graphical.target 并重启系统。系统启动后
转linux Centos 6.5 安装桌面环境GNOME
在某种场合之下,我们使用的Linux还是要选择安装桌面环境的,所以在这里介绍一下如何给没有安装桌面环境的系统安装桌面环境。以Centos 6.5 为例演示一下如何安装桌面环境。
一、首先查看系统的运行级别以及是否安装了桌面环境
1、使用命令 runlevel 查看当前的运行级别 ,如图所示
2、使用命令 yum grouplist | more 查看是否安装了桌面环境的组件,如图所示二、再次从上面分析的结果看到,当前运行级别是3,而且也没有安装桌面环境的软件。
然后我们使用命令查看一下桌面有哪些桌面环境的软件,然后装显示出来的软件组件就可以了。例如:
[[email protected] ~]#
[[email protected] ~]# 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
===========================================
从上面的软件组信息,挑选与桌面环境有关的软件组,然后安装即可,我下面选择的软件组与输入法还有字体等桌面环境需要用到的供大家参考一下。
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"
后面的是安装软件过程,需要等等一阵时间。
三、安装好了桌面环境的软件,然后再修改一下系统的启动级别 为 5
编辑/etc/inittab文件,修改启级别为5,如下图,然后重新启动就可以进入桌面环境了。因为我这是远程环境的,只是运用了命令行,可以使用VNC进行桌面环境的远程。
四、重启的过程中,设置一下桌面环境的几个参数就可以正常进入登陆界面了,谢谢。
以上是关于Centos7安装桌面视图环境的主要内容,如果未能解决你的问题,请参考以下文章