centos 7.9 安装虚拟化界面

联网

 在/etc/sysconfig/network_script
 onboot改为yes
重新ping baidu.com

Step 2: Update Your Server
Before installing a new package, it is always a good idea to update the System with the latest available versions using yum update command as shown below. If any of the packages needs upgradation then upgrade it by using yum upgrade command.

[root@cyberithub ~]#

yum update

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: centos.mirror.snu.edu.in
  • extras: centos.mirror.snu.edu.in
  • updates: centos.mirror.snu.edu.in
    base | 3.6 kB 00:00:00
    extras | 2.9 kB 00:00:00
    updates | 2.9 kB 00:00:00
    No packages marked for update

Step 3: Check Package Groups
You can check all the available package groups by using yum grouplist or yum group list command. As you can see from the below output, we need to basically install GNOME Desktop and Graphical Administration Tools package groups.

Advertisements
[root@cyberithub ~]#

yum grouplist

Loaded plugins: fastestmirror
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile

  • base: centos.mirror.snu.edu.in
  • extras: centos.mirror.snu.edu.in
  • updates: centos.mirror.snu.edu.in
    Available Environment Groups:
    Minimal Install
    Compute Node
    Infrastructure Server
    File and Print Server
    Basic Web Server
    Virtualization Host
    Server with GUI
    GNOME Desktop
    KDE Plasma Workspaces
    Development and Creative Workstation
    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

Step 4: Install GNOME Desktop(GUI)

To install GNOME Desktop and Graphical Administration Tools package groups, you need to use either yum groupinstall “GNOME Desktop” “Graphical Administration Tools” or yum group install “GNOME Desktop” “Graphical Administration Tools” command as shown below.

[root@cyberithub ~]#

yum groupinstall "GNOME Desktop" "Graphical Administration Tools"

Loaded plugins: fastestmirror
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile

  • base: centos.mirror.snu.edu.in
  • extras: centos.mirror.snu.edu.in
  • updates: centos.mirror.snu.edu.in
    Warning: Group core does not have any packages to install.
    Warning: Group graphical-admin-tools does not have any packages to install.
    Group graphical-admin-tools does have 1 conditional packages, which may get installed.
    Resolving Dependencies
    –> Running transaction check
    —> Package ModemManager.x86_64 0:1.6.10-4.el7 will be installed
    –> Processing Dependency: ModemManager-glib(x86-64) = 1.6.10-4.el7 for package: ModemManager-1.6.10-4.el7.x86_64
    –> Processing Dependency: libqmi-utils for package: ModemManager-1.6.10-4.el7.x86_64
    –> Processing Dependency: libmbim-utils for package: ModemManager-1.6.10-4.el7.x86_64
    –> Processing Dependency: libqmi-glib.so.5()(64bit) for package: ModemManager-1.6.10-4.el7.x86_64
    –> Processing Dependency: libmm-glib.so.0()(64bit) for package: ModemManager-1.6.10-4.el7.x86_64
    –> Processing Dependency: libmbim-glib.so.4()(64bit) for package: ModemManager-1.6.10-4.el7.x86_64
    –> Processing Dependency: libgudev-1.0.so.0()(64bit) for package: ModemManager-1.6.10-4.el7.x86_64
    —> Package NetworkManager-adsl.x86_64 1:1.18.8-2.el7_9 will be installed
    —> Package NetworkManager-bluetooth.x86_64 1:1.18.8-2.el7_9 will be installed

Step 5: Enable GUI
After successful installation of GNOME Desktop environment, you need to enable and make the graphical mode as default. This can be done by using systemctl set-default graphical command as shown below.

[root@cyberithub ~]#

在这里插入代码片
systemctl set-default graphical

Removed symlink /etc/systemd/system/default.target.
Created symlink from /etc/systemd/system/default.target to /usr/lib/systemd/system/graphical.target.

Step 6: Reboot Server
Finally reboot the Server using reboot command to start the Graphical mode.

[root@cyberithub ~]# reboot

Step 7: Setup GNOME Desktop(GUI)
After reboot, you should be able to see the GNOME Desktop environment like below.

http://t.zoukankan.com/xingbo-p-6100554.html
https://www.cyberithub.com/how-to-install-gnome-desktop-gui-on-centos-7/

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

贯怀光

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值