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

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

Foreman fresh installation issue on Foreman proxy

Building RPM OpenSSH 7.1p1 on RHEL/CentOS 6.5