Sometimes, you would need to give sudo privilege to many users. For providing sudo privilege for a single user, refer the following post.   —– https://blog.pheonixsolutions.com/wheel-user-to-become-as-root-su-without-password/ —–   For providing sudo privilege for many users, create a group and add all the users in that group. So, if we give… Continue Reading Providing sudo privilege for a group.

The below article explains the steps to create an email accounts in cPanel. + Login to cPanel and search email options in search Box as shown in the Below Diagram and click on “Email Accounts”     + Enter that details of your email acocunts.     + Click on… Continue Reading Create an email account in cpanel – demo

The container may not stop some particular time and if you search in the logs, you may not get the exact reason for not stopping the node. ======= $ vzctl stop VEID –fast Stopping container … Unable to stop container: operation timed out =======   The following work around will… Continue Reading Unable to stop container operation timed out

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