Let's Encrypt installation with apache
Apache LAMP Red hat linux Web Hosting

Setup Let’s Encrypt to Create SSL Certificates

Before you Begin Complete the steps for setting your Server / VPS hostname and timezone. Complete the steps in our Securing Your Server guide to create a standard user account, harden SSH access, and remove unnecessary network services. Update your server’s software packages:CentOS

Debian / Ubuntu

Download and Install Let’s Encrypt Install the […]

Nagios android and IOS mobile notifications
nagios Red hat linux Shell scripting

Configure Android / IOS notificationfor Network Monitoring With Nagios

Download Source File This PHP API script reads Nagios status.dat file and return the JSON result. This API is desinged for Nagios Client unofficial Nagios status monitoring app. Step 1 Upload nath_status.php to your Nagios web root folder. ###Nagios Core’s 3.5.1 default Web Root folder Web Root Folder – Centos /usr/share/nagios/html/ ###Nagios Core’s default Web Root folder Web […]

Red hat linux

How to remove powered by phplist

If that’s what you want to do, the following hack will do it (it looks like a cleaner solution would require figuring out where the [SIGNATURE] in the email template is coming from and removing that). These instructions are for phplist version 2.10.2. Search lists/admin/sendemaillib.php for $text[“signature”] = “\n\n–\nPowered by PHPlist, www.phplist.com –\n\n”; Immediately after that line, add the line (or replace […]

MySQL Red hat linux

How to re-sync the Mysql DB if Master and slave have different database incase of Mysql replication?

This is the full step-by-step procedure to resync a master-slave replication from scratch: At the master: And copy the values of the result of the last command somewhere. Without closing the connection to the client (because it would release the read lock) issue the command to get a dump of the master: Now you can release the […]

Red hat linux

Install and configure LSYNCD on Centos 7

Enviroment: – Server01.192.168.30.201 – Server02.192.168.30.202 – Directory to be Sync : “/opt/web/htdocs/prompt and /opt/vxml ” 2.Step Key based authentication Configuration -Login to Master server & generate the public and Private keys using the following command:

2.Step Installation Lsyncd

3.Step Lsyncd Configuration

Start and enable the lsyncd service using the following commands:

[…]

MySQL Red hat linux

Upgrade MySQL to Version 5.6 in CentOS

Backup all the database and stop mysql

Download the Repo for MySql 5.6

Install the repository from the local file

Install the latest MySql

Configure MySQL to start automatically on Server Reboot

Need to apply some tweaks Its not like the previous versions that tweaks are not required. From Version […]

Red hat linux

How to Set up Nginx High Availability with Pacemaker and Corosync

Prerequisites 2 or more CentOS 7 Serverpre web01       10.0.15.10 web02       10.0.15.11 web03       10.0.15.12 Floating IP Address 10.0.15.15 Root Privileges What we will do: Map the Host File Install Epel Repository and Nginx Install and Configure Pacemaker, Corosync, and Pcsd Create and Configure the Cluster Disable STONITH and Ignore the Quorum Policy Add the Floating-IP and […]

Red hat linux

Setting up the Basic High-Availability Cluster on Centos/RHEL 7

Networking: We have two nodes that are reachable by below Networks: 10.1.1.0/24 : Cluster heartbeat vlan. 172.16.1.0/24 : LAN with access to the Internal LAN network and Internet. We have set the following hostnames:

We defined the Hostname and IP Address in “/etc/hosts” file(On both the nodes), as shown below;

To setting up […]

Red hat linux

Setting Up an NFS Server and Client on CentOS 7

I’m using two CentOS systems here: NFS Server: server.example.com, IP address: 192.168.1.100 NFS Client: client.example.com, IP address: 192.168.1.101 Configure the Firewall

Installing NFS and enable and start the nfs server service.(Client / Server)

Exporting Directories on the Server

Now we must modify /etc/exports where we “export” our NFS shares.

Mounting the […]