1. Installing ext3grep…
wget http://ext3grep.googlecode.com/files/ext3grep-0.7.0.tar.gz
tar -xvzf ext3grep-0.7.0.tar.gz
cd ext3grep
./configure
make
July 1, 2010
How to find deleted files using EXT3GREP
June 23, 2010
FFMPEG installation Latest
This is the latest steps for installing ffmpeg
wget http://mirror.ffmpeginstaller.com/old/scripts/ffmpeg5/ffmpeginstaller.5.1.tar.gz
tar zxf ffmpeginstaller.5.1.tar.gz
cd ffmpeginstaller.5.1
./install.sh
###Error 1: installation of mplayer failed..cause cannot stat the conf file.
run the steps below
cd /usr/local/cpffmpeg
mkdir -p etc/mplayer
cd /usr/src/ffmpegscript/mplayer
June 22, 2010
Booting an ISO through Grub2
Using grub2 we can directly boot an (iso9660) ISO using its loopback option. It provides another nice rescue method – for example when using grml (the Debian based Linux Live-CD for sysadmins. We no longer need to extract kernel and initrd from the ISO to be able to boot it using the isofrom bootoption. So we need to do is put a plain grml ISO to our harddisk.
If we are using grub2 already consider adding an entry like the following to our grub config
June 21, 2010
Enabling SSH keys using cPnael
To use SSH keys instead of plain password to login:
1. Logon to WHM and go to Main >> Security >> Security Center
2. Under "SSH Password Auth Tweak" and disable the Password Authentication.
3. Under "Manage SSH Keys" click on Generate new key.
4. Give a Key name and Generate a good password (remember it). Choose KeyType as DSA since it’s more secure than RSA.
June 11, 2010
Server crash every day, httpd consumes all memory
Do the following:
1. Upgrade the kernel. The one you are running is slow, has bugs and has security vulnerabilities
2. Make sure you are an up to date compilation of httpd and php (i.e. rebuild it through WHM).
3. Check in WHM > Apache Status to see what the children hogging resources are doing
