在某种场合之下,我们使用的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 2096 【期望DP】

    题意: 有n种选择,每种选择对应m种状态.每种选择发生的概率相等,每种选择中对应的每种状态发生的概率相等. 求n种选择和m种状态中每种至少发生一次的期望. 期望DP好别扭啊.要用倒推的方法. dp[i ...

  2. [ZOJ 1005] Jugs (dfs倒水问题)

    题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5 题目大意:给你6种操作,3个数a,b,n,代表我有两个杯子,第一个杯 ...

  3. 页面设计--TextBox

    TextBox文本框 主要介绍  输出感应.允许为空.热点提示等功能 输出感应: 在Textbox文本框属性中找到输出感应设置需要感应的字段 在web中显示感应功能: 允许为空:   点击保存此页面时 ...

  4. 项目积累——CSS应用

    <tr onmouseover=" this.style.backgroundColor= '#E0FFFF' "  onmouseout="this.style. ...

  5. 64位Linux编译hadoop-2.5.1

    Apache Hadoop生态系统安装包下载地址:http://archive.apache.org/dist/ 软件安装目录:~/app jdk: jdk-7u45-linux-x64.rpm ha ...

  6. linux服务器查看公网IP信息的方法

    最近在解决网络问题时,需要查看本机的出口公网IP信息,所以在网络上搜索和请求运维达人,获得如下两个方法: curl ifconfig.me 在linux系统中输入上述的命令,可以查看到本机连接的公网信 ...

  7. 缓存之Memcached

    Memcached Memcached 是一个高性能的分布式内存对象缓存系统,用于动态Web应用以减轻数据库负载.它通过在内存中缓存数据和对象来减少读取数据库的次数,从而提高动态.数据库驱动网站的速度 ...

  8. cygwin中运行命令提示command not found的解决方法

    在cygwin下运行ls等linux常见命令时出现“command not found”的提示,原因是环境变量没有配置好,因此只要将环境变量配置正确,即可正常使用.举例说明,cygwin安装在C盘根目 ...

  9. NOIP1998 拼数

    http://www.luogu.org/problem/show?pid=1012 题目描述 设有n个正整数(n≤20),将它们联接成一排,组成一个最大的多位整数. 例如:n=3时,3个整数13,3 ...

  10. No.003 Longest Substring Without Repeating Characters

    Longest Substring Without Repeating Characters Total Accepted: 167158 Total Submissions: 735821 Diff ...