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
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.