Step by step guide

CentOS

Setup Basic Iptables Firewall on Centos 6 Web Server

Install Linux Httpd MariaDB PHP on CentOS 6

Create mySQL User Grant PRIVILEGES to Database

Import Export MySQL Dumpfile MySQL Server on Terminal

Enable gzip compression Apache Nginx for faster web speed

Enable Keep Alive for faster web speed Apache and Nginx

Enable apache mod_rewrite for seo user friendly url CentOS 6

Set up Postfix Gmail SMTP Relay on CentOS 6

Debian

Set up Iptables On Debian 7

Install Apache Mysql Php on Debian 7

Enable mod_rewrite Apache2 on Debian 7

Postfix SMTP Relay Gmail Debian 7

Debian 8 Install Apache MySQL php5

Install Nginx, MySQL, PHP LEMP Stack on Debian 8

SSL

Install SSL Certificate Apache Debian 7