AWS REDHAT Enterprise Linux 8 实例安装图形界面

 

安装操作系统图形界面

[root@ip-172-31-42-196 ec2-user]# yum group list

Last metadata expiration check: 0:21:51 ago on Mon 22 Jul 2019 12:01:03 AM UTC.

Available Environment Groups:

Server with GUI

Server

Minimal Install

Workstation

Virtualization Host

Custom Operating System

Available Groups:

Container Management

.NET Core Development

Smart Card Support

RPM Development Tools

Graphical Administration Tools

System Tools

Headless Management

Scientific Support

Security Tools

Legacy UNIX Compatibility

Network Servers

Development Tools

[root@ip-172-31-42-196 ec2-user]# yum -y groupinstall "Server with GUI"

 

[root@ip-172-31-42-196 ec2-user]# yum group list

Last metadata expiration check: 0:32:36 ago on Mon 22 Jul 2019 12:01:03 AM UTC.

Available Environment Groups:

Server

Minimal Install

Workstation

Virtualization Host

Custom Operating System

Installed Environment Groups:

Server with GUI

Installed Groups:

Container Management

Headless Management

Available Groups:

.NET Core Development

Smart Card Support

RPM Development Tools

Graphical Administration Tools

System Tools

Scientific Support

Security Tools

Legacy UNIX Compatibility

Network Servers

Development Tools

[root@ip-172-31-42-196 ec2-user]#

 

 

 

Issue the following commands to start the GUI during boot.

 

sudo systemctl set-default graphical.target

sudo systemctl default

 

[root@ip-172-31-42-196 ec2-user]# sudo systemctl set-default graphical.target

Removed /etc/systemd/system/default.target.

Created symlink /etc/systemd/system/default.target → /usr/lib/systemd/system/graphical.target.

[root@ip-172-31-42-196 ec2-user]# sudo systemctl default

[root@ip-172-31-42-196 ec2-user]#

 

 

 

你可能感兴趣的:(云计算)