RHEL 8上安装GNOME GUI

默认情况下,RHEL 8作为最小服务器安装,这意味着您将获得命令行模式。要获得图形模式,您需要在安装Redhat Enterprise Linux 8时更改安装类型。

本指南将帮助您在最小服务器安装的顶部在RHEL 8上安装GNOME GUI。我们为GNOME安装的软件包是Workstation软件包组的一部分。
我建议您配置本地YUM存储库以加快安装速度。RHEL8如何配置yum源请参照链接https://mp.csdn.net/mdeditor/87859570#

1. 首先使用命令yum group list列出RHEL 8的可用软件包组

yum group list
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 0:08:44 ago on Mon 25 Feb 2019 03:15:28 AM EST.
Available Environment Groups:
   Minimal Install
   Custom Operating System
Installed Environment Groups:
   Workstation
   Server
Installed Groups:
   Container Management
   RPM Development Tools
   Smart Card Support
   Graphical Administration Tools
   Headless Management
   Network Servers
   Scientific Support
   System Tools
Available Groups:
   .NET Core Development
   Development Tools
   Legacy UNIX Compatibility
   Security Tools

2. 接着执行命令yum groupinstall Workstation安装GNOME GUI。

yum groupinstall Workstation
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 0:02:53 ago on Mon 25 Feb 2019 03:15:28 AM EST.
Dependencies resolved.
=========================================================================================================================================================================================
 Package                                                    Arch                    Version                                                   Repository                            Size
=========================================================================================================================================================================================
Installing group/module packages:
 PackageKit-command-not-found                               x86_64                  1.1.10-6.el8                                              LocalRepo_AppStream                   28 k
 PackageKit-gstreamer-plugin                                x86_64                  1.1.10-6.el8                                              LocalRepo_AppStream                   18 k
 PackageKit-gtk3-module                                     x86_64                  1.1.10-6.el8                                              LocalRepo_AppStream                   19 k
 abattis-cantarell-fonts                                    noarch                  0.0.25-4.el8                                              LocalRepo_AppStream                  155 k
.............
Total size: 929 M
Installed size: 2.8 G
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Running scriptlet: kmod-kvd
  ................

3. 发出以下命令以启用GUI作为默认值,以便系统启动进入图形模式。

systemctl set-default graphical

4. 重新启动系统以启动进入图形模式。

reboot 

你可能感兴趣的:(RHEL 8上安装GNOME GUI)