7 May 2014

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'






No comments:

Post a Comment