If you are building a RHEL 6 system and end up with a command line only load that is probably a good thing since why would you need a GUI to administer a linux server. By default RHEL 6 does not install a desktop unless you tell it to so.
There may be reasons why you would want a desktop on your RHEL 6 server, maybe you just like using GUI tools to administer the system. In my case I prefer the command line but need the GUI for end users.
The best time to add desktop support is during the build. During installation you will be prompted for the type of system you are building, i.e. basic server, web server, database server, etc. this is what sets up the packages that will be installed. There is also an option for a desktop system but what if you want a "basic server" with a GUI? By default the "basic server" will not have a desktop.
What to do? After setting your choice click the "custom" button on the bottom of the page go to the "Desktop" section and choose GNOME, KDE, etc, along with X windows. This will give you a desktop when the build is finished.
If you manage to build your server and forgot to add the desktop you can still add it via YUM. Get your server registered with a Satellite Server or RHN and group install GNOME or KDE along with X windows.
for example to install GNOME:
#yum groupinstall "X Window System" "Desktop"
Note: You will see many examples online saying
yum groupinstall "X Window System" "GNOME Desktop Environment"
However this will error out.
If you do not have access to a SAT server the link below will explain how to use the install dvd as a package source in yum.
ReplyDeletehttp://grossit.blogspot.com/2012/12/use-redhat-disk-for-yum-repository.html
THANKS ->
ReplyDelete"for example to install GNOME:
#yum groupinstall "X Window System" "Desktop"
Note: You will see many examples online saying
yum groupinstall "X Window System" "GNOME Desktop Environment"
However this will error out."