Thursday, November 15, 2012

CLI to GUI RHEL 6

Hi All,

For switching from CLI i.e. command line interface to Graphical User Interface. we need to install two packages and change /etc/inittab default level.

At root prompt # or with sudo access. you need to run below command after mounting DVD/ISO image on the server.

1. mount /dev/dvd /mnt
2. cd /etc/yum.repos.d/
3. vi yum.repo (if any other repo is there then please remove that)
4. in yum.repo ---->

[Server]
name=Server
baseurl=file:///mnt/
gpgcheck=0
enabled=1
:wq!
5. yum clean all
6. yum updae all (should update all the files from DVD)
7. if all is OK.
8. yum groupinstall "X Window System"
9. yum groupinstall "KDE DESKTOP"
10. after installation. we need to edit /etc/inittab file.
11. in place of 3 or 4 write 5.
12. reboot the machine and you will be fallen to GUI prompt. (Virtual Machines)


suggestion and if errors in my work is to be done then please write. and if found useful then do also comment. thanks a lot.

 

No comments: