LEMP on Fedora 18/17, CentOS/Red Hat (RHEL) 6.4/5.9
LEMP (Linux, Nginx, MySQL, PHP) server is extremely powerful setup behind any website or web based service. This guide is collection of Fedora/CentOS/Red Hat (RHEL), Nginx, MySQL and PHP (PHP-FPM) install guides.
This guide (more specifically this guide parts) try to explain in more detail LEMP (Linux, Nginx, MySQL, PHP (PHP-FPM)) server environment installation. This howto can be used to pre-installed Linux, and instructions can be used for various Fedora and Red Hat based Linux distros with YUM. This guide is also usable with setup where MySQL databases, Nginx servers and even PHP-FPM are on different server machines. So you could have different servers to process MySQL queries, Web Server requests and PHP requests.
This guide includes three separated steps/guides
Note: Any step can be omitted if something does not want to install.
1. Install Linux (Fedora 18/17/16, CentOS 6.4/6.3/6.2/6.1/6/5.9, Red Hat 6.4/6.3/6.2/6.1/6/5.9)
Currently there are four different instructions for installing Linux (Fedora 18/17/16, CentOS 6.4/5.9 and Red Hat 6.4).
Install Fedora 18 Linux >>
Install Fedora 17 Linux >>
Install Fedora 16 Linux >>
Install CentOS 6.4 Linux >>
Install CentOS 5.9 Linux >>
Install Red Hat (RHEL) 6 Linux >>
2. Install MySQL 5.5
This MySQL part use Remi Repository and install latest MySQL 5.5 (currently 5.5.30) version.
Install MySQL database server >>
Note: Open MySQL port only when it’s really needed and otherwise use it only locally (localhost)
3. Install Nginx with PHP (PHP-FPM) 5.4
This Nginx and PHP (PHP-FPM) part use Remi Repository and install latest PHP (PHP-FPM) 5.4 (currently 5.4.13) version.
Install Nginx web server with PHP (PHP-FPM) support >>
Nginx and PHP-FPM Configuration and Optimizing Tips and Tricks >>
PHP: APC Configuration and Usage Tips and Tricks >>
Finally you are done, most important configurations and checks have been completed and you are ready to run your site(s) on LEMP (Linux, Nginx, MySQL, PHP) environment.
LEMP (Linux, Nginx, MySQL, PHP) server is extremely powerful setup behind any website or web based service. This guide is collection of Fedora/CentOS/Red Hat (RHEL), Nginx, MySQL and PHP (PHP-FPM) install guides.
nice job! thanks
Uff. Just an amazing resource. This is top top information. Thanks, you just saved my whole day.