centos可以安装所有桌面环境吗

 我来答
yangjinlong76
活跃答主

2016-03-14 · 非职业答题人
知道顶级答主
回答量:5.7万
采纳率:94%
帮助的人:1.7亿
展开全部
  一、首先查看系统的运行级别以及是否安装了桌面环境
  1、使用命令 runlevel 查看当前的运行级别 ,如图所示
  2、使用命令 yum grouplist | more 查看是否安装了桌面环境的组件,如图所示

  二、再次从上面分析的结果看到,当前运行级别是3,而且也没有安装桌面环境的软件。
  然后我们使用命令查看一下桌面有哪些桌面环境的软件,然后装显示出来的软件组件就可以了。例如:
  [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
  ===========================================
  从上面的软件组信息,挑选与桌面环境有关的软件组,然后安装即可,我下面选择的软件组与输入法还有字体等桌面环境需要用到的供大家参考一下。

  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进行桌面环境的远程。

  4
  四、重启的过程中,设置一下桌面环境的几个参数就可以正常进入登陆界面了
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式