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. [code]高精度运算

    数组存储整数,模拟手算进行四则运算 阶乘精确值 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 #includ ...

  2. IOS tableViewCell单元格重用中的label重叠的问题

    参考:http://zhidao.baidu.com/link?url=_oMUTo5SxUY6SBaxYLsIpN3i2sZ6SKG35MVlPJd2cNmUf9TGQFkKXX9EXwSwti0n ...

  3. jenkins配置角色访问

    本文将介绍如何配置jenkins,使其可以支持基于角色的项目权限管理. 由于jenkins默认的权限管理体系不支持用户组或角色的配置,因此需要安装第三发插件来支持角色的配置,本文将使用Role Str ...

  4. php composer 安装

  5. 8.3 sikuli 集成进eclipse 报错:eclipse中运行提示 Win32Util.dll: Can't load 32-bit .dll on a AMD 64 bit platform

    sikuli运行出现问题:Win32Util.dll: Can't load 32-bit .dll on a AMD 64 bit platform 在64位平台上无法加载32位的dll文件 解决办 ...

  6. T-shirts Distribution

    T-shirts Distribution time limit per test 1 second memory limit per test 256 megabytes input standar ...

  7. Temporary exceptions can be configured via your app's Info.plist file.

    报错: App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure ...

  8. c3p0连接池的使用

    利用c3p0连接池获取数据库连接,即不再通过DriverManager的getConnection(url,user,password)方法获取connection,而是通过c3p0数据源的类来获取连 ...

  9. Dynamic Performance Tables not accessible Automatic Statistics disabled for this session

    使用oracle时候统计会出现这个提示 Dynamic Performance Tables not accessible Automatic Statistics disabled for this ...

  10. 移动Web框架:jQuery Mobile VS Sencha Touch

    最近常被问到是用 jQuery Mobile还是Sencha Touch,本人也比较关注这两个框架,试图从以下两方面发表点儿见解: 身家背景,都系出名门 1.jQuery Mobile 建立在jQue ...