Installing and Configuring Wordpress

A simple guide to Installing and Configuring Wordpress for your Cloud Server

Blue Light Tech

Wordpress is one of the most used Content Management Systems in the world today. Though started as a humble blogging software, through its extensive plugin framework and theme system, it has grown and blown up to be a full-featured web-creation tool today. Wordpress is built on LAMP or LEMP and it is a breeze to master once the installation is done right.

But herein lies the challenge. Installing it might be a little tricky especially for those without the helping hand of cPanel or Plesk. Since our main drive at Blue Light Host is to make your life easy when dealing with this software, our step by step guide will walk you through the process.

  1. Prerequisites
  2. Installing Wordpress
  3. Configuring Wordpress

Set your Server up correctly

We have written awesome posts that will help you understand the nitty-gritty of setting up your server and connecting with it. So, before pushing ahead, ensure you’ve used our guides “Setting Up Your Server With <OS>”.


  • Check out your Hostname and Fully Qualified Domain Name (FQDN)


    hostname -f
  • Ensure you have either LAMP or LEMP. Read our guide how to create (LAMP) or (LEMP).
  • Ensure you have a database set up specifically for Wordpress. If you do not have one, quickly follow these steps:
    1. Enter Mysql Command line from your Terminal:
      mysql -u root –p
    2. Lets now create a Wordpress database
      create database wordpress
    3. Create a new user and grant it user privileges to run the wordpress database:
      grant all on wordpress.* to  'newuser'  identified by  'password';
    4. Step out of MySQL:

Installing WordPress

Now that we are through with the initial setup, let’s begin with the Wordpress installation.

  1. First, create a new directory (src) to store our soon to be downloaded wordpress files. This shall be in our home directory. Type:
    mkdir /var/www//
    cd /var/www/
  2. Moving on, now ensure that the owner of the directory is the web server's user, this helps to avoid permission errors down the line.
    chown -R www-data:www:-data /var/www
  3. Lets install WordPress now:
    sudo wget
    sudo -u www-data tar -xvf latest.tar.gz
  4. We can now move the latest.tar.gz and rename it wordpress
    sudo mv latest.tar.gz wordpress-`date '+%Y-%m-%d'`.tar.gz
  5. Now lets now copy the Wordpress files in the public_html, while removing the folder from the src directory:
    sudo cp -R wordpress/* ../public_html/
    sudo rm -rf wordpress/


Now that we are through dealing with the server-side functions, let’s commence with configuration.

Configuring Wordpress

  1. Pay the newly installed Wordpress a visit by typing http://serveripaddress in the address bar of your favourite browser. It is assumed that you copied the wordpress files into the public_html folder, in the instructions given above.
  2. Review the informational start-up page and click 'Lets Go!'
  3. Next, supply the credentials of the database and its user/password. You can leave localhost and table prefix as it is. Click Submit.
  4. Run the 'Alright Sparky' install and next supply general details for your website, its public name, admin user details, email address, etc
  5. Right now, anytime you want to update/install your plugins or themes, you will be asked to supply your ftp details. But you can easily bypass this by doing this: Open up the wp-config file:
    nano /var/www/
    Then add the following towards the end of the file:
    /** Bypass FTP */ 
    define('FS_METHOD', 'direct');
  6. Next up, empower Wordpress to add and edit files in the public_html folder:
    sudo chown -R www-data:www-data /var/www/
  7. Lastly,
    sudo a2enmod rewrite
  8. And restart Apache:
    service httpd restart


If you want to use customized posts url, then there is a need to enable your apache by adding the following file to your .htaccess

<Directory /var/www/>
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted

Restart apache again and it should be enabled.

Welcome to Wordpress!


188bet - 13/07/2018 21:41:17

This paragraph gives clear idea in support of the

new users of blogging, that really how to do blogging.

link 188bet - 25/06/2018 19:51:06

Hey very nice blog!! Man .. Beautiful .. Amazing ..

I'll bookmark your website and take the feeds additionally?

I'm happy to search out a lot of helpful information here within the

put up, we need work out extra techniques in this regard, thank you for sharing.

. . . . .

link 188bet - 21/06/2018 02:51:00

Hi there Dear, are you genuinely visiting this web site daily, if so

then you will definitely take nice know-how.

link 188bet - 20/06/2018 23:55:51

I just couldn't depart your website before suggesting that I really loved the usual info an individual supply in your visitors?

Is gonna be again continuously in order to check up on new posts

link 188bet - 17/06/2018 07:23:52

I am really enjoying the theme/design of your site.

Do you ever run into any internet browser compatibility problems?

A couple of my blog readers have complained about my website not operating

correctly in Explorer but looks great in Opera.

Do you have any solutions to help fix this


soi keo - 17/06/2018 06:40:18

Hi there colleagues, how is everything, and what you desire to say concerning this

post, in my view its actually amazing designed for me.

soi keo - 17/06/2018 03:32:35

Thank you a bunch for sharing this with all folks you really understand

what you're speaking about! Bookmarked. Kindly also talk over with my site =).

We will have a link alternate contract between us

188bet - 16/06/2018 20:53:17

Howdy! This is my first comment here so I just wanted to give a quick shout out and tell you I genuinely enjoy

reading your articles. Can you recommend any other blogs/websites/forums that cover the same

subjects? Appreciate it!

link 188bet - 16/06/2018 18:14:55

Good day! This post couldn't be written any better! Reading through this post reminds me of my old room mate!

He always kept talking about this. I will forward this page to

him. Fairly certain he will have a good read.

Thanks for sharing!

Royce - 26/05/2018 13:45:51

Why did you come to ? online pharmacy The Financial Review said the new bank levy was recommendedby Australia's Council of Financial Regulators, which includesthe Reserve Bank of Australia, the Australian PrudentialRegulation Authority, the Australian Securities and InvestmentsCommission, and the Treasury Department.

Phytolast Review - 19/05/2018 19:22:51

Your style is so unique in comparison to other folks I have read stuff from.

Thank you for posting when you have the opportunity, Guess I'll just book mark this web site.

Elixiry Youth - 13/05/2018 12:16:33

It's difficult to find well-informed people for this subject, however, you sound like you know what you're

talking about! Thanks

Judi - 12/05/2018 13:25:44


Judi - 12/05/2018 12:34:12


mike11 - 18/04/2018 05:00:53


mike11 - 18/04/2018 00:12:03


mike11 - 16/04/2018 16:57:48


HolaBromz - 25/03/2018 08:34:28

HolaBromz - 23/03/2018 06:08:14

holabromx - 22/03/2018 09:12:18

HolaBromz - 20/03/2018 08:09:20

HolaBromz - 20/03/2018 08:07:40 - 15/03/2018 16:06:56

I've learn several good stuff here. Definitely worth bookmarking for revisiting.

I wonder how much attempt you put to create any such

fantastic informative web site.

GoldenTabs - 06/01/2018 07:47:31


GoldenTabs - 05/01/2018 20:27:29


Sammie - 06/12/2017 13:51:01

What qualifications have you got? june villager buy avanafil closed The election workers, who numbered at least five people including four election workers and the deputy mayor of Tessalit, were driven to Camp Amachache, a military camp located 7 kilometers (4 miles) outside Tessalit, which is the base of Chadian forces with the United Nations peacekeeping mission.

Barnypok - 09/07/2017 04:23:29


Barnypok - 07/07/2017 12:08:35


Barnypok - 07/07/2017 10:15:16


JimmiXzSq - 21/05/2017 11:24:21


JimmiXzSq - 20/05/2017 19:41:32


JimmiXzSq - 18/05/2017 14:40:27


Barnypok - 02/04/2017 02:15:14


JimmiXzSw - 19/02/2017 14:28:33