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. Qt 5入门指南之Qt Quick编程示例

    编程示例 使用Qt创建应用程序是十分简单的.考虑到你的使用习惯,我们编写了两套教程来实现两个相似的应用程序,但是使用了 不同的方法.在开始之前,请确保你已经下载了QtSDK的商业版本或者开源版本,并且 ...

  2. android平台编译IW

    不知道怎么编译IW,所以就搜索网络上的博客http://blog.csdn.net/jksl007/article/details/16862435 首先,iw依赖于libnl库,而目前android ...

  3. Glusterfs 分布式存储安装部署

    Glusterfs 分布式存储部署 是存储当中可以选择的一种 现在很多虚拟化 云计算都在用软件存储 例如 ceph Glusterfs 等等 今天我们部署一下Glusterfs环境 GlusterFs ...

  4. 安装sysbench遇到找不到库文件的问题

    export LD_LIBRARY_PATH=/usr/mysql/lib./configure --prefix=/usr/local/sysbench --with-mysql-includes= ...

  5. 常用的opengl函数(三)

    glBlendFunc 定义像素算法.   void WINAPI glBlendFunc(GLenum sfactor,GLenum dfactor); 参数编辑 sfactor 指定红绿蓝和 al ...

  6. HDU 3038 How Many Answers Are Wrong (并查集)---并查集看不出来系列-1

    Problem Description TT and FF are ... friends. Uh... very very good friends -________-bFF is a bad b ...

  7. HDU 2102 A计划 经典搜索

    A计划 Time Limit : 3000/1000ms (Java/Other)   Memory Limit : 32768/32768K (Java/Other) Total Submissio ...

  8. java 文件字节输出流

    Example10_5.java import java.io.*; public class Example10_5 { public static void main(String args[]) ...

  9. HDU 4635 Strongly connected(强连通分量缩点+数学思想)

    题意:给出一个图,如果这个图一开始就不是强连通图,求出最多加多少条边使这个图还能保持非强连通图的性质. 思路:不难想到缩点转化为完全图,然后找把它变成非强连通图需要去掉多少条边,但是应该怎么处理呢…… ...

  10. 学习笔记——代理模式Proxy

    代理模式,主要是逻辑和实现解耦.具体逻辑如何,由代理Proxy自己来设计,我们只需要把逻辑Subject交给代理即可. 主要应用场景,包括创建大开销对象时,使用代理来慢慢创建:远程代理,如网络不确定时 ...