How to install Wordpress on Ubuntu 16.04 for Wordpress to Act as a Website

Posted October 5, 2016 9.6k views
ApacheWordPressLAMP StackUbuntu 16.04

I’ve tried to load Wordpress on Ubuntu 16.04 about 15 times. I’ve tried a variety of instructions to do this but I haven’t gotten it to work. I’ve also reloaded the OS to make sure that I have a clean copy each time I try a new set of instructions.

Apparently there are two ways to load Wordpress.

  1. Install Wordpress with apt get which installs it as an application.
  2. Download Wordpress and extract the files. Copy them to the /var/www/html directory.

I make changes to the apache2.conf as per instructions, setup a database for Wordpress with username, password etc. I then copy the Wordpress files into /var/www/html. Instead of getting the Wordpress website, I continue to get the apache website.

Does anyone have a complete, step by step instuctions to install Wordpress on Ubuntu 16.04 so that Wordpress works as a web site?

I’ve installed an older version on Ubuntu 12.01 before which worked so I believe I know the basics.



1 comment

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
3 answers

I would suggest using the Wordpress image which has it preinstalled for you, avoiding these problems in the first place.

Otherwise this seems to be what you’re looking for:

EDIT: sorry for the doublepost, the answer wouldn’t go through. I linked the wrong guide at first (even though I find nginx much easier than Apache).

You can find the correct guide here:

by Justin Ellingwood
WordPress is the most popular CMS (content management system) on the internet. It allows you to easily set up flexible blogs and websites on top of a MySQL backend with PHP processing. WordPress has seen incredible adoption and is a great choice for getting a website up and...

You can also try something like Virtualmin and WordPress which gives your a control panel you manage your server.