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. Linux查看CPU和内存使用情况 【转】

    Linux查看CPU和内存使用情况 在系统维护的过程中,随时可能有需要查看 CPU 使用率,并根据相应信息分析系统状况的需要.在 CentOS 中,可以通过 top 命令来查看 CPU 使用状况.运行 ...

  2. js css优化-- 合并和压缩

    在项目框架中,首先要引用很多css和js文件,80%的用户响应时间都是浪费在前端.而这些时间主要又是因为下载图片.样式表.JavaScript脚本.flash等文件造成的.减少这些资源文件的Reque ...

  3. 打不开BT,一直重复的关闭开启。

    /bt-btif (25335): ...preload_wait_timeout (retried:0/max-retry:1)...D/bt_userial(25335): RX terminat ...

  4. Zabbix3.0 客户端搭建

    zabbix客户端安装 我们这边使用编译安装 软件包版本 zabbix-3.0.3.tar.gz 添加用户组 #groupadd zabbix #useradd -s /sbin/nologin -g ...

  5. AVFoundation(二)---MPMusicPlayerController

    话不多说,直接上代码,代码中详细介绍了如何初始化,并设置一些常用的属性. /** * MPMusicPlayerController用于播放音乐库中的音乐 */ /** * 初始化MPMusicPla ...

  6. ios开发使用lipo命令合并真机库和模拟器库

    在开发ios时,我们经常会遇到编译两套库文件,使用模拟器时链接模拟器库,使用真机时使用真机库,这样操作会对后期的维护带来麻烦,所以Apple提供了一个把多个不同平台的.a库文件合并成一个适用于多平台的 ...

  7. java应用测试报告生成(二):利用ant的build.xml生成测试报告

    1.将写好的项目导出 在工程下会生成一个build.xml的蚂蚁图标的文件. 2.右击该文件,选择run as Ant build 其中的测试目录是可以选择的,如果涉及到顺序也可以调整顺序 3.执行后 ...

  8. Spring Boot 系列教程13-注解定时任务

    注解 @Scheduled(cron = "0/5 * * * * ?") 相当于原来的xml版本的如下配置 <task:scheduled ref="schedu ...

  9. building system busy, pls wait !!

    编译ca是可能会报这个错误,是189服务器上的/home/pub-work/.android_build_lock这个文件的问题,删除即可.

  10. Dom2016/4/20

    childNode:标准情况下:包括文本节点和元素节点 非标准下:只包括元素节点 在标准情况下:包含非法嵌套的子节点. 非标准下:ie7一下的版本不包含非法嵌套的子节点 DOm的节点类型:12种 元素 ...