How-To: Install Pmon

VPS and dedicated server security tips. Preventing from attacks, ddos and more.

How-To: Install Pmon

Postby Mark » Fri Dec 25, 2009 11:38 am

PMON is a network socket monitor. It is designed to track changes to Network sockets and Unix domain sockets.

For More Information: http://rfxnetworks.net/pmon.php

Code: Select all
root@yourserver [~]# mkdir pmon

Code: Select all
root@yourserver [~]# cd pmon


Code: Select all
root@yourserver [~]# wget http://rfxnetworks.net/downloads/pmon-current.tar.gz


Code: Select all
root@yourserver [~]# gunzip pmon-current.tar.gz

Code: Select all
root@yourserver [~]# tar -xvf pmon-current.tar

Code: Select all
root@yourserver [~]# cd pmon-0.5

Code: Select all
root@yourserver [~]# ./install.sh


Code: Select all
root@yourserver [~]# cat README | more (If you wana checkout the readme)


Code: Select all
root@yourserver [~]# pico /usr/local/pmon/pmon.conf (ADD your email then save)


Code: Select all
root@yourserver [~]# pico /etc/cron.d/pmon (Make sure installer set cron)


Code: Select all
root@yourserver [~]# cd /usr/local/sbin

Code: Select all
root@yourserver [~]# pmon -g (Generates comparisson files)


Pmon is now installed, it will check based upon the cron job for any differences. You can also do a manul check by going into the /usr/local/sbin folder and doing "pmon -c"
Mark
 
Posts: 124
Joined: Fri Dec 11, 2009 2:18 pm

Return to Securing your server

Who is online

Users browsing this forum: No registered users and 2 guests

cron