How to setup sshguard Using Iptables and centos or redhat (another option is to use fail2ban, checkout my howto here ) 1.Download sshguard source and compile it (could also try yum install sshguard) # wget http://downloads.sourceforge.net/project/sshguard/sshguard/sshguard-1.5/sshguard-1.5.tar.bz2 Other downloads from here […]
How to setup Centreon with MK_Livestatus
How to setup Centreon with MK_Livestatus Setup mk_livestatus: wget http://mathias-kettner.de/download/mk-livestatus-1.1.10p1.tar.gztar -zxvf mk-livestatus-1.1.10p1.tar.gz cd mk-livestatus-1.1.10p1make installchown nagios.apache/usr/local/lib/mk-livestatus/livestatus.o To patch centreon to use multibrokers: SQL:1. Create new tables in DB: ‘centreon’ CREATE TABLE IF NOT EXISTS `cfg_nagios_bkmod` (`bkmod_id` int(11) NOT NULL AUTO_INCREMENT,`nagios_id` […]
NETFILTER PACKET FLOW
NETFILTER PACKET FLOW (kernel): DROP will not warn REJECT will let them know its closed example: (RULE CHECK CHAIN) (THE RULE, WHAT TO DO) iptables -t filter -A INPUT -s 192.168.0.1 -j DROP Notes: The default for -t is filter […]
How to install NTOP on CentOS 5.5 64bits
Quick and easisest way: wget http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm yum install ntop # Get yum ready yum clean all yum update # Install Development Tools yum groupinstall “Development Tools” # Install more ntop Dependencies yum install libpcap-devel libpcap # Install […]
yum to use DVD
Howto use yum CentOS DVD To install packages directly from the DVD one must do: # vi /etc/yum.repos.d/CentOS-Media.repo enabled=1 # mkdir /media/cdrom # mount /dev/cdrom /media/cdrom # yum –disablerepo=* –enablerepo=c5-media install pacakge-name
Howto Setup Varnish
Updated Version of this howto Varnish is a awesome Reverse Proxy, for caching websites and improves its performance in a polish varnish way. To setup follow the instructions (tested on CentOS yum update yum install ncurses-devel make clean mkdir /usr/local/src/varnish-2.0.5 […]
How to flash htc diamond
I finally installed a new ROM on my HTC Diamond, its a considerable old phone, but since my older one broke I have to use it. I hate to waste time on this but it was done in a few […]
