I got the above error when I am executing the bash script with mail command. In the scripts you use -a in the mail commands to attach the logfile. This does not function and results in an error that an invalid header is being added to the mail. Looking in… Continue Reading Invalid header: /var/log/rkhunter.log

In this script you will get information like AZ, instance ID, IP, keyname, etc… Please find the script below. Create a file with name getawsinstance.sh. Copy and paste the below content.nano getawsinstances.sh !/bin/bash echo “Grabbing instances in all regions, please wait..”for region in aws ec2 describe-regions –output text | cut… Continue Reading Bash Script to get the information related to instances of all regions in AWS.

How to Install Redis cache server in centos 7. Date Posted: 02 -09-2018 Redis is an in-memory data structure store, used as a database server, cache, and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps and streams. It also provides… Continue Reading How to Install Redis cache server in centos 7.

How to migrate CPanel Account manually from backend Posted on : 03-11-2018 In this article, we are going to see about the efficient and fastest method to transfer WHM accounts from one server to another and restoring the same in new server. Assumption : If we need to migrate all… Continue Reading How to migrate CPanel Account manually from backend

Nagios with GitLab in Independent VPs Date : 27-oct -2018 In this article, we are going to run two different services in single machine at different ports.Namely Nagios and GitLab are the services which be running on different ports.This will accomplished by installing the services on machine. I.Introduction :  Nagios… Continue Reading Nagios with GitLab in Independent VPs

How to Backup OpenVZ containers (VM’s) using vzdump on Centos / RHEL Date Posted : 10-10-2018 OpenVZ is a linux based Kernel virtualization technology developed by SWSoft for its commercial product Virtuozzo.In this article we are going to learn about how to backup VM’s which are running under Hardware node.… Continue Reading How to Backup OpenVZ containers (VM’s) using vzdump on Centos / RHEL

How to Install Let’s Encrypt SSL Date posted: 28-sep-2018 Please follow  this steps to install the SSL certificate. Step 1: Install CertBot Type the given commands sudo apt-get install software-properties-common python-software-properties sudo add-apt-repository ppa:certbot/certbot sudo apt-get update sudo apt-get install python-certbot-apache   Step 2: Install Let’s Encrypt SSL Install Let’s Encrypt… Continue Reading How to Install Let’s Encrypt SSL

Upgrading WordPress Manually in Centos 7 Date Posted : 20-09-2018 In this article, we are about to learn about how to upgrade WordPress version from rear end.We assuming that your have installed LAMP stack. Prerequisite : Acquaintance of WordPress,MySQL Assumptions: Centos 7 is running in your server WordPress version :… Continue Reading Upgrading WordPress Manually in Centos 7

We can use the following command to calculate the inode usage of a directory. It will be used in troubleshooting the “Disk quota” issue in cPanel server to find out which directory is using highest number of inodes ===== printf “===\nInode usage :$(pwd)\n===\n\n”;for i in `find -maxdepth 1 -type d|cut… Continue Reading Calculate inode usage

Sometimes, we need the mail logs to find out the reason why the mails has been bounced back. The following script will help you to find the same. Actually, this type of script needed for the server which is used for email marketing application.   As most of the email… Continue Reading Script to identify the reason for bounced back emails