Step 1. WHM settings for to PHP-FPM configuration 1. Go to Home » Service Configuration » Configure PHP and suEXEC and set the following options PHP 5 Handler: none Apache suEXEC: off Apache Ruid2: off 2. Add the PHP-FPM and FastCGI flags to EasyApache by editing the following line. vi […]
Month: October 2016
EasyApache4 revert to EasyApache3 on freshinstall (whm 58)
While trying to revert Easyapache3 to Easyapche4 you will get the below error on a Fresh install server: ===== This system never had EasyApache 3. Reverting is not possible. ===== Please follow below steps to install Ea3. Please note that this a workaround: ===== 1 Create a […]
DDOS attack measures
How do we confirm that the server is under DDOS attack? We can confirm it by checking the result of netstat command: netstat -an|awk ‘/tcp/ {print $6}’|sort|uniq -c This will show the states and number of connections at that time. The different states that are visible mostly in servers […]
Control search engine crawlers
How to Control search engine crawlers with a robots.txt file Website owners, can instruct search engines on how they should crawl a website, by using a robots.txt file. When a search engine crawls a website, it requests the robots.txt file first and then follows the rules within. It’s important to […]
Installation/Upgradation of IPTABLES and CSF
Steps to Update/Install iptables iptables v1.6.0 cd /usr/src wget -O /usr/src/iptables-1.6.0.tar.bz2 https://www.netfilter.org/projects/iptables/files/iptables-1.6.0.tar.bz2 –no-check-certificate tar -jxf iptables-1.6.0.tar.bz2 cd iptables-1.6.0 ./configure –prefix=/myiptables –with-xtlibdir=/lib/xtables –disable-nftables make make install mv /sbin/iptables /myiptables/iptables.backup mv /sbin/iptables-restore /myiptables/iptables-restore.backup mv /sbin/iptables-save /myiptables/iptables-save.backup ln -s /myiptables/sbin/iptables /sbin/iptables ln -s /myiptables/sbin/iptables-restore /sbin/iptables-restore ln -s /myiptables/sbin/iptables-save /sbin/iptables-save ———– For […]