【转】怎么在rhel8最小化安装之后再安装图形化界面(GUI)?

https://access.redhat.com/solutions/3756221

How to migrate Red Hat Enterprise Linux 8 from minimal to graphical user interface (GUI)

 

环境

  • Red Hat Enterprise Linux 8

问题

  • Need to get GUI after installing RHEL8 in text mode

决议

  • Check the required group package for getting GUI :-

Raw

# dnf group list
Updating Subscription Management repositories.
Updating Subscription Management repositories.
Last metadata expiration check: 0:42:10 ago on Fri 16 Nov 2018 21:53:15 EST.
Available Environment Groups:
   Custom Operating System
   Server
Installed Environment Groups:
   Minimal Install
   Workstation
Available Groups:
   .NET Core Development
   RPM Development Tools
   Container Management
   Smart Card Support
   Scientific Support
   Security Tools
   Development Tools
   System Tools
   Headless Management
   Network Servers
   Legacy UNIX Compatibility
   Graphical Administration Tools
  • Install Workstation group package using dnf command :-

Raw

# dnf groupinstall workstation
  • Change the default target for booting in graphical mode :-

Raw

# systemctl set-default graphical.target
  • Start graphical desktop session by executing :-

Raw

# systemctl isolate graphical.target

Alternately, a reboot can be issued

猜你喜欢

转载自blog.csdn.net/msdnchina/article/details/89974845