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

Introduction Backing up MySQL databases is one of the most critical responsibilities for database administrators and DevOps engineers. While full database backups are useful, there are many scenarios where backing up individual tables provides greater flexibility, faster recovery, and reduced storage consumption. In this guide, you’ll learn how to automate… Continue Reading Automate MySQL Table-Level Backups to Amazon S3 with Encryption

Introduction In Linux, an inode is a data structure that stores information about a file or directory, such as its permissions, ownership, timestamps, and disk block locations. Every file and directory consumes one inode. Even if sufficient disk space is available, a filesystem can become unusable when all available inodes… Continue Reading Calculate Inode Usage in Linux