Installing and configuring NGINX on CentOS 6

There are different options to install a web server on CentOS servers. One of my favourite methods is NGINX (engine-x).

Adding inventory for yum

Configuring NGINX

Configuring PHP-FPM

Installing and configuring MariaDB

MariaDB is so compatible with MySQL. If you already know about MySQL, switching to MariaDB is not an issue.

See part 2 for improving WordPress speed with NGINX.