GlusterFS servers on RHEL 7 and Centos 7

GlusterFS servers on RHEL 7 and Centos 7 vi /etc/hosts 192.168.1.71 apache1.rmohan.com apache1 192.168.1.72 apache2.rmohan.com apache2 192.168.1.74 apache3.rmohan.com apache3 For this lab, we disabled both firewall and SELinux vi /etc/selinux/config egrep “^SELINUX=” /etc/sysconfig/selinux SELINUX=disabled systemctl is-enabled firewalld disabled systemctl disable firewalld yum update yum -y install wget openssh* net-tools ntp ntpdate -u 0.centos.pool.ntp.org Before proceeding […]

Read more
How to setup Memcache on CentOS 7 for Drupal site

How to setup Memcache on CentOS 7 for Drupal site One way to optimize the authenticated users experience in Drupal site is to use Memcache. It works between the database and Drupal. Typically the queries are cached in the database but with Memcache the queries sent from Drupal to database are intercepted by Memcache and […]

Read more
Mitigate DDoS attack with ngx_http_limit_req_module and fail2ban

Mitigate DDoS attack with ngx_http_limit_req_module and fail2ban The fail2ban do have comprehensive collection of scripts that scan log files and ban IPs that match malicious activities. But we are going to look on how to use ngx_http_limit_req_module logs to ban IPs that shows sign of Distributed Denial of Service (DDoS) attack on your website. It […]

Read more
Nginx as reverse proxy for Apache

Setup Nginx as reverse proxy for Apache with Virtualmin support We know that Nginx is more faster than Apache and most of us prefer to replace Apache with Nginx as their web server. Nginx is known to serve faster static content and run with less RAM. As of this writing, Virtualmin supports Apache as its […]

Read more
Banning visitors from a specific country using Fail2ban CENTOS 7

This article, we will take a look on how to exempt from banning visitors from a specific country using Fail2ban and geoip. It is assumed that Fail2ban is already installed and configured in your server. Lets install first the geoip: yum install geoip Create Fail2ban action script: vi /etc/fail2ban/action.d/geohostsdeny.conf Copy the following script: [Definition] # […]

Read more
MariaDB Galera Cluster on Centos 7

MariaDB is a branch of Mysql, it has been widely used in open source projects, such as hot openstack, therefore, in order to ensure high availability of the service, while increasing the load capacity of the system, the cluster deployment is essential. MariaDB Galera Cluster Introduction MariaDB Galera Cluster is an open source MariaDB synchronous […]

Read more
Pacemaker Apache on High Availability CENTOS 7

Pacemaker Apache on High Availability CENTOS 7     Red Hat, Inc. introduces new Open Source Software in their every release. Red Hat Enterprise Linux 7 High Availability Add-On introduces a new suite of technologies that underlying high-availability technology based on Pacemaker and Corosync that completely replaces the CMAN and RGManager technologies from previous releases […]

Read more
Chrony time synch

Alternatively, you can install the new Chrony service that is quicker to synchronize clocks in mobile and virtual systems. Install the Chrony service: # yum install -y chrony Activate the Chrony service at boot: # systemctl enable chronyd Start the Chrony service: # systemctl start chronyd [root@apache2 ~]# yum install chrony -y Loaded plugins: fastestmirror […]

Read more

Hit Counter provided by dental implants orange county