Install Desktop Environment Redhat/CentOS 7

I've recently installed CentOS 7 VM minimal and after installation finished and system rebooted I noticed there is no desktop installed.

Here is the steps to install gnome via command line:


1. Install the Gnome desktop package group:

# yum -y groups install "GNOME Desktop"


2. Switch to runlevel 5 for graphical environment

# init 5


3. Set the graphical environment as default runlevel after rebooting system:

# systemctl enable graphical.target --force
rm '/etc/systemd/system/default.target' ln -s '/usr/lib/systemd/system/graphical.target' '/etc/systemd/system/default.target'






Comments

Popular posts from this blog

Linux and AIX user non expiry and force password change at first login

Rebuild your new Yum repository after changing the packages

Running Docker Wildfly/JBoss Application Server in Debug mode via Eclipse