Setup ECC SSL for Nginx to satisfty Cloudflare Full SSL mode

Cloudflare's Full SSL mode encrypts the connection between your website visitors and CloudFlare also from CloudFlare to your server. This mode requires SSL certificate on your server. In this tutorial will show how to create SSL certificate on server and configure Nginx for SSL.

The following procedures are tested on my Linode server running Centos 7 64-bit Linux distribution.

Setup Nginx as web server and 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 web server. To take advantage of Nginx, we will install it as reverse proxy for Apache and continue using Virtualmin to manage your domains. This guide also applies to Nginx+PHP FPM setup just skip the "Configure Apache" section and skip the "Configure Virtualmin" section if you are not using Virtualmin.

Setup Virtualmin GPL in Centos 7 for limited server resources

Virtualmin GPL is a free multiple virtual hosts manager. It is like Plesk or Cpanel that supports the creation and management of Apache virtual hosts, BIND DNS domains, MySQL databases, etc. This tutorial will show how to setup Virtualmin on a fresh server with limited resources.

It is assumed that you don't have any previous installation of Virtualmin. The following procedures are tested on my Linode server running Centos 7 64-bit Linux distribution.

Build high performance Drupal site without spending much


When we install the basic Drupal we get very simple functionality and not so good user experience, we have to dig through 30,000 modules to find the modules we need, install and configure them to achieve the site we actually want. To save the trouble from doing this work, we can take advantage of using Drupal distribution. One of the very good to start with is the Panopoly Drupal distribution it has almost all the modules or functionality that a general website should have.

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 it serves them from RAM and this avoid hits to the disk or database. We see often that half of the queries are served by Memcache and we are looking significant improvement in authenticated users hits.

Setup Zend OPcache on CentOS 7

Zend OPcache speeds up the execution of PHP codes. How? We know that PHP is an interpreted language where the instructions are written in a script and needs a process to parse/interpret and execute it. Zend OPcache removes the parse/interpret part by compiling the script to directly executed it by the target machine which makes the execution of your PHP application more faster. This article will show how to setup Zend OPcache on CentOS 7.