在某种场合之下,我们使用的Linux还是要选择安装桌面环境的,所以在这里介绍一下如何给没有安装桌面环境的系统安装桌面环境。以Centos 6.5 为例演示一下如何安装桌面环境。

工具/原料

  • Linux、Centos 6.5 、GNOME、桌面

方法/步骤

  1.  

    一、首先查看系统的运行级别以及是否安装了桌面环境

      1、使用命令 runlevel 查看当前的运行级别 ,如图所示

      2、使用命令 yum grouplist | more  查看是否安装了桌面环境的组件,如图所示

  2.  

    二、再次从上面分析的结果看到,当前运行级别是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"

    后面的是安装软件过程,需要等等一阵时间。

  3.  

    三、安装好了桌面环境的软件,然后再修改一下系统的启动级别 为 5

      编辑/etc/inittab文件,修改启级别为5,如下图,然后重新启动就可以进入桌面环境了。因为我这是远程环境的,只是运用了命令行,可以使用VNC进行桌面环境的远程。

  4.  

    四、重启的过程中,设置一下桌面环境的几个参数就可以正常进入登陆界面了,谢谢。

VPS centos 6 安装图形界面的更多相关文章

  1. CentOs下安装图形界面

    CentOS6的图形界面对计算机的内存有要求,应该是要大于512M吧,如果不满足这个条件 在安装的时候,图形界面是不会安装的,可以在linux系统安装完毕后,进入命令后再次安装图形界面 安装图形界面有 ...

  2. CentOS 7安装图形界面步骤和问题解决方法

    CentOS 7图形安装步骤: 首先需要进行必要的图形组件安装--命令为: yum groupinstall "X Window System " yum groupinstall ...

  3. CentOS 7安装图形界面

    之前公司的服务器都是用的CentOS 的系统,需要安装图形界面的时候我会执行以下命令 yum -y groupinstall "X Window System" "Fon ...

  4. CentOS 6,7最小化安装后再安装图形界面

    CentOS 6.2最小化安装后再安装图形界面 在安装CentOS 6.2时发现它没有提示我要怎么安装,而是“自作主张”地给我选择了最小化安装,结果装完之后只有终端界面,因为有时候不得不用图形界面,所 ...

  5. CentOS最小化系统,怎么安装图形界面

    CentOS最小化系统做服务器,都是没有图形界面的.很多初学者不习惯命令行操作,那么应该怎么安装图形界面?本经验咗嚛以centos6.5系统为例   方法步骤:   首先进入centos系统界面,先测 ...

  6. CentOS 7命令行安装图形界面(GNOME、KDE等)

    CentOS 7 默认是没有图形化界面的,但我们很多人在习惯了 Windows 的图形化界面之后,总是希望有一个图形化界面从而方便我们使用,这里介绍一下 CentOS7安装图形化桌面系统的方法. 一. ...

  7. centos 6.5 安装图形界面【转】

    最近想在centos 6.5上安装图形界面,在网上找到了方法.[原文链接] CentOS6相对于CentOS5的安装有了不少的进步,有不少默认的选项可以选择,如: Desktop :基本的桌面系统,包 ...

  8. centos安装图形界面通常有两种方式

    centos安装图形界面通常有两种方式   1.通过系统安装,在配置选择软件界面,选择GNOME桌面模式.

  9. CentOS 6.x 安装图形界面

    CentOS 6.x 安装图形界面一.首先查看系统的运行级别以及是否安装了桌面环境1.使用命令 runlevel 查看当前系统运行级别[root@42 ~]# runlevelN 32.使用命令 yu ...

随机推荐

  1. & replace &

    var decoded = encoded.replace(/&/g,'&'); http://stackoverflow.com/questions/3700326/decode-a ...

  2. 11-UIView与核心动画对比

    *:first-child { margin-top: 0 !important; } body > *:last-child { margin-bottom: 0 !important; } ...

  3. 转载:Windows Phone 8.1 投影我的屏幕使用教程

    原文地址:http://livesino.net/archives/6851.live 更新了软件的下载地址. Windows Phone 8.1 新功能投影我的屏幕(Project My Scree ...

  4. 树状数组HDU1166

    http://acm.hdu.edu.cn/showproblem.php?pid=1166 #include<stdio.h> #include<string.h> ]; i ...

  5. php操作mysql的基础链接实例

  6. SVN中取消冲突conflict

    在SVN update代码出现冲突的时候,可以先右键点击SVN commit,在打开的窗口中单击红框内区域: 然后,再一次点击edit->mark as resolved,然后删除代码中> ...

  7. 洛谷P1198 [JSOI2008]最大数

    P1198 [JSOI2008]最大数 267通过 1.2K提交 题目提供者该用户不存在 标签线段树各省省选 难度提高+/省选- 提交该题 讨论 题解 记录 最新讨论 WA80的戳这QwQ BZOJ都 ...

  8. 感受机房管理化繁为简-新款KVM使用心得

    感受机房管理化繁为简-新款KVM使用心得 一. 背景 随着网络应用的不断增多,各地机房服务器数量也随之增加,利用多传统主机切换器的方式已经无法满足目前这种区域广.设备多人员紧缺的现状,而且即使是使用了 ...

  9. 菜鸟学WEB开发 ASP.NET 5.0 1.0

    在学习之初我要强调一点“微软要向跨平台开发”大举进军了,不管他能走多远,这是微软的必经之路. 一.学习流程: 创建ASP.NET APPLICATION 项目——项目结构——结构分析. 1.创建ASP ...

  10. 移动端的头部标签和meta

    <!DOCTYPE html><!--HTML5 doctype--> <html> <head> <title>xxx</title ...