How To Install Nginx, MariaDB 10, PHP 7 (LEMP Stack) in 16.10/16.04

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Matei Cezar

I'am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

6 Responses

  1. Aaron says:

    Nice tutorial. Works every step of the way. I’m always surprised at how much incorrect/untested stuff there is on the www as far as tutorials go it’s always nice when someone knows their shit. Good work.

  2. Jackie Chen says:

    Awesome! Thanks for the detailed step-by-step article.
    All steps are done successfully.

  3. BajpanGosh says:

    it’s not working with cloudflare SSL + digilocean.

  4. knock into heavens door says:

    Great tutorial, only lacks http/2.0 which would be great and also 443 https.

    great tutorial man!

  5. Toni says:

    Hi and thanks for the good documentation!

    I followed the instructions and noticed that some of the Firefox browsers didn’t load the website at all. With other browsers it worked well. I found a small typo from the server configuration instructions which caused this problem:
    add_header Strict-Transport-Security “max-age=31536000;
    #includeSubDomains” always;

    Those lines should be replaced for example with:
    add_header Strict-Transport-Security “max-age=31536000” always;
    add_header Strict-Transport-Security “max-age=31536000; includeSubDomains” always;

    I hope this saves some time for others noticing this behaviour with some FF browsers.

    • BajpanGosh says:

      Thank you saved me. grate man! fixed typo error

      add_header Strict-Transport-Security “max-age=31536000” always;

      now it’s working with cloudflare SSL (y)

Got something to say? Join the discussion.

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.