Report this

What is the reason for this report?

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

Posted on October 5, 2016

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.

Thanks,

Phillip



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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

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: https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lemp-on-ubuntu-16-04

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: https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lamp-on-ubuntu-16-04

This comment has been deleted

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.