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.

 

Thursday, November 8, 2012

USERADD command HANGES or not responding + LINUX

Hi All,

Today first time faced an issue related to "useradd" and "groupadd" command. the command were hanging and not reponding or giving no response for long duration. that we need to do CTRL+C to come out at prompt.

What i learnt :-

1. we should first always check "dmesg" and "/var/adm/messages".
2. to check these #dmesg and then check for any issues there or errors.
3. To read #cat /var/adm/messages.
4. follow up the errors and conclusion found.
5. screnshot for errors are below.
6. LDAP as shown in error.
7. Disable need to be done through SETUP which was enabled on the server or #setup
8. just unselect the LDAP option in setup > authentication configuration.
9. save the configuration.
10. now run useradd or groupadd command. it will run for sure.
9. A good link i found on net by some internet friend on net or forum. thanks. 




Thanks, please share if any other error u find regarding this. we will work out. thanks for the visit.

 

Wednesday, November 7, 2012

Who are we

It seems sometimes to me a simple question. but when it is seen deeply then feels like WHO ARE WE? is a very big question. which we have to find and after that we need to find WHY ARE WE HERE? and after that question comes other questions like HOW ARE WE? and HOW WE HAVE TO BE? WHAT WE HAVE TO LOOK FOR? WHERE WE ARE AT PRESENT?

Are we doing anything good for Humanity?
Are we doing anything good for other living beings on earth or we just want to eat them or everything for our selfishness.
What is the purpose of our birth?

What i come to a conclusion is, we all have to work and live until death calls us. God or Almighty has sent us for his works and to complete them. every person every living being born with a purpose of giving. so what is the purpose of asking or begging for anything.