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;
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.
Google and Download WordPress 4.2.2 Zip File and extract it. http://www.wordpress.org.
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……
Double-click on the installed wampserver icon in order to install it and remember to grant it admin permission, then click Next
Accept the terms of agreement and click on Next.
Continue to click Next.
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.
Just click the “install”
Now extracting files therefore getting ready to start installation.
You can click “Yes” to continue with the default browser or click “No” to select another browser.
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.
Check “Launch webserver 2 now” and click Finish.
There you will see “wamp folder” in “ Local Disk”, double click to open it.
Open the “www” folder and create a new folder with name “myblog” in it
I renamed mine “ceecee”, so you have to rename yours “myblog”
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.
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.
Rename by removing the “-sample” attached to the file name “wp-config-sample” therefore having “wp-config”
Double-click on phpMyAdmin at the taskbar.
As you can see that my wampserver icon is green in colour i.e. it was installed properly and ready to go.
Wow!!!, here comes your wampserver Dashboard…
Now it is time for creating Database. But before we create database, we should first understand what database is all about.
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”.
Enter your database name “myblog”
Click Create and your database will be created.
Open your browser and type the following address: localhost/myblog/wp-admin/install.php and click enter.
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.
Your WordPress is installed, and now you can login with your login details.
Welcome to your WordPress Dashboard, here you will be able to customize you web pages.
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.