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...
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...
April 27, 2008 | In: Linux
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...
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...
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...