Saturday, May 16, 2015

How To CentOS / RHEL 7 Install Gnome Desktop Using Yum

I installed minimal CentOS Linux 7.x on my laptop. How can I install Gnome desktop GUI on a RHEL (Red Hat) 7 or CentOS Linux 7 system using command line option?

GNOME is a highly intuitive and user friendly desktop environment for CentOS and RHEL 7.x based system. If you did a minimal install, this guide will quicly tell you how to install Gnome GUI on a CentOS 7 or RHEL 7 using a command line options.


Install Gnome GUI

The syntax is as follows to list available software groups on a CentOS/RHEL 7:
yum grouplist
Sample outputs:
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.usc.edu
 * extras: mirror.lug.udel.edu
 * updates: mirror.cogentco.com
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
Installed groups:
   Graphical Administration Tools
   Legacy UNIX Compatibility
   Security Tools
   System Administration Tools
Available Groups:
   Compatibility Libraries
   Console Internet Tools
   Development Tools
   Scientific Support
   Smart Card Support
   System Management
Done
To install GNOME desktop group, enter:
sudo yum groups install "GNOME Desktop"
OR
sudo yum groupinstall "GNOME Desktop"
To install Gnome on a RHEL 7 or CentOS Linux 7 server for operating network infrastructure services, with a GUI, enter:
sudo yum groups install "Server with GUI"
OR
sudo yum groupinstall "Server with GUI"
Now yum command will download all required packages from the internets or RHN if you are using Red Hat Enterprise Linux .

How do I set the system to boot directly into the GUI in CentOS7/RHEL 7?

Type the following command:
sudo systemctl set-default graphical.target

How do I switch or start GUI login from command line?

Type the following command if you do not want to reboot the server or desktop/laptop:
sudo systemctl start graphical.target
You should see login screen as follows:
Fig.01: CentOS / RHEL 7 Gnome the GUI login
Fig.01: CentOS / RHEL 7 Gnome the GUI login

And here is my desktop:
Fig.02: CentOS / RHEL 7 Gnome Desktop
Fig.02: CentOS / RHEL 7 Gnome Desktop

Related Posts:

  • DNS Server - 1 Install BINDInstall BIND to configure DNS server which resolves domain name or IP address. BIND uses 53/TCP,UDP Install BIND. [root@dlp ~]# yum -y inst… Read More
  • How To Setup Your Own VPN With PPTP Intro One of the commonly asked questions from our users is how to add another IP address to their server. You can assign your own private IP addres… Read More
  • DNS Server - 2 Set ZoneCreate zone files that servers resolve IP address from domain name For internal zone This example uses internal address[10.0.0.0/24], domain name[ser… Read More
  • SSH Server CentOS 7Configure SSH Server - Password Authentification Configure SSH Server to manage a server from the remore computer. SSH uses 22/TCP SSHd is installed… Read More
  • DNS Server - 3 Start BindStart BIND. [root@dlp ~]# systemctl start named  [root@dlp ~]# systemctl enable named Change DNS settings that the server … Read More

0 comments:

Post a Comment