How to Install WordPress on Ubuntu 14.04 Locally LAMP Server – WP Linux Setup

Thanks! Share it with your friends!


I show how to install wordpress locally on Ubuntu linux distribution. You can use this setup with other linux distros including Fedora but you will have to use a different package manager.

We will first need to install the (Linux, Apache, Mysql and PHP)LAMP stack using tasksel tool. We will then set up a mysql password in order to create databases down the line.
We install the LAMP stack using the command
sudo tasksel install lamp-server

Once that it done, make sure to grant yourself ownership permissions to
the www folder using chown command. Next download WordPress zip file or tar from the website found here:

unzip it or untar it, make sure you then move it to the www directory. You will need to put it in this folder for WordPress to function properly as it is the home of the web server(Apache). This is where you will put all your WP themes, free and premium ones. You need to create database tables as you need it for wordpress to have all it’s functions. Make sure that you type in your particular username and passwords, or you can use mine as examples.

WordPress installation in Linux Ubuntu is the hardest of all because it’s not a simple install like WAMP or MAMP, Bitnami. You should then use the wp-config.php file and edit it the way I show on the video. Change the username to yours from mysql and the corresponding password.

Lastly you should be able to see your new wordpress installation on the localhost/wordpress url. Make sure that you pick the username you want as you won’t be able to change it later, followed by your password. If you have any questions, make sure to leave a comment and subscribe to my channel.

best wordpress plugins 2014
Wordpress free themes,
wordpress ecommerce
WP installation on linux
locally install wordpress,
Wamp installation of wordpress
LAMP installation of wordpress
install wordpress locally
how to install WP in Window 7, locally MAC OS Lion and LInux Ubuntu or Fedora,
LAMP wordpress Setup
how to setup wordpress on Ubuntu 2014.
best wordpress hosting
Ubuntu 12.04


Mordiern Le Dissez says:

Hi! I have followed your tutorial but at when I try localhost/wordpress, I
have a 404 not found message. So I have doublechecked and I have done
strickly the same thing. If I try only localhost I have an Apache message
who says that the server is functionning (index.html). Do you have an idea
of what I’ve done wrong?

Jeremy Cosby says:

ok how do i set up a localhost for online use? im opining up a
entertainment server for all my clients to save there data on my server
using ubuntu..?

a2902326 says:

I’m trying to set this up on a VPS by digital ocean, do I need to change
‘localhost’ to my server name? 

WordpressCoffee says:

Install WordPress Locally on Ubuntu Linux LAMP server stack

Comments are disabled for this post.