yum install java-1.5.0-sun-devel jbossas
For old RHEL use following command:-
up2date -i java-1.5.0-sun-devel jbossas
Done.
yum install java-1.5.0-sun-devel jbossas
up2date -i java-1.5.0-sun-devel jbossas
sudo apt-get update
sudo apt-get install ntop
http://dag.wieers.com/rpm/packages/ntop/
http://rpmfind.net/linux/RPM/fedora/4/i386/glib-1.2.10-16.i386.html
rpm -ivh glib-1.2.10-16.i386.rpm
rpm -ivh ntop-3.2-1.el4.rf.i386.rpm
/usr/sbin/ntop -A
OR
sudo /usr/sbin/ntop -A
/etc/init.d/ntop restart
netstat -tulpn | grep :3000
http://localhost:3000/
or
http://{IP number}:3000/
wget http://download.suhosin.org/suhosin-0.9.27.tgz
yum install php-devel
cd suhosin-0.9.27
phpize
./configure
make
make install
echo 'extension=suhosin.so' > /etc/php.d/suhosin.ini
/etc/init.d/httpd restart
php -v
You need to install perl modules:-
cpan -i Term::ReadKey
cpan -i Term::ANSIColor
cpan -i Time::HiRes
wget http://jeremy.zawodny.com/mysql/mytop/mytop-1.6.tar.gz
tar -zxvf mytop-1.6.tar.gz
cd mytop-1.6
perl Makefile.PL
make
make test
make install
mytop -u dba -p 'password' -h 10.2.4.5 -d mydb
harith@vps:~$ w
05:59:01 up 8 days, 21:24, 2 users, load average: 0.54, 0.39, 0.18
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/0 124.217.240.33 Mon12 2days 0.01s 0.01s -bash
harith pts/1 118.101.132.110 05:41 0.00s 0.00s 0.00s w
harith@vps:~$
harith@vps:~$ ps -aux | grep -i HTTP | wc -l
130
harith@vps:~$<
netstat -lpn | grep :80 | awk '{print $5}' | sort
iptables -A INPUT -s <Source IP> -j DROP
iptables -A OUTPUT -p icmp --icmp-type echo-request -j DROP
harith@nobody:~$ ping server-ayam.harithdawi.com
PING yahoo.com (xxx.xxx.xxx.xxx) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
/etc/antivirus.exim
/etc/cpanel_exim_system_filter
#Catch all outgoing email account user1@domain1.com and froward to tracker@domain1.com
#Just put domain1.com instead of user1@domain1.com to catch all email account for the domain
if first_delivery
and ( ("$h_from:" contains "user1@domain1.com")
#or (”$h_from:” contains “user2@domain1.com”)
)
then
unseen deliver "tracker@domain1.com"
endif
#Catch all incoming email for account user1@domain1.com and froward to tracker@domain1.com
if first_delivery
and ( ("$h_to:" contains "user1@domain1.com")
or (”$h_cc:” contains “user1@domain1.com”)
)
then
unseen deliver "tracker@domain1.com"
endif