Install WordPress Locally in your Computer with Wamp Server

Planning to redesign your site or create a New theme for your WordPress powered Blog ?.Do it offline by Installing WordPress locally in your Computer with Wamp Server.

What is a Wamp Server ?

WAMP server is Windows Apache MySQL PHP Server all bundled into one nice package.You don’t need to test your WordPress blogs theme Online.Instead try these offline with Wamp Srver.It creates a Mirror copy of your Website in your machine and its very easy to Configure.So lets get started !

Download

1. Download The latest version of WordPress from The Official WordPress Site.

2. Download the Wamp Server and Install it.It is recommended to Install It in the Default path “ C:Wamp”

Configuring the Wamp Server

Start the Wamp server and Click on the Wamp Icon on System tray.Then Click On “Start all Services”

Creating the database

Click on the System tray Icon and Click On “phpMyadmin”.A Page Will open in your Browser.(If you are Not familiar with the Php My Admin Interface Don’t panic!).Just Enter a database name in Create New database and Hit on Create.The database name can be anything ( Here i am Using “Test” as the database name)

PHP My admin InterfaceConfiguring The database

Okay ! Now that You have successfully created the database Open “SQLitemanager” by clicking the System tray  Icon.This Will open the SQLite page in your Browser

Sqlitemanager

Upload the database

In The SQLite page you need to upload the database that You just Created In phpMyadmin.Enter the name of the database (in this case its “Test”)and Click on” Browse “.

Upload database

Now navigate to “C >wamp >bin >mysql >mysql> 5.0.51b> data” where you will find the Folder of the database you  Created earlier. Open that Folder and select the “db.opt” File. Check the Checkbox “Upload database” and Hit on “Save “.

If everything goes well then you will see your database in the Left Column.If you don’t see the database in the Left column then Something went wrong.Start it all over.

Sqllite manager

Configuring and Installing WordPress

1.Next Navigate to “C:wampwww” and Create a Folder.Name it “Test”.

2.Copy all the WordPress Files in that Directory.After You have copied the Files the directory will look like below Wordpress root Directory

3.Fill in the database details :Now open wp-config-sample.php in any Text editor like Notepad .

In DB_NAME you will find ‘putyourdbnamehere’.Replace it with the database name that you created earlier.(in this case its “test”).

In DB_USER replace “usernamehere” with “root”.

In DB_PASSWORD delete ‘yourpasswordhere’.Leave it blank.

Having done that save that file.Rename it to “wp-config.php”.The following screenshots will be more clear.

Before configuring After Configuring

4. Install WordPress :Open http://localhost/test/wp-admin/install.php. Enter a Blog title and any email.Then Hit “Install WordPress”.Wordpress will be Successfully installed and you will see the Final screen.

Wordpress Installed

Note the Username and password Given .After logging in Click On “users” and Change  the password to a more Convenient one.All the best ! Hope you could make it.

How To Transfer a Local WordPress Blog in Your Web server

Now, that you have learnt how to install a local WordPress blog in your computer, you may wwnt to transfer it in your web server. This can be useful because you can copy the exact settings, themes, plugins as well as posts from that of your local blog to the blog at your web server. There are other workarounds which involves backing up the database of the local WordPress blog and mounting the database in your web server. There are other backup measures available and would have to take a complete backup of your current blog using phpmyadmin.


Amit Banerjee is the founding editor and owner of Ampercent. He is a die hard technology enthusiast and writes about all things technology, How to guides, tutorials and search engines. Follow him on Twitter, read his personal blog or drop him an email.

blog comments powered by Disqus