A TO Z GUIDE ON HOW TO INSTALL WORDPRESS LOCALLY USING WAMPSERVER

A TO Z GUIDE ON HOW TO INSTALL WORDPRESS LOCALLY USING WAMPSERVER

Before we start the tutorial, I will first like to introduce what WordPress is all about;

WordPress:

This is a free and open-source content management system (CMS) based on PHP and MySQL.  Features include plugin architecture and a template system. WordPress was used by more than 23.3% of the top 10 million websites as of January 2015. WordPress is the most popular blogging system in use on the Web, at more than 60 million websites.

It was first released on May 27, 2003, by its founders, Matt Mullenweg and Mike Little, as a fork of b2/cafelog. The license under which WordPress software is released is the GPLv2 (or later) from the Free Software Foundation.

So for the sake of this tutorial, we should agree that WordPress is the way to go, no looking back. With that established, let’s lay out the steps involved in installation of WordPress locally using Wampserver.

Step One:

Google and Download WordPress 4.2.2 Zip File and extract it. http://www.wordpress.org.

Step Two:

Now download “5-Apache-2.4.9-Mysql-5.6.17-php5.5.12-32b” @ http://www.wampserver.com.

Now after downloading and extracting the zip files……

Step Three:

Double-click on the installed wampserver icon wampicon in order to install it and remember to grant it admin permission, then click Next

How to install wordpress locally
How to install wordpress locally

Accept the terms of agreement and click on Next.Untitled-27_clip_image004

Continue to click Next.

Untitled-27_clip_image006

This is optional, you can create a quick launch or desktop icon by checking each box but if you don’t want the quick launch and desktop icon, I think there is no other choice left than leaving it blank and continue the setup process by clicking next.

Untitled-27_clip_image008

Just click the “install”

Untitled-27_clip_image010

Now extracting files therefore getting ready to start installation.

wampserver-27_clip_image012

You can click “Yes” to continue with the default browser or click “No” to select another browser.

wampsver-27_clip_image014

This is optional; you can leave it in default state or leave it blank, then Put in your email address in the email box and click Next to continue.

wamp-27_clip_image016

Check “Launch webserver 2 now” and click Finish.

wmp-27_clip_image002

There you will see “wamp folder” in “ Local Disk”, double click to open it.

wmmp-27_clip_image020

Open the “www” folder and create a new folder with name “myblog” in it

Untitled-27_clip_image022

wampserv-27_clip_image024

I renamed mine “ceecee”, so you have to rename yours “myblog”

wampimg-27_clip_image026

Copy everything in the WordPress folder and paste them in “myblog” folder of yours, the one created in “www” folder.

Now in that folder, you will see a file named “ wp-config-sample” , right click on it and click on “open with” and select the notepad, assuming you couldn’t find the notepad, just click on “browse” and locate it.

wpp-27_clip_image034

Inside it replace the default details with the following:

* (‘DB_NAME’, ‘myblog‘);                              use “myblog” as I used here

/** MySQL database username */

define(‘DB_USER’, ‘root‘);                            use” root” as I used here

/** MySQL database password */

define(‘DB_PASSWORD‘, ”);                        leave it blank as I did here

/** MySQL hostname */

define(‘DB_HOST’, ‘localhost‘);                  Use “local host as I used here.

Then save it after changing the above details.

Untitled-27_clip_image036

Rename by removing the “-sample” attached to the file name “wp-config-sample” therefore having “wp-config”

Untitled-27_clip_image038

Double-click on phpMyAdmin at the taskbar.

Untitled-27_clip_image040

As you can see that my wampserver icon is green in colour i.e. it was installed properly and ready to go.

Untitled-27_clip_image042

Wow!!!, here comes your wampserver Dashboard…

Untitled-27_clip_image044

Now it is time for creating Database. But before we create database, we should first understand what database is all about.

A Database

A database is where all your WordPress data is stored, including your content (i.e. posts, pages and comments), configurations and user data.

Each time a page loads, WordPress queries the database for all of the required information, such as title, content, categories, tags and published date.

The normal way of creating database is by going to your host’s control panel; there you will create a database and a database user name and password for WordPress to connect with.

But since we want to install the WordPress locally i.e. on our local server, then that is why we are making use of wampserver, so we are going to create the database in wampserver “phpMyAdmin”.

Click Database.

Enter your database name “myblog”

Click Create and your database will be created.

Untitled-27_clip_image046

Open your browser and type the following address: localhost/myblog/wp-admin/install.php and click enter.

Untitled-27_clip_image048

Welcome to WordPress Setup

Now fill in the following details in the boxes provided.

Site name: Use any Name of your choice

Username: use the default username which is “root”

Password: You can put any password of your choice

Check “Allow search engines to index this site”.

Click on Install WordPress.

Untitled-27_clip_image054

Your WordPress is installed, and now you can login with your login details.

Untitled-27_clip_image050

Welcome to your WordPress Dashboard, here you will be able to customize you web pages.

Untitled-27_clip_image056

Note: The green colour of the wampserver icon indicates that it was installed correctly and ready to go….red colour of the icon means that it was not installed properly, so to easily correct it, uninstall the wampserver and re-install using the proper installation guideline.

I hope this helps?.

Please feel free to comment and share it to your friends if actually you find it useful.

Leave a Reply

Your email address will not be published. Required fields are marked *