Installation of Nginx 1.6, MySQL 5.5, PHP 5.5 that is also called as LNMP abbreviated as Linux Nginx MySQL PHP on CentOS/RHEL/Scientific Linux/Oracle Linux 7 with step by step details.

Introduction to the Nginx

  • Nginx is abbreviated as engine-x.
  • It has high performance but little memory consumption.
  • It have a rich feature set.
  • It is an open-source application also a high peak performance web server.
  • It has a reverse proxy.
  • It also used as a mail Proxy Server.
  • It is known for its high performance and stability.
  • It have simple configuration and low resource consumption.
  • It have threads to handle large requests and recommended amounts of memory under load condition.

Introduction to the MySQL

  • MySQL is a relational databas management system (RDBMS).
  • It has more than 11 million installations.
  • The program runs as a server providing multi-user access to a number of databases.
  • MySQL is  the most famous open source database management system (RDBMS).
  • It can runs with any web server like Nginx and Apache.
  • MySQL provides multi-user access to multiple databases.
  • It compiatable and smooth runs with Nginx & Apache.

Inroduction to the PHP

  • PHP is a programming language
  • It is used for designing of web site and server
  • It is a Hypertext Preprocessor
  • It is an open source scripting language
  • It is best suited for web development
  • It can be used to create web pages and posts for a php based website.

List of PHP Modules

  • MBString
  • MCrypt
  • APC
  • PostgreSQL
  • MongoDB
  • SQLite
  • Memcache
  • CLI
  • PEAR
  • PDO
  • MySQL
  • Memcached
  • GD
  • XML
  • php mod_php
  • php-bcmath
  • php-cli
  • php-cgi
  • php-pcntl
  • php-readline
  • php-common
  • php-hash
  • php-session
  • php-dba
  • php-devel
  • php-eaccelerator
  • php-embedded
  • php-embedded-devel
  • php-fpm
  • php-gd
  • php-imap
  • php-intl
  • php-LDAP
  • php-mbstring
  • php-mcrypt
  • php-pecl-apc
  • php-pecl-memcache
  • php-pecl-xdebug
  • php-mssql
  • php-odbc
  • php-pdo
  • php-pgsql
  • php-pdo_pgsql
  • php_database
  • php-process
  • php-posix
  • php-sysvmsg
  • php-sysvsem
  • php-sysvshm
  • php-pspell
  • php-recode
  • php-snmp
  • php-soap
  • php-suhosin
  • php-tidy
  • php-xml
  • php-xmlrpc
  • php-zts

Installation of Nginx 1.6, MySQL 5.5, PHP 5.5 on CentOS/RHEL/Scientific Linux/ Oracle Linux 7

Step-I(Install & Enable Webtatic repositories)
For RHEL/CentOS/Scientific Linux/Oracle Linux 6 (32 and 64 bit)
# yum localinstall --nogpgcheck http://mirror.webtatic.com/yum/el6/latest.rpm
For RHEL/CentOS/Scientific Linux/Oracle Linux 5 (32 and 64 bit)
# yum localinstall --nogpgcheck http://repo.webtatic.com/yum/el5/latest.rpm
Enable the Webtatic Repository
# yum clean all
# yum update
Step-II(Installation of Nginx 1.6)
For Fresh Installation of Ngnix 1.6
# yum install nginx16
For Existing Ngnix versions & Upgrade to Ngnix 1.6
# yum install yum-plugin-replace
# yum replace nginx14 --replace-with=nginx16
Step-III(Installation of MySQL 5.5)
For Fresh Installation of MySQL 5.5
# yum install mysql55w mysql55w-server
For Existing MySQL versions & Upgrade to MySQL 5.5
# yum install mysql.`uname -i` yum-plugin-replace
# yum replace mysql --replace-with mysql55w
Step-IV(Installation of PHP 5.5)
For Fresh Installation of PHP 5.5
# yum install php55w php55w-opcache
For Existing PHP versions & Upgrade to PHP 5.5
# yum install yum-plugin-replace
# yum replace php-common --replace-with=php55w-common
Step-V(Restart the Nginx & Mysqld Services)
# service nginx restart
# service mysqld restart

Congratulations Now you have installed Nginx 1.6, MySQL 5.5, PHP 5.5 on CentOS/RHEL/Scientific Linux/Oracle Linux 6/5 with step by step details.That`s all now, you have configured and installed LNMP.You’re now ready to use the LNMP on your systems. Just Boot to the Linux Operating system and see the action of the LNMP. Ensure that the LNMP perfectly with the all Client systems.Enjoy the LNMP on your system. Any difficulties regarding the installation and configuration use the comment section below.