Installing LEMP (Linux, Nginx, MariaDB and PHP) on Fedora 22

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. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  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.

Marin Todorov

I am a bachelor in computer science and a Linux Foundation Certified System Administrator. Currently working as a Senior Technical support in the hosting industry. In my free time I like testing new software and inline skating.

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...

4 Responses

  1. Julien Bunel says:

    Thanks !!

    How to change the default document root ? For example in “/home/username/www/” ?

    • Ravi Saive says:

      @Julien Bunel,
      You can set the default document root directory under httpd.conf file, open it with vi or nano editor, search and change the value of Document Root directory to /home/username/www/.

  2. cyb says:

    you made a mistake # echo “” > /usr/share/nginx/html/info.php
    # systemctl restart httpd

    it’s not httpd that you should restart but nginx

Got something to say? Join the discussion.

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

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?