skill -STOP -u Username. STOP/HALT a user
skill -CONT -u Username RESUME already halted user
skill -KILL -u Username KILL and LOGOUT user
skill -KILL -v /dev/pts/* KILL and LOGOUT all users
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
(more…)
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
(more…)
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.
(more…)
Copy files from dir1 to dir2 without replacing the existing files on dir2
[root@twenty ]# ls
dir1 dir2
[root@twenty ]# ls dir1
a b c d e f
[root@twenty ]# ls dir2
a b c
(more…)