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. 安卓四大组件的作用、安卓Service的作用

    Activity好像是应用程式的眼睛,提供与user互动之窗. BroadcastReceiver好像是耳朵,接收来自各方的Intent. Service是在后台运行的. 一个Service 是一段长 ...

  2. centos7 python

      yum -y install gcc cd /usr/local/src  wget  https://www.python.org/ftp/python/3.6.0/Python-3.6.0a1 ...

  3. 转: Windows下安装Oracle Database 12c Release 1(12.1.0.2.0) - Enterprise Edition

    http://www.cnblogs.com/xqzt/p/4395053.html Windows下安装Oracle Database 12c Release 1(12.1.0.2.0) - Ent ...

  4. keepalived: Compile & startup

    first get keepalived source from git: git clone https://github.com/acassen/keepalived then unzip and ...

  5. dump文件生成与调试(VS2008)

    总结一下dump文件生成和调试的方法: 1:用SetUnhandledExceptionFilter捕获未处理的异常,包含头文件<windows.h>.函数原型为: LPTOP_LEVEL ...

  6. 推荐 iOS 网站:

    0. https://developer.apple.com/videos/1. http://www.raywenderlich.com2. http://nshipster.com3. http: ...

  7. python 第三章 字符串-例1

    1.字段宽度和精度 >>>'%.*s' % (10,'Gruido') '     Guido' >>>'%.-*s' % (10,'Gruido') 'Guido ...

  8. UVA - 12563 Jin Ge Jin Qu hao (01背包变形)

    此题应该注意两个点,首先背包容量应该缩减为t-1,因为最长的歌不超过三分钟,而劲歌金曲有678s,所以肯定要留出这个时间来.其次注意优先级,保证唱的歌曲数目最多,在此前提下尽可能的延长时间. 处理方法 ...

  9. Android Studio的使用(六)

    本篇博文介绍如何更新Android Studio. 1.导航栏的Help下拉框可以找到更新的按钮. 2.接下来点击Update and Restart即可 3.有些人说网连不上,但我的就可以,不行的话 ...

  10. Linux的环境变量

     一.Linux的变量种类 按变量的生存周期来划分,Linux变量可分为两类: 1.永久的:需要修改配置文件,变量永久生效. 2.临时的:使用export命令声明即可,变量在关闭shell时失效. 二 ...