在某种场合之下,我们使用的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. POJ 1149 PIGS 【网络流】

    题意: m n   //有m个猪圈,n个人卖猪. a1...am    //编号为i的猪圈里有ai头猪. b1 c1...cb1 d1   //第i个人有bi把钥匙,分别是ci猪圈的,其它猪圈里的猪都 ...

  2. ubuntu 服务管理

    在Linux系统下,一个Services的启动.停止以及重启通常是通过/etc/init.d目录下的脚本来控制的.然而,在启动或改变运行级别时,是在/etc/rcX.d中来搜索脚本.其中X是运行级别的 ...

  3. php读取目录及子目录下所有文件名的方法

    本文实例讲述了php读取目录及子目录下所有文件名的方法,分享给大家供大家参考.具体实现方法如下: 一般来说php中读取目录下的文件名的方式确实不少,最简单的是scandir,具体代码如下: $dir= ...

  4. Hive基础之HiveServer2 JDBC的使用

    启动HiveServer2: cd $HIVE_HOME/bin 以后台方式默认端口启动HiveServer2(默认端口是10000):hiveserver2 & 以后台方式指定端口的方式启动 ...

  5. Centos 时间同步服务器

    From: http://www.iteye.com/topic/599648 中国国家授时中心: http://www.time.ac.cn/stime.asp 其他网络时间服务器地址如下:(也可以 ...

  6. selenium和Firefox版本不兼容

    selenium8.py coding = utf-8 from selenium import webdriver driver = webdriver.Firefox() driver.get(' ...

  7. Android开发-API指南-<uses-library>

    <uses-library> 英文原文:http://developer.android.com/guide/topics/manifest/uses-library-element.ht ...

  8. Android开发-API指南-<grant-uri-permission>

    <grant-uri-permission> 英文原文:http://developer.android.com/guide/topics/manifest/grant-uri-permi ...

  9. 【LeetCode】8. String to Integer (atoi) 字符串转整数

    题目: Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input ca ...

  10. java基础回顾(六)——WeakReference、SoftReference

    在Java里, 当一个对象o被创建时, 它被放在Heap里. 当GC运行的时候, 如果发现没有任何引用指向o, o就会被回收以腾出内存空间. 或者换句话说, 一个对象被回收, 必须满足两个条件: 1) ...