How to harden the Linux server or centos 5 or centos 6.2 SPRI (Priority Scheduler) cd /root/ wget http://www.rfxn.com/downloads/spri-current.tar.gz tar xvfz spri-*.tar.gz cd spri-* ./install.sh spri -v PRM (Process Resource Monitor) cd /root wget http://www.rfxn.com/downloads/prm-current.tar.gz tar xvfz prm-*.tar.gz cd prm-* ./install.sh prm -j Temporary Directory Hardening —————————– /bin/cp /etc/fstab /etc/fstab.bak… Continue Reading Hardening the linux server or cenos 5/6.2

You have installed WordPress and are seeing the following error: Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in “\xyz\xyz.com\wwwroot\index.php” on line 17 Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in “\xyz\xyz.com\wwwroot\index.php” on line 17 This is most likely because you… Continue Reading ./wp-blog-header.php error [function.require]:failed to open stream

How to install Curl in LiteSpeed webserver? Installing the curl in Litespeed is very easier process. Compiling PHP curl with the Litespeed web server is can be done by simple method displayed below. Kindly follow the steps below to know how to install curl in litespeed webserver. 1) Go to lsws directory… Continue Reading Install curl in Litespeed webserver

How to remove space in front of a word in a file? This is a simple script to show how to remove space in a front of a word from a file. You can learn about this simple command for removing the space in front of a word and execute… Continue Reading Remove a space in front of a word in a file

How to allow some other extensions like .docx, .app and etc in the mailscanner? I was searching to find how to allow particular extensions in mailscanner. I have followed this post to allow the .zip extensions to  in the mailscanner. http://linux-bloggers.blogspot.in/2012/06/mailscanner-allow-zip-tar-gz-extension.html However, when I am trying to send email of… Continue Reading Mailscanner : Allow extensions like .docx, .dox,

How can I configure MailScanner to allow zip/archive files through even if they contain an exe file or other potentially dangerous filename or filetype? You can configure MailScanner to not check archives (zip, tar.gz etc). i.e When you are trying to send emails, the mail scanner should allow .zip .tar… Continue Reading Mailscanner: allow .zip .tar .gz extension in email

When you try to access the website, you will be getting an error message stating as follows: ===== Authorization Error ===== Its a known issue if you are running Plesk with IIS. You can resolve the issue by performing the following. =========== Anonymous access to the site was enabled in… Continue Reading Authorization erorr IIS home page

Plesk internal server error with PHP handlers  Plesk internal server error with PHP handlers:  When using Plesk PHP 5.3.x, php pages in plesk will be throwing internal server error. This plesk einternal server error was troubling a lot where i tried to change the handlers but it didn’t fix the issue. when… Continue Reading Plesk internal server error with PHP CGI/FCGI

Detect top 10 spammers in exim Eximstats is a useful command to find spamming in the cpanel server. Execute the following command in your terminal. Exim stats can detect top 10 spammers easily via the number of emails sent out. /usr/sbin/eximstats -t10 /var/log/exim_mainlog > teststats The stats output will be… Continue Reading Exim detect top 10 spammers

How do I flush a computer DNS cache?To flush DNS cache in your computer or PCFlush dns to get a new nameserver resolution for a domain. Flushing DNS cache might also helps you to check new redistered domain is accessable in the browser or not. You can simply flush your… Continue Reading How do I flush a computer DNS cache?