How to install and configure NIS server, client and NIS slave machine?Lets first configure NFS server and client :-NFS server installation and configuration(For NFSv2 and 3) :Environment : RHEL 5 --------1. #yum install nfs-utils--------The nfs-utils package provide a daemon for the kernel NFS server and related tools. The daemons are "portmap", "nfslock" and "nfs". Once installation is complete, please do the following :2. Service start : --------#service portmap start#service nfslock start#service nfs start#chkconfig portmap on#chkconfig nfslock...
Thursday, 24 February 2011
Sunday, 20 February 2011
How to exclude packages in yum.conf ?
Posted on 03:03 by Unknown
Guys,vi /etc/yum.conf and append following line :----exclude=pkgname* ----Then save it and execute : #yum updateExample :----exclude=php* kernel* ----exclude=gdm grub----Try...
Saturday, 12 February 2011
/usr/bin/ld: cannot open output file mplayer: Is a directory
Posted on 13:25 by Unknown
Guys,I got the same error message when I was compiling mplayer. I traced the system call but didn't get any clue at the first attempt. It was same o/p as it is at the subject like :-----wait4(-1, /usr/bin/ld: cannot open output file mplayer: Is a directory-----"ld" binary is basically makes link with various object file and at the end of the compilation it usually does it. It was linking other object files with mplayer binary but there was a mplayer directory inside the current directory. That's made this error. I have renamed the directory and...
Friday, 11 February 2011
Fatal Python error: pycurl: libcurl link-time version is older than compile-time version
Posted on 13:52 by Unknown
Guys,I got the same error messages when I was installing another packages using yum. However to sort it out this error it took around 4 hours. As per the error message I know that old libcurl is being used rather than compiled libcurl. The reason is that I had to installed curl using source and I knew that curl already existed. My intention was to install updated curl on my WS. However, this made the problem to use the pycurl. Yum uses python-pycurl and curl depends on libcurl. This is the basic scenario. I sated this so that you can also sort...
Friday, 4 February 2011
How to chroot(change root) for all user on linux?
Posted on 02:04 by Unknown
Env : SSH : 4.3p2Linux : RHEL 5.5Kernel : 2.6.18-194.32.1.el5Arch : 64 bitBE VERY CAREFUL BEFORE DOING THIS : Here is what I did :On SSH server : 1. Add the following in /etc/ssh/sshd_configChrootDirectory /test2.# mkdir /test# cd /test; mkdir bin lib64 [ on 32 bit server create 'lib' instead of lib64 ]# cp /bin/bash /test/bin# ldd /bin/bash libtermcap.so.2 => /lib64/libtermcap.so.2 (0x000000387f800000) libdl.so.2 => /lib64/libdl.so.2 (0x000000387fc00000) libc.so.6 => /lib64/libc.so.6 (0x000000387f400000) /lib64/ld-linux-x86-64.so.2...
Subscribe to:
Posts (Atom)