0

Installation of Nginx , MySQL , PHP  that is also called as LNMP abbreviated as Linux Nginx MySQL PHP 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 database 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 compatible and smooth runs with Nginx & Apache.

Introduction 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
Step-I(Install & Enable Webtatic repositories)
For RHEL/CentOS/Scientific Linux/Oracle Linux 8 (32 and 64 bit)
# yum localinstall --nogpgcheck http://mirror.webtatic.com/yum/el8/latest.rpm
For RHEL/CentOS/Scientific Linux/Oracle Linux 7 (32 and 64 bit)
# yum localinstall --nogpgcheck http://repo.webtatic.com/yum/el7/latest.rpm
Enable the Webtatic Repository
# yum clean all
# yum update
Step-II(Installation of Nginx )
For Fresh Installation of Ngnix
# yum install nginx16
For Existing Ngnix versions & Upgrade to Ngnix
# yum install yum-plugin-replace
# yum replace nginx14 --replace-with=nginx16
Step-III(Installation of MySQL)
For Fresh Installation of MySQL
# yum install mysql55w mysql55w-server
For Existing MySQL versions & Upgrade to MySQL
# yum install mysql.`uname -i` yum-plugin-replace
# yum replace mysql --replace-with mysql55w
Step-IV(Installation of PHP )
For Fresh Installation of PHP
# yum install php55w php55w-opcache
For Existing PHP versions & Upgrade to PHP
# 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

That’s all for now.

Various Linux File System and Linux Directory Structure

Previous article

How to Install uGet Download Manager on CentOS / RHEL

Next article

You may also like

Comments

Leave a reply

Your email address will not be published. Required fields are marked *

More in Linux