How to Install WordPress 5 On Ubuntu 16.10/16.04 Using LAMP Stack

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.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

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

164 Responses

  1. chris says:

    I followed all the steps, but when I entered my server address in my browser it shows the apache2 default page index. Really need help. Thank you.

  2. Mohit Pratap says:

    Thank you so much. Very helpfull.

  3. Rahul Barua says:

    This blog save my day.. thanks a lot

  4. Jack H says:

    Quick addition! When I want to, say, host 5 wordpress sites on this server, one will need to follow these directions here:

    If you could add this to your article, that would be VERY helpful for those looking to host several websites! :)

    • Aaron Kili says:


      Thanks for the recommendation, we will find a way to add instructions to host multiple wordpress sites to this article or prepare a whole new article.

      • Jack H. says:

        THANK YOU! I have an IIS+PHP+Wordpress+MySQL setup, and host 9 websites from my house. I’d LOVE the stability and security of Linux as the backend, so I’m interested in making the leap! I’m marking this comment for follow-up via email. :) Thanks!

  5. Hemant says:

    I am not able to edit my wp-config.php file as it has Read-Only permission. How do I edit it?

  6. John Chen says:

    When I tried to do this, I got a forbidden error.

  7. MNassar says:

    This was pretty great. I followed the step and could get wordpress running on my server. However, when I navigate to http://server_address, I still get the apache test page not the wordpress landing page.

  8. Richard says:

    I followed these directions using Ubuntu Server 16.04 LTS. When connecting from another computer, it tells me “Error establishing a database connection.” Any thoughts?

  9. msrobin says:

    This is by far the best explanation that I have seen for WordPress installation on Ubuntu Using LAMP Stack. Thank you very much. Very straight forward direction. Nicely written!

  10. Ankit says:

    I really found it helpfull , easy to reproduce steps!


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.