June 23, 2010

Linux command to kill a user

Filed under: Linux Basics — SupportPRO Admin @ 2:35 am

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    

AddThis Social Bookmark Button

FFMPEG installation Latest

Filed under: Technical Articles — SupportPRO Admin @ 2:24 am

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…)

AddThis Social Bookmark Button

June 22, 2010

Booting an ISO through Grub2

Filed under: Technical Articles — SupportPRO Admin @ 5:55 am

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…)

AddThis Social Bookmark Button

June 21, 2010

Enabling SSH keys using cPnael

Filed under: Technical Articles — SupportPRO Admin @ 4:30 am

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…)

AddThis Social Bookmark Button

June 11, 2010

Copy files from dir1 to dir2 without replacing the existing files on dir2

Filed under: Linux Basics — SupportPRO Admin @ 5:18 am

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…)

AddThis Social Bookmark Button
Next Page »

Powered by WordPress