Sometimes, we will have the ssh root access without WHM access. If suppose, you want to change the package, owner, etc., for an account. In WHM, you can edit the settings easily. Here is the post to explain, how to change the account settings in backend. + Login to server… Continue Reading Edit package, Owner of an account in cPanel backend

+ First, we would need to add the FTP login details in .netrc file. If this file is not present then you can create new .netrc file. Please note that the permission of this file should be 600. ——————- machine IPADDDRESS login username password password ——————- + Create a backup… Continue Reading FTP backup scipt for all the mysql databases

The below mentioned steps are used to send an email from remote servers. +  First thing, we will need to convert our login credentials into base64. We can convert by using the following perl scripts. ======= $ perl -MMIME::Base64 -e ‘print encode_base64(“test\@domainname”)’ $ perl -MMIME::Base64 -e ‘print encode_base64(“password”)’ =======  … Continue Reading Send an email using telnet from remote servers

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