Archive for the ‘Linux’ Category

This error is received when top command is executed. top top: error while loading shared libraries: libncurses.so.4: cannot open shared object file: Error 40 Fix. locate...

About Partition Image

May 1, 2008 | In: Linux

Partition Image is a Linux/UNIX utility which saves partitions in the EXT2, Reiserfs, NTFS, HPFS, FAT16, and FAT32 file system formats to an image file. The image file can be compressed with gzip or bzip2 in...

This list the users. ====================== cat /etc/passwd | grep /home | cut -d: -f1 ====================== you may add users using useradd passwd It will ask for password delete the user using userdel...

root@server[/etc/apf]# apf -s Unable to load iptables module (ipt_state), aborting. root@server[/etc/apf]# Here is the fix Edit /etc/apf/internals/functions.apf vi /etc/apf/internals/functions.apf Replace the lines...

yum.conf for Centos 4.6

April 24, 2008 | In: Centos, Linux

Here is the yum.conf entry for Centos 4.6. Copy all the lines below. ############################ [main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest installonlypkgs=kernel kernel-smp kernel-devel...

Create a swap space of 1GB

April 9, 2008 | In: Linux

For 1 gb Execute the command below. ========================= dd if=/dev/zero of=swapfile1 bs=1024 count=1048576 ========================= ========================= /sbin/mkswap -c -v1...