Archive for October, 2008

Sharing a single SCREEN session

Wednesday, October 22nd, 2008

Imagine you wish to show someone how to do a installation .or putting it simple imaging you wish to see everything what all a person is typing sitting in the other part of the globe
A simple way to do this using the screen command .
Person A logs in and types the command screen
Person B wish [...]

Install GCC using rpm

Friday, October 17th, 2008

I will list here the packages you will need to install gcc 4.3-39 and remember to install these in the order given below :-
glibc-2.8-14.1
glibc-devel-2.8-14.1
gcc43-4.3.1_20080507-6.1
gcc-4.3-39.1

How to install a source rpm

Friday, October 17th, 2008

Download an rpm:- for eg samba. I am using a SUSE 11.x machine, may be i can enable the same using yast. Just consider this as an eg for installing a source rpm. I downloaded samba rpm :- samba-2.0.8-1.7.1.src.rpm
Run the command rpm -ivh samba-2.0.8-1.7.1.src.rpm
you will see the normal rpm installation graphics like :-
1:samba                  ########################################### [100%]
Rememebr [...]

sudo requiretty error

Friday, October 10th, 2008

I got the following error in configuring an exim mailqueue checking nrpe command
===================
/usr/local/nagios/libexec/check_nrpe -H <ip>  -c check_eximmailqueue
must have a tty to run sudo
===================
This is actually not an error.But a setting in sudo configuration that sets a tty requirement for doing a sudo.
And the error condition is caused because the check command is trying to do [...]