banner



How To Install Gui In Rhel 7

By default a full installation of CentOS 7 volition accept the graphical user interface (GUI) installed and it will load up subsequently system kick, even so if nosotros take installed CentOS without the GUI nosotros can always install it after.

This quick guide will cover how to install the GNOME 3 desktop on CentOS vii, which will provide a GUI for working with the Linux system. While I don't advise using a GUI on a product server, information technology's a skillful option if you're using CentOS every bit a desktop.

GNOME 3

GNOME 3 Desktop

Install GUI In CentOS

While in that location are many unlike graphical user interfaces available for Linux, in this instance we volition be using GNOME, which is what CentOS uses by default.

This is as unproblematic as installing the "GNOME Desktop" package group, which is already configured to install hundreds more packages that are required for a GUI installation.

[[electronic mail protected] ~]#          yum groupinstall "GNOME Desktop" -y        

Note that this may take a while, on my minimal installation I needed to download 280 packages which took up most 700MB.

Beginning The GUI

Past default after installing the "GNOME Desktop" group of packages, the default target volition non have inverse, pregnant that after a reboot the GUI volition not automatically be loaded. We can bank check the current default target as shown below.

[[electronic mail protected] ~]#          systemctl get-default          multi-user.target        

The target is similar to the quondam run levels, in this case multi-user.target is equivalent to run level three meaning that after a reboot the GUI will not be loaded here. We instead set the default to the graphical.target which is equivalent to run level 5.

[[email protected] ~]#          systemctl set-default graphical.target          Removed symlink /etc/systemd/arrangement/default.target. Created symlink from /etc/systemd/system/default.target to /usr/lib/systemd/organization/graphical.target.  [[email protected] ~]#          systemctl get-default          graphical.target        

While this has changed the default target which is accessed during arrangement boot, our current target is all the same the multi-user.target. Nosotros tin can change to the GUI by performing 'systemctl isolate graphical.target' which volition modify us to the GUI immediately.

[[electronic mail protected] ~]#          systemctl isolate graphical.target        

Alternatively a system reboot would also work, as all hereafter boots should boot to the graphical target by default.

Removing The GUI

If you've installed the GUI on a server and realized that it was a terrible mistake, don't worry! We can likewise undo this by simply using yum to remove the "GNOME Desktop" package group

[[e-mail protected] ~]#          yum groupremove "GNOME Desktop"        

Advisedly read through the packages that will be removed and ensure that this looks correct prior to removing packages or dependencies.

Summary

Equally shown we tin easily install the GNOME desktop grouping of packages in CentOS 7 Linux, which volition provide us with a graphical user interface that can be used for managing and interacting with the system.

Source: https://www.rootusers.com/how-to-install-gnome-gui-in-centos-7-linux/

Posted by: smithorecoliage.blogspot.com

0 Response to "How To Install Gui In Rhel 7"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel