How to Install LEMP Web Server With Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

download How to Install LEMP Web Server With Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

of 13

Transcript of How to Install LEMP Web Server With Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

  • 8/10/2019 How to Install LEMP Web Server With Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    1/13

    to install LEMP web server with Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    //www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html[11/30/2014 6:35:47 PM]

    How to install LEMP web server with Nginx, PHP-FPM5.5, MySQL 5.5 on Centos 711/30/2014 by namhuy Leave a Comment

    Nginx is one of the most popular web server widely

    used by many popular websites like facebook, intel,

    cloudflare, hulu, netflix, dropbox, and more. Unlike

    Apache web server, nginx is a very light weight web

    server and proxy server yet comes with the same or

    even better features. Nginx does not create new process

    Geeky Open Source Linux Tutorials

    Search me...HOME ABOUT ARCHIVES CONTACT

    NAM HUY LINUX

    http://www.namhuy.net/author/namhuy/http://www.namhuy.net/http://www.namhuy.net/about/http://www.namhuy.net/archives/http://www.namhuy.net/contact/http://www.namhuy.net/http://www.namhuy.net/http://www.namhuy.net/contact/http://www.namhuy.net/archives/http://www.namhuy.net/about/http://www.namhuy.net/http://www.namhuy.net/author/namhuy/
  • 8/10/2019 How to Install LEMP Web Server With Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    2/13

    to install LEMP web server with Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    //www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html[11/30/2014 6:35:47 PM]

    for each http request like Apache does. The more

    processes are created on a web server, the more Apache

    takes up memory on the server, and as the result

    Apache can cause the server to swap memory to disk

    (degrading performance). Nginx will limit the worker

    processes, each Nginxs process is single threaded, and

    each worker can handle thousands of concurrent connections.

    Newer Centos version has been released (Centos 7), and the current stable PHP

    version is 5.6.x. If you like me, always want everything is up to date, why not use

    all the new/current technology for our web server. In this article I will show you

    how to install LEMP server with Nginx 1.6.2, PHP 5.6 and mariadb

    Installing EPEL and REMI Repository for Centos 7 64 bit

    You can always can install nginx via official nginx repo, but you can also install nginx via EPEL repo which

    Im going to install nginx and other packages via EPEL.

    Install Nginx

    You have installed EPEL repo, you can now install nginx package via EPEL

    To start Nginx on Centos 7

    To start Nginx on Centos 7 automatically at boot

    Enable firewall rules

    Centos 7 comes with firewalld as default firewall system instead of iptables. You can always go back to use

    iptables on Centos 7 but for this article purpose, we will just stick with the default firewalld on Centos 7. To

    allow http and https traffic in/out your web server, you can use firewall-cmd commands below. (If you dont

    use https, you can skip the https line)

    # yum i nstal l ngi nx - y

    # systemct l st ar t ngi nx

    # syst emct l enabl e ngi nx

    12

    # r pm - Uvh ht t p: / / dl . f edor aproj ect. or g/ pub/ epel / 7/ x86_64/ e/ epel - r el ease- 7- 2. noar ch. rpm# r pm - Uvh ht t p: / / rpms. f ami l l ecol l et . com/ ent er pri se/ remi - r el ease- 6. r pm

    1 # f i r ewal l - cmd - - per manent - - zone=publ i c - - add- ser vi ce=ht t p

  • 8/10/2019 How to Install LEMP Web Server With Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    3/13

    to install LEMP web server with Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    //www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html[11/30/2014 6:35:47 PM]

    By now you should be able to see default nginx web page via a web browser

    To view the nginx default page above, you can either use your public IP address, or your domain which you

    already have pointed to your public IP address. Its a little bit different to view IP address on Centos 7 than

    Centos 6. ifconfig which we always use is not installed on Centos 7 by default.

    To view your server ip addresses

    If you want the old school ifconfig command back, you can install the net-tools package

    Install MariaDB 5.5

    Why MariaDB and not MySQL? Simply MariaDB is faster, there are a lot of speed improvement in

    MariaDB like Innodb asynchronous IO, Indexes for Memory engine, segmentd key cahce for MyISAM,

    faster CHECKSUM TABLE MariaDB comes with more extensions like Microseconds, table elimination,

    pluggable Authentication, GIS functionality, many more new features and less bug. The most thing I like

    about MariaDB is truly open source, all MariaDBs code is released under GPL, LGPL or BSD

    To install MariaDB on CentOS 7

    To start MariaDB on Centos 7

    # i p addr

    # yum i nstal l net - t ool s

    # yum - - enabl erepo=r emi , r emi - php56 i nst al l mari adb- server mari adb - y

    23

    # i r ewa - cm - - per manent - - zone=pu i c - - a - ser vi ce= t t ps# f i rewal l - cmd - - rel oad

  • 8/10/2019 How to Install LEMP Web Server With Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    4/13

    to install LEMP web server with Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    //www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html[11/30/2014 6:35:47 PM]

    To start MariaDB on Centos 7 automatically at boot

    secure mariadb

    After you have mariadb installed, the next important step is to secure the database server. Similar to MySQL,

    Mariadb comes with a script to harden your Mariadb databse server. You should always run the script before

    using the databases.

    You will have to answer some question, all you have to do is to say Y to most of them.

    # syst emct l st art mari adb

    # syst emct l enabl e mar i adb

    # / usr/ bi n/ mysql _secur e_i nst al l at i on

    123456789101112131415

    1617181920212223242526272829

    30313233343536373839404142

    / usr / bi n/ mysql _secur e_i nst al l at i on: l i ne 379: f i nd_mysql _cl i ent : command not f oundNOTE: RUNNI NG ALL PARTS OF THI S SCRI PT I S RECOMMENDED FOR ALL Mar i aDB SERVERS I N PRODUCTI ON USE! PLEASE READ EACH STEP CAREFULLY!I n or der t o l og i nt o Mari aDB t o secur e i t , we' l l need t he cur r entpasswor d f or t he r oot user . I f you' ve j ust i nstal l ed Mar i aDB, andyou haven' t set t he root password yet, t he password wi l l be bl ank,so you shoul d j ust pr ess ent er here.Ent er cur r ent passwor d f or r oot ( ent er f or none) :OK, successf ul l y used password, movi ng on. . .Set t i ng t he r oot password ensures t hat nobody can l og i nt o t he Mari aDBr oot user wi t hout t he pr oper aut hor i sat i on.

    Set r oot password? [ Y/ n] yNew passwor d:Re- enter new password:Password updated successf ul l y!Rel oadi ng pr i vi l ege t abl es. . . . . Success!

    By def aul t , a Mari aDB i nstal l at i on has an anonymous user , al l owi ng anyonet o l og i nt o Mar i aDB wi t hout havi ng t o have a user account creat ed f ort hem. Thi s i s i nt ended onl y f or t est i ng, and t o make t he i nst al l at i ongo a bi t smoot her. You shoul d remove t hem bef ore movi ng i nto aproduct i on envi r onment .

    Remove anonymous user s? [ Y/ n] y . . . Success!Normal l y, r oot shoul d onl y be al l owed t o connect f r om ' l ocal host ' . Thi sensures t hat someone cannot guess at t he root password f r omt he network.Di sal l ow r oot l ogi n remot el y? [ Y/ n] y . . . Success!By def aul t , Mar i aDB comes wi t h a dat abase named ' test ' t hat anyone canaccess. Thi s i s al so i nt ended onl y f or t esti ng, and shoul d be r emovedbef ore movi ng i nt o a pr oduct i on envi r onment .

  • 8/10/2019 How to Install LEMP Web Server With Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    5/13

    to install LEMP web server with Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    //www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html[11/30/2014 6:35:47 PM]

    Install PHP-fpm 5.6

    Im going to use remi repo for php-fpm and other php* modules. Make sure you use the correct enablerepo

    option with yum command. These are common php modules for today php scripts, you can add/remove

    modules to your needs.

    To search for more available PHP modules, you can use this command to list more PHP modules

    To get more detail about each php module does, you can of course google the package name, or use yum

    info command to look at the long description of the package.

    To start PHP-FPM on Centos 7

    To start PHP-FPM on Centos 7 automatically at boot

    Configure Nginx

    By now you should have nginx, mariadb, and php-fpm installed on your LEMP web server. Now lets

    configure nginx to make everything work well together.

    # yum - - enabl erepo=r emi , r emi - php56 i nst al l php- f pm php- common php- mysql php- opcache php- pear

    php- gd php- devel php- mbst r i ng php- mcr ypt php- cl i php- pdo php- xml - y

    # yum sear ch php

    # yum i nf o package_name

    # ser vi ce php- f pm st ar t

    # chkconf i g php- f pm on

    4344454647484950515253

    5455565758596061

    Remove t est database and access t o i t ? [ Y/ n] y - Dr oppi ng t est dat abase. . . . . . Success! - Removi ng pr i vi l eges on test database. . . . . . Success!Rel oadi ng t he pr i vi l ege t abl es wi l l ensur e t hat al l changes made so f arwi l l t ake ef f ect i mmedi at el y.Rel oad pr i vi l ege tabl es now? [ Y/ n] y

    . . . Success!Cl eani ng up. . .Al l done! I f you' ve compl eted al l of t he above st eps , your Mar i aDBi nst al l at i on shoul d now be secure.Thanks f or usi ng Mar i aDB!

  • 8/10/2019 How to Install LEMP Web Server With Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    6/13

    to install LEMP web server with Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    //www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html[11/30/2014 6:35:47 PM]

    Nginx Global Configuration

    Default nginx global configuration file is located at /etc/nginx/nginx.conf You can nginx user,

    worker_processes, server name, listening port and other things in this file.

    To edit nginx global configuration file

    There are few important things you should look at.

    user: If you are the only one who use the web server, you should keep the default nginx user which is nginx.

    worker_processes: this value should be equal of the number of cpu or vcpu you have on the server.

    To check the number of cpu/vcpu of the server

    Then set nginx_processes accordingly

    Next enable sendfile, tcp_nopush, gzip, and add index.php

    Uncomment tcp_nopush and gzip, add index.php to index line, you should have something like this on

    your configure file

    Next is to adjust server name and default server root directory. I suggest you keep this part as it unless you

    # nano / etc/ ngi nx/ ngi nx. conf

    # gr ep pr ocessor / pr oc/ cpui nf o | wc - l

    12

    user ngi nx;wor ker_processes 1;

    123

    456789

    sendf i l e on; #t cp_nopush on;

    #keepal i ve_t i meout 0; keepal i ve_t i meout 65;

    #gzi p on;

    i ndex i ndex. html i ndex. ht m;

    123456789

    sendf i l e on; t cp_nopush on;

    #keepal i ve_t i meout 0; keepal i ve_t i meout 65;

    gzi p on;

    i ndex i ndex. php i ndex. html i ndex. ht m;

  • 8/10/2019 How to Install LEMP Web Server With Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    7/13

    to install LEMP web server with Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    //www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html[11/30/2014 6:35:47 PM]

    only have one website per server. If you host multiple websites on the same server, its easier to leave

    server directive in /etc/nginx/nginx.conf file as it and create separate additional server blocks (Virtual

    Hosts in Apache) in /etc/nginx/conf.d/ directory. Each additional server block file should end with .conf file

    extension.

    default_server: is usually your domain name

    80: is the port nginx listen to, almost all webserver listen to port 80, if you want to change your nginx listen

    port, you can change it here.

    root: is the default server root directory, all of your website pages, files, images, javascripts and such will go

    here.

    Create New Nginx Server Block Files

    All nginx server block files should be located in /etc/nginx/conf.d/ with .conf file extension. Says we are

    going to create a server block file for namhuy.net website (replace namhuy.net with your domain names).

    With the content (adjust the values to your own configuration), this is just an example server block file

    # nano / etc/ ngi nx/ conf . d/ namhuy_net . conf

    12

    34

    server { l i st en 80 def aul t _ser ver ;

    ser ver_name l ocal host ; r oot / usr / shar e/ ngi nx/ ht ml ;

    1

    23456789101112131415

    16171819202122232425262728

    server {

    l i s ten your _publ i c_i p_addr ess: 80; ser ver_name www. namhuy. net ; r oot / var / www/ www. namhuy. net ; i ndex i ndex. php i ndex. html i ndex. ht m;

    char set ut f- 8;

    l ocat i on / { }

    l ocat i on = / r obots . t xt { al l ow al l ; access_l og of f; l og_not _f ound of f; } l ocat i on = / f avi con. i co { al l ow al l ; access_l og of f; l og_not _f ound of f; }

    error_page 401 / 401. ht ml ;

    error_page 403 / 403. ht ml ; error_page 404 / 404. ht ml ; error_page 500 502 503 504 / 50x. ht ml ;

    l ocat i on ~ \ . php$ { r oot / var / www/ www. namhuy. net ; f ast cgi_pass 127. 0. 0. 1: 9000; f ast cgi _i ndex i ndex. php; f ast cgi _par am SCRI PT_FI LENAME $document_r oot $f ast cgi _scri pt _name; f astcgi _ i nt ercept _err ors on; f astcgi _buf f er_s i ze 4K; f ast cgi_buf f ers 128 4k; f astcgi _connect_t i meout 50;

  • 8/10/2019 How to Install LEMP Web Server With Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    8/13

    to install LEMP web server with Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    //www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html[11/30/2014 6:35:47 PM]

    As you can see I store my website files in /var/www/www.namhuy.org/ directory, because I didnt create one

    on my server, Im going create one and give it right permission before I restart nginx.

    Restart nginx for all the changes to take effect

    For whatever reason nginx wont restart, you can use these commands to see whats wrong with your current

    nginx configuration

    and

    To confirm your LEMP web sever is working, lets create some sample pages. First create index.html file

    with the content

    hello world!

    and info.php file

    with the content

    # mkdi r / var / www/ www. namhuy. net

    # chmod 777 / var / www/ www. namhuy. net

    # systemct l r est ar t ngi nx

    # systemct l st at us ngi nx. ser vi ce

    # ngi nx - t

    # nano / var / www/ www. namhuy. net / i ndex. ht ml

    # nano / var / www/ www. namhuy. net / i nf o. php

    2930313233343536373839

    404142

    f ast cgi _send_t i meout 40; f ast cgi _r ead_t i meout 40; t r y_f i l es $ur i =404; f astcgi _spl i t _pat h_ i nf o ( . +\ . php) ( / . +) $; i ncl ude f ast cgi _par ams; }

    # deny access t o . ht access f i l es, i f Apache' s document r oot # concurs wi t h ngi nx' s one # # l ocat i on ~ / \ . ht {

    # deny al l ; # }}

    1

  • 8/10/2019 How to Install LEMP Web Server With Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    9/13

    to install LEMP web server with Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    //www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html[11/30/2014 6:35:47 PM]

    In your web browser, you should see your hello world! page and info.php file displayed correctly.

    Share It:

    Filed Under: MariaDB, Server

    Tagged With: lemp server, MariaDB, nginx,php-fpm,web server

    Leave a Reply

    2

    1

    Related

    How to install LEMP server with Linux, Nginx, PHP-

    FPM, and MySQL on Centos

    How To Install WordPress with nginx on Centos 6

    How to install LEMP web server with Nginx, PHP-

    FPM 5.5, MySQL 5.5 on Centos Linux

    http://www.namhuy.net/category/mariadb/http://www.namhuy.net/category/server/http://www.namhuy.net/tag/lemp-server/http://www.namhuy.net/tag/mariadb/http://www.namhuy.net/tag/nginx/http://www.namhuy.net/tag/php-fpm/http://www.namhuy.net/tag/web-server/http://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=facebook&nb=1http://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=twitter&nb=1http://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=twitter&nb=1http://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=google-plus-1&nb=1http://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=reddit&nb=1http://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=stumbleupon&nb=1http://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=linkedin&nb=1http://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=linkedin&nb=1http://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=tumblr&nb=1http://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=pinterest&nb=1http://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=pocket&nb=1http://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=email&nb=1http://www.namhuy.net/2768/how-to-install-lemp-server-with-linux-nginx-php-fpm-and-mysql-on-centos.htmlhttp://www.namhuy.net/2768/how-to-install-lemp-server-with-linux-nginx-php-fpm-and-mysql-on-centos.htmlhttp://www.namhuy.net/3015/how-to-install-wordpress-with-nginx-on-centos-6.htmlhttp://www.namhuy.net/3004/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-centos-linux.htmlhttp://www.namhuy.net/3004/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-centos-linux.htmlhttp://www.namhuy.net/3004/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-centos-linux.htmlhttp://www.namhuy.net/3004/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-centos-linux.htmlhttp://www.namhuy.net/3015/how-to-install-wordpress-with-nginx-on-centos-6.htmlhttp://www.namhuy.net/2768/how-to-install-lemp-server-with-linux-nginx-php-fpm-and-mysql-on-centos.htmlhttp://www.namhuy.net/2768/how-to-install-lemp-server-with-linux-nginx-php-fpm-and-mysql-on-centos.htmlhttp://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=email&nb=1http://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=pocket&nb=1http://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=pinterest&nb=1http://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=tumblr&nb=1http://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=linkedin&nb=1http://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=linkedin&nb=1http://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=stumbleupon&nb=1http://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=reddit&nb=1http://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=google-plus-1&nb=1http://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=twitter&nb=1http://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=twitter&nb=1http://www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html?share=facebook&nb=1http://www.namhuy.net/tag/web-server/http://www.namhuy.net/tag/php-fpm/http://www.namhuy.net/tag/nginx/http://www.namhuy.net/tag/mariadb/http://www.namhuy.net/tag/lemp-server/http://www.namhuy.net/category/server/http://www.namhuy.net/category/mariadb/http://i2.wp.com/www.namhuy.net/wp-content/uploads/2014/11/phpinfo_5_6_3.pnghttp://i1.wp.com/www.namhuy.net/wp-content/uploads/2014/11/hello_world.png
  • 8/10/2019 How to Install LEMP Web Server With Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    10/13

    to install LEMP web server with Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    //www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html[11/30/2014 6:35:47 PM]

    Enter your comment here...

  • 8/10/2019 How to Install LEMP Web Server With Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    11/13

    to install LEMP web server with Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    //www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html[11/30/2014 6:35:47 PM]

    RECENT POSTS

    How to install LEMP web server with Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7

    How to install fail2ban on CentOS 6 and 7

    How to install OpenVPN Access Server OpenVPN-AS on CentOS 6

    How to upgrade from CentOS 6 to 7

    Linux file system structure

    Browse web in linux via terminal with w3m and xterm

    How to secure Apache HTTP Web Server

    Netflix supports HTML5 and ditches Silverlight

    Tracking centos server with bash script

    What is Linux ?

    SPONSORED LINKS

    Advertise Here Advertise Here Advertise Here Advertise Here

    http://www.namhuy.net/3271/install-fail2ban-on-centos-6-and-7.htmlhttp://www.namhuy.net/3257/install-openvpn-access-server-on-centos-6.htmlhttp://www.namhuy.net/3253/upgrade-centos-6-7.htmlhttp://www.namhuy.net/3230/linux-file-system-structure.htmlhttp://www.namhuy.net/3218/browse-web-in-linux-via-terminal-with-w3m-and-xterm.htmlhttp://www.namhuy.net/3154/secure-apache-http-web-server.htmlhttp://www.namhuy.net/3195/netflix-supports-html5-ditches-silverlight.htmlhttp://www.namhuy.net/2849/tracking-centos-server-with-bash-script.htmlhttp://www.namhuy.net/3176/what-is-linux.htmlhttps://buysellads.com/buy/detail/244634/zone/1297527?utm_source=site_244634&utm_medium=website&utm_campaign=adhere&utm_content=zone_1297527https://buysellads.com/buy/detail/244634/zone/1297527?utm_source=site_244634&utm_medium=website&utm_campaign=adhere&utm_content=zone_1297527https://buysellads.com/buy/detail/244634/zone/1297527?utm_source=site_244634&utm_medium=website&utm_campaign=adhere&utm_content=zone_1297527https://buysellads.com/buy/detail/244634/zone/1297527?utm_source=site_244634&utm_medium=website&utm_campaign=adhere&utm_content=zone_1297527https://buysellads.com/buy/detail/244634/zone/1297527?utm_source=site_244634&utm_medium=website&utm_campaign=adhere&utm_content=zone_1297527https://buysellads.com/buy/detail/244634/zone/1297527?utm_source=site_244634&utm_medium=website&utm_campaign=adhere&utm_content=zone_1297527https://buysellads.com/buy/detail/244634/zone/1297527?utm_source=site_244634&utm_medium=website&utm_campaign=adhere&utm_content=zone_1297527https://buysellads.com/buy/detail/244634/zone/1297527?utm_source=site_244634&utm_medium=website&utm_campaign=adhere&utm_content=zone_1297527https://buysellads.com/buy/detail/244634/zone/1297527?utm_source=site_244634&utm_medium=website&utm_campaign=adhere&utm_content=zone_1297527http://www.namhuy.net/3176/what-is-linux.htmlhttp://www.namhuy.net/2849/tracking-centos-server-with-bash-script.htmlhttp://www.namhuy.net/3195/netflix-supports-html5-ditches-silverlight.htmlhttp://www.namhuy.net/3154/secure-apache-http-web-server.htmlhttp://www.namhuy.net/3218/browse-web-in-linux-via-terminal-with-w3m-and-xterm.htmlhttp://www.namhuy.net/3230/linux-file-system-structure.htmlhttp://www.namhuy.net/3253/upgrade-centos-6-7.htmlhttp://www.namhuy.net/3257/install-openvpn-access-server-on-centos-6.htmlhttp://www.namhuy.net/3271/install-fail2ban-on-centos-6-and-7.html
  • 8/10/2019 How to Install LEMP Web Server With Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    12/13

    to install LEMP web server with Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    //www.namhuy.net/3277/install-lemp-web-server-nginx-php-fpm-5-5-mysql-5-5-on-centos-7.html[11/30/2014 6:35:47 PM]

    CATEGORIES

    Android

    Bash Scripting

    CentOS

    Debian

    Fedora

    Firefox

    Games

    Hardware

    Linux

    Linux Mint

    MariaDB

    MySQL

    Networking

    Open Source

    Security

    Server

    Software

    Tips Tricks

    Ubuntu

    Wordpress

    Xubuntu

    MONTHLY POPULAR POSTS

    How to change date, time, timezone on centos 6

    How to install VNC Server on Ubuntu 14.04

    Install GUI on debian 7 wheezy

    How to tweak and optimize SSD for Ubuntu, Linux Mint

    How to install gui to centos minimal

    How to fix slow performance ubuntu 13.04 running in virtualbox

    How to install Netflix on Ubuntu, Linux Mint and Fedora

    How to upgrade from Ubuntu 12.04 LTS to Ubuntu 14.04 LTS

    http://www.namhuy.net/category/open-source/linux/android/http://www.namhuy.net/category/bash-scripting/http://www.namhuy.net/category/open-source/linux/centos/http://www.namhuy.net/category/open-source/linux/debian-linux/http://www.namhuy.net/category/open-source/linux/fedora-linux/http://www.namhuy.net/category/firefox/http://www.namhuy.net/category/games/http://www.namhuy.net/category/hardware/http://www.namhuy.net/category/open-source/linux/http://www.namhuy.net/category/open-source/linux/linux-mint/http://www.namhuy.net/category/mariadb/http://www.namhuy.net/category/mysql/http://www.namhuy.net/category/networking/http://www.namhuy.net/category/open-source/http://www.namhuy.net/category/security/http://www.namhuy.net/category/server/http://www.namhuy.net/category/software/http://www.namhuy.net/category/tips-tricks/http://www.namhuy.net/category/open-source/linux/ubuntu/http://www.namhuy.net/category/wordpress/http://www.namhuy.net/category/open-source/linux/xubuntu/http://www.namhuy.net/2435/how-to-change-date-time-timezone-on-centos-6.htmlhttp://www.namhuy.net/3106/install-vnc-server-ubuntu-14-04.htmlhttp://www.namhuy.net/1085/install-gui-on-debian-7-wheezy.htmlhttp://www.namhuy.net/1563/how-to-tweak-and-optimize-ssd-for-ubuntu-linux-mint.htmlhttp://www.namhuy.net/475/how-to-install-gui-to-centos-minimal.htmlhttp://www.namhuy.net/951/how-to-fix-slow-performance-ubuntu-13-04-running-in-virtualbox.htmlhttp://www.namhuy.net/1867/how-to-install-netflix-on-ubuntu-linux-mint-and-fedora.htmlhttp://www.namhuy.net/2853/upgrade-ubuntu-12-04-lts-ubuntu-14-04-lts.htmlhttp://www.namhuy.net/2853/upgrade-ubuntu-12-04-lts-ubuntu-14-04-lts.htmlhttp://www.namhuy.net/1867/how-to-install-netflix-on-ubuntu-linux-mint-and-fedora.htmlhttp://www.namhuy.net/951/how-to-fix-slow-performance-ubuntu-13-04-running-in-virtualbox.htmlhttp://www.namhuy.net/475/how-to-install-gui-to-centos-minimal.htmlhttp://www.namhuy.net/1563/how-to-tweak-and-optimize-ssd-for-ubuntu-linux-mint.htmlhttp://www.namhuy.net/1085/install-gui-on-debian-7-wheezy.htmlhttp://www.namhuy.net/3106/install-vnc-server-ubuntu-14-04.htmlhttp://www.namhuy.net/2435/how-to-change-date-time-timezone-on-centos-6.htmlhttp://www.namhuy.net/category/open-source/linux/xubuntu/http://www.namhuy.net/category/wordpress/http://www.namhuy.net/category/open-source/linux/ubuntu/http://www.namhuy.net/category/tips-tricks/http://www.namhuy.net/category/software/http://www.namhuy.net/category/server/http://www.namhuy.net/category/security/http://www.namhuy.net/category/open-source/http://www.namhuy.net/category/networking/http://www.namhuy.net/category/mysql/http://www.namhuy.net/category/mariadb/http://www.namhuy.net/category/open-source/linux/linux-mint/http://www.namhuy.net/category/open-source/linux/http://www.namhuy.net/category/hardware/http://www.namhuy.net/category/games/http://www.namhuy.net/category/firefox/http://www.namhuy.net/category/open-source/linux/fedora-linux/http://www.namhuy.net/category/open-source/linux/debian-linux/http://www.namhuy.net/category/open-source/linux/centos/http://www.namhuy.net/category/bash-scripting/http://www.namhuy.net/category/open-source/linux/android/
  • 8/10/2019 How to Install LEMP Web Server With Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    13/13

    to install LEMP web server with Nginx, PHP-FPM 5.5, MySQL 5.5 on Centos 7 - Nam Huy Linux

    How to install VNC Server on Fedora 20

    How to install VNC Server on Debian 7

    ABOUT US

    Huy Tran

    Contribute

    Copyright

    Privacy Policy

    Terms Of Service

    SUBSCRIBE

    RSS Feed

    XML RSS Feed

    Subscribe by Email

    2014 Nam Huy Linux. Generated in 0.457 seconds.

    http://www.namhuy.net/3134/install-vnc-server-on-fedora-20.htmlhttp://www.namhuy.net/3111/install-vnc-server-debian-7.htmlhttp://www.namhuy.net/about/http://www.namhuy.net/contribute/http://www.namhuy.net/about/copyright/http://www.namhuy.net/about/privacy-policy/http://www.namhuy.net/about/terms-of-service/http://feeds.feedburner.com/NamHuyLinuxBloghttp://feeds.feedburner.com/NamHuyLinuxBlog?format=xmlhttp://feedburner.google.com/fb/a/mailverify?uri=NamHuyLinuxBloghttp://feedburner.google.com/fb/a/mailverify?uri=NamHuyLinuxBloghttp://feedburner.google.com/fb/a/mailverify?uri=NamHuyLinuxBloghttp://feeds.feedburner.com/NamHuyLinuxBlog?format=xmlhttp://feeds.feedburner.com/NamHuyLinuxBlog?format=xmlhttp://feeds.feedburner.com/NamHuyLinuxBloghttp://feeds.feedburner.com/NamHuyLinuxBloghttp://www.namhuy.net/about/terms-of-service/http://www.namhuy.net/about/privacy-policy/http://www.namhuy.net/about/copyright/http://www.namhuy.net/contribute/http://www.namhuy.net/about/http://www.namhuy.net/3111/install-vnc-server-debian-7.htmlhttp://www.namhuy.net/3134/install-vnc-server-on-fedora-20.html