Archive / Linux

RSS feed for this section

Intrusion Detector quick install

rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm yum install fail2ban

install proxy_wstunnel_module in cpanel/whm

I had apache 2.4.6 already installed so Note: – I downloaded the sources for 2.4.6 – You need mod_so wget http://archive.apache.org/dist/httpd/httpd-2.4.6.tar.gz tar -xf httpd-2.4.6.tar.gz cd httpd-2.4.6 cd modules/proxy /usr/local/apache/bin/apxs -i -a -c mod_proxy_wstunnel mod_proxy_wstunnel.c as a bonus: to configure apache … Continue reading

Kill all fastcgi processes

Sometimes I need to reset all php fastcgi processes especially when I change the php version for users in their php-wrapper pgrep php-cgi | xargs kill -9

install php xdebug

I installed it for the latest stable version of php 5.3 (5.3.21). Feel free to change the version to your own needs # download the latest stable version from http://pecl.php.net/package/xdebug wget http://pecl.php.net/get/xdebug-2.2.1.tgz # unarchive tar -xf xdebug-2.2.1.tgz cd xdebug-2.2.1 # … Continue reading

Linux IO speed test

dd if=/dev/zero of=/tmp/output.img bs=8k count=256k rm /tmp/output.img

install ntop on centos 5 with whm/cpanel environment

———- install ruby ——————– /scripts/installruby ———- install libpcap ——————– yum install libpcap-devel libpcap I removed from /etc/yum.conf : ruby and perl from the exclude list vi /etc/yum.conf ———- install rrdtool ——————– yum install rrdtool yum install rrdtool-devel ———- install nDPI … Continue reading