RHEL7 默认是最小化安装(Minimal Install),没有图形界面,
我们应该选择Server with GUI。若已错过此步骤,我们采用以下方式补充安装GUI界面。
先配置yum源
可以参考我的这篇文章
http://blog.itpub.net/27771627/viewspace-1223153/

[root@LiuZhen
mnt]# rpm --import RPM-GPG-KEY-redhat-release

执行以下命令

[root@LiuZhen
mnt]# yum group list

Loaded plugins:
langpacks, product-id, subscription-manager

This system is not
registered to Red Hat Subscription Management. You can use subscription-manager
to register.

There is no installed
groups file.

Maybe run: yum groups
mark convert (see man yum)

Available environment
groups:

Minimal Install

Infrastructure Server

File and Print Server

Basic Web Server

Virtualization Host

Server with GUI

Available Groups:

Compatibility Libraries

Console Internet Tools

Development Tools

Graphical Administration Tools

Legacy UNIX Compatibility

Scientific Support

Security Tools

Smart Card Support

System Administration Tools

System Management

Done

[root@LiuZhen mnt]#

列出的组包中 Server with GUI 就是安装图形所需要的,继续执行以下命令

[root@LiuZhen
mnt]# yum -y groupinstall "Server with GUI"

Loaded plugins:
langpacks, product-id, subscription-manager

This system is not
registered to Red Hat Subscription Management. You can use subscription-manager
to register.

There is no installed
groups file.

Maybe run: yum groups
mark convert (see man yum)

Package
1:NetworkManager-config-server-0.9.9.1-12.git20140326.4dba720.el7.x86_64
already installed and latest version

Warning: Group core
does not have any packages to install.

Warning: Group
gnome-desktop does not have any packages to install.

Warning: Group
guest-agents does not have any packages to install.

Package
gtk2-immodule-xim-2.24.22-5.el7.x86_64 already installed and latest version

Package
imsettings-gsettings-1.6.3-9.el7.x86_64 already installed and latest version

Package
ibus-gtk3-1.5.3-11.el7.x86_64 already installed and latest version

Package
ibus-gtk2-1.5.3-11.el7.x86_64 already installed and latest version

Package
gtk3-immodule-xim-3.8.8-5.el7.x86_64 already installed and latest version

Warning: Group
input-methods does not have any packages to install.

Group input-methods
does have 2 conditional packages, which may get installed.

Warning: Group
guest-desktop-agents does not have any packages to install.

Warning: Group fonts
does not have any packages to install.

Warning: Group
print-client does not have any packages to install.

Warning: Group
desktop-debugging does not have any packages to install.

Warning: Group
dial-up does not have any packages to install.

Warning: Group base
does not have any packages to install.

Group base does have
1 conditional packages, which may get installed.

Package
gstreamer1-plugins-bad-free-1.0.7-4.el7.x86_64 already installed and latest
version

Package
gstreamer1-plugins-good-1.0.7-5.el7.x86_64 already installed and latest version

Warning: Group
multimedia does not have any packages to install.

Warning: Group
internet-browser does not have any packages to install.

Warning: Group x11
does not have any packages to install.

Maybe run: yum groups
mark install (see man yum)

No packages in any
requested group available to install or update

[root@LiuZhen
mnt]# show-installed

WARNING: The
following packages are installed but not in the repository:

cups-pdf

WARNING: The
following groups contain packages not found in the repositories:

XXX base

yum-plugin-security

XXX core

ql2100-firmware

ql23xx-firmware

ql2200-firmware

bfa-firmware

XXX gnome-desktop

unoconv

polkit-gnome

gvfs-obexftp

@base

-yum-plugin-security

@core

-bfa-firmware

-ql2100-firmware

-ql2200-firmware

-ql23xx-firmware

@dial-up

@fonts

@gnome-desktop

-gvfs-obexftp

-polkit-gnome

-unoconv

@guest-agents

@guest-desktop-agents

@input-methods

@internet-browser

@multimedia

@print-client

@x11

# Others

Red_Hat_Enterprise_Linux-Release_Notes-7-zh-CN

Red_Hat_Enterprise_Linux-Release_Notes-7-zh-TW

clucene-core

cups-pdf

grub2

lftp

samba-client

screen

# 1196 package names,
228 leaves

# 12 groups, 8
leftovers, 8 excludes

# 32 lines

可以执行startx看下效果。

来源:http://blog.itpub.net/27771627/viewspace-1223155/

RHEL7 单独安装图形 X11的更多相关文章

  1. RHEL7单独安装图形X11

    RHEL7 默认是最小化安装(Minimal Install),没有图形界面,我们应该选择Server with GUI.若已错过此步骤,我们采用以下方式补充安装GUI界面. # yum group ...

  2. 远程访问linux环境安装图形界面问题解决汇总

    本文内容转摘于其他网页,仅用于学习: 通常Linux出现 DISPLAY 尚未设置 解决方法,在root用户目录下执行#xhost +: [root@TEST144239 ~]# xhost + ac ...

  3. 阿里云ECS,Ubuntu Server 16.04安装图形界面远程控制

    最近阿里云有新用户免费体验6个月的活动,虽说是免费体验,但是还是要买个它们的产品才行,我就花9.9买了个最便宜的,然后就获得了一个乞丐版的ECS服务器,配置是1核内存1G.系统装的是Ubuntu Se ...

  4. centos6 mini安装图形界面,并vnc远程控制

    1.安装图形界面sudo yum groupinstall basic-desktop desktop-platform x11 fonts 2.安装vnc服务sudo yum -y install ...

  5. SQL Server Management Studio (SSMS)单独安装,仅安装连接工具

    简单来说,SSMS是用于远程连接数据库与执行管理任务的一个工具.当安装SQL SERVER时,会默认安装.但也可以单独安装在不是数据库服务器的主机上. SQL Server Management St ...

  6. centos 单独安装apachebench

    这两天在测试php性能优化方法. 为了做压力测试可观察效果,就选择了ApacheBench来作为压力测试工具.其实就是大家常说的ab. 但是这个工具是安装apache web server的时候自带的 ...

  7. CentOS7安装图形界面和修改运行级别

    CentOS7系统如果用mini镜像安装或者服务器版本安装,默认是没有安装图形界面的.如果需要额外去安装图形界面,可以手动来安装CentOS Gnome GUI包.然后会总结一下,在CentOS7系统 ...

  8. ubuntu-12.10-server安装图形界面

    1.首先你需要确定你的源文件中 /etc/apt/sources.list 已经使用Universe和Multiverse库.然后使用下面的命令来进行更新源列表和安装图形桌面. sudo apt-ge ...

  9. SQL Server 2016 需要单独安装SSMS

    默认安装完 MSSQL 后,不自带 SSMS 的管理工具了,需要的话可以单独安装,貌似更专业了一些. https://msdn.microsoft.com/library/mt238290.aspx ...

随机推荐

  1. linuxmint更改权限

    sudo chmod -R 777 要更改的目录或文件

  2. cordova环境配置步骤

    1.安装node.js环境 官网: http://nodejs.org/ 2.sudo npm install -g cordova(一般会失败,需要用FQ安装或者用淘宝镜像安装,可以用FQ就可以不用 ...

  3. CocoaAsyncSocket框架的简单封装

    在iOS开发中使用socket(CFNetwork),一般都是用第三方库AsyncSocket. 参考博客:http://my.oschina.net/worldligang/blog/396881? ...

  4. Local declaration of 'XXX' hides instance variable

    今天调试程序遇到这么一个警告! Local declaration of 'XXX' hides instance variable 遇到这种原因,是因为本地变量跟函数参数变量同名.改变其一即可.

  5. Apache + PHP in Windows XP (to add SQLite)

    Firstly, Winxp do not support VC11+, so choose Apache packs compiled under VC10-. Before installatio ...

  6. Gson解析数据

    package com.bwie.test;import java.io.BufferedReader;import java.io.IOException;import java.io.InputS ...

  7. [转]Android Shape渲染的使用(经典,学习研究不后悔)

    原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 .作者信息和本声明.否则将追究法律责任.http://mzh3344258.blog.51cto.com/1823534/1215749 ...

  8. Modis 陆地产品格网

    Technorati 标签: Modis,陆地产品,格网

  9. circularprogressbar/smoothprogressbar开源视图使用学习

    github地址:https://github.com/castorflex/SmoothProgressBar 多彩圆形进度条和多彩水平进度条 colors.xml 定义变化的颜色内容,用gplus ...

  10. Android Studio 连接真机调试

    以小米4为例,先将手机通过USB连接电脑,在设备管理器中确保驱动安装正确. 对手机的设置 1.设置手机为开发者模式(设置->关于手机->连续点击MIUI版本--开启成功) 2.在更多设置中 ...