Linux Tips & Tricks
How to See the SSH password guesses
First, find the PID of the listening SSH daemon process:
# ps axuww | egrep 'PID|ssh'
Now become root and attach to the running daemon with strace:
# strace -f -e 'read,write' -p12345
Convert 'man' pages to pdf format
Here is the way to convert man pages to PDF format
# man -t man | ps2pdf - > man.pdf
Cpanel Tips & Tricks
Installing imagemagick on a cpanel server
1. Log into your server as root
2. Create a new directory as below :
mkdir /home/cpimins
3. cd /home/cpimins
4. wget http://layer1.cpanel.net/magick.tar.gz
5. tar zxvf magick.tar.gz
6. cd magick
7. /scripts/installrpm ImageMagick
8. /scripts/installrpm ImageMagick-devel
9. sh ./install
apache 1.3.x vs apache 2.x
---------------------------------
No comments:
Post a Comment