≡ Menu

Install WordPress on Your Local Computer « How to Blog Series Post #5

In my previous post, you learned how to prepare your computer to install WordPress.

I told you about Apache the web server, PHP the server side web programming language and MySql the database server to hold and offer data for your websites. And finally, recommended XAMPP for easy installation and configuration of those server components so that your local PC is able to host WordPress files.

Similarly, in post #3 you saw some strong and popular self-hosted blogging platforms. I asked you to download the latest version of WordPress. If you have not got that file yet, please go through Popular Self-Hosted Blogging Platforms and download WordPress.

Today, in this post, we’ll see how to install WordPress and configure its settings so that you can create your first blog.

Install WordPress on Local Computer

OK, then, let’s start installing WordPress.

Are Apache and MySql Running?

XAMPP Status

Before proceeding, let’s check if Apache and MySql are running in your system. These are the two software that will make your local PC a web server.

To make sure they are working properly, right click the XAMPP icon in system tray and make sure both Apache and MySql are green.

Check The Status in Browser

Open your browser and enter http://localhost/xampp/status.php. You should see the page something like below:


This page displays the information about what’s running and working and what isn’t working.

To check if MySql is working fine, you can visit phpMyAdmin – a tool to handle your MySql database. We will use it to create new databases, new database users, view and configure privileges and so on.

Create Database

WordPress runs with its two major aspects – the code files and the database. You’ve already downloaded the WordPress files and now lets create a database that WordPress will use to create tables and use it to store your posts and settings.

To create a new database, we will use PhpMyAdmin tool in XAMPP. Click on PhpMyAdmin link under Tools in left panel of XAMPP home screen or visit http://localhost/phpmyadmin/.


The left panel of phpMyAdmin lists the existing databases. Right Panel provides options to work with databases. Click on Databases menu on the top of right panel.


Create Database User

After you have database, you need to create a user and specify privileges for that user.

Open the recently created database and go to Privileges tab. You’ll get a list of users having privileges to that database. Click on Add User link to add new user to the database.


This will bring up the New User form. Fill up the form to create new user.


Scroll down to configure user privileges while creating new user:


Finally click on Add User button.

Note down the database name, username and password, we’ll need it immediately while installing WordPress.

That’s great! We now have a database ready for our blog. WordPress installer will create the required tables inside it.

Install WordPress

You’ve got the zip file of WordPress that you downloaded. Now its time to use it!

  1. Move the downloaded file (wordpress-3.5.tar.gz in my case) to the htdocs folder in your XAMPP installation (C:xampphtdocs in my case)
  2. Extract the zip file in same folder. You’ll get new ‘wordpress’ folder inside current location.
  3. Rename the ‘wordpress’ folder to the name of your blog (bivori in my case)
  4. Now, you are ready to install WordPress.
  5. Open your browser and access your blog folder


  6. You may be prompted to create a new configuration file. Click on ‘Create Configuration File’ button.


This is the first screen, a reminder in deed. Click on Let’s go!


Fill up the database name, username and password that you had noted down while creating new database. Database host is your local computer so you can enter ‘localhost’ or ‘’ as Database Host.

You can leave the default wp_ as Table Prefix, however, if you want to use same database for multiple blogs, you can specify different table prefix for each blogs.

Click on Submit to proceed.


If everything is fine, that means if the database credentials were correct and your MySql is running fine, you’ll be greeted with above page. Click on Run the install button.


You can specify Site Title, Username and Password in Welcome screen. This username and password is different than you noted down while creating database. This username and password will be used every time to log in to WordPress dashboard.

When everything is Okay, click on Install WordPress button.


Congratulations! WordPress is installed and your new blog is ready.

Click on Log In button to access http://localhost/bivori/wp-admin. Supply the WordPress username and  password.


Enter http://localhost/bivori to see the frontend of your blog:


So, now, here’s your blog running in your own computer. I will talk about configuring WordPress settings in my next post.

Subscribe to How to Blog series

If you find this post useful to learn blogging, I’m sure you’ll like to subscribe to my reader’s list. Please enter you name and email address in form below to get benefits:

by Suresh Khanal

Hi, it’s me behind this blog - Bivori.com. Interested to blogging, different monetization options, WordPress Themes, Plugins and various blogging tools. I love setting up new blogs, customize and optimizing them. Want me to write for you? Add in your Google+ circle and lets get connected.

23 comments… add one

  1. Very informative tutorial on how to install xampp with wordpress. Thanks for the share.

    1. Most welcome Shailesh. Hope it will be useful.
      Suresh Khanal recently posted…Install WordPress on Your Local Computer « How to Blog Series Post #5My Profile

  2. Very nice and valuable tutorial. I like this post. Thanks for sharing this :)

  3. Hey Suresh, very informative blog. This will surely help a lot of beginners. Great post

    1. Thank you Sanju for the comment.
      Suresh Khanal recently posted…Install WordPress on Your Local Computer « How to Blog Series Post #5My Profile

  4. Really nice blog again, it is very helpful for new users in detail.
    again i love this post.

  5. Install Wordpress in computer, It seems new for me. But this is knowledge and technology related to computer and internet. It must be worth reading it. Everything changes as times goes by someday it can be useful for me. Thank you for this great posting.

    1. Thank you Heru for the comment. Glad you find it useful to you.
      Suresh Khanal recently posted…Domain Name – the unique name of your blog » How to Blog Series Post #6My Profile

  6. Once I installed Xampp in my laptop. But I forget it and I want to learn it again. This posting has reminded me of it. Thank you very much.

    1. Glad that the post is helpful to you. Thank you Heru for commenting.
      Suresh Khanal recently posted…Don’t Ignore These SEO Tips for WordPress WebsitesMy Profile

  7. Wow!!!! what a step by step procedure…. successfully installed wordpress. Eager to go further…. Thanks Suresh Sir.

    1. Glad to know you installed it successfully. Keep following the series!
      Suresh Khanal recently posted…Solved Auto-Spammed Comments ProblemMy Profile

  8. The most detailed and memorable instructions on how to install wordpress I have every read.

    Suresh, you’ve just made it. With these simple and informative instructions one can easily navigate through the installation process.

    Hoping more to come form you.
    Shah The Traveler
    Shah recently posted…30 Famous Inspirational Travel QuotesMy Profile

    1. Thank you Shah for the comment. Glad you find it useful.
      Suresh Khanal recently posted…Solved Auto-Spammed Comments ProblemMy Profile

  9. Today i signed up for a wordpress account to set up a blog but am just not able to get the options of upload when am clicking themes options n my dashboard. Are you sure wordpress still has that option on the free version .If not can you please let me know the easiest way as am not even close to technical person when it comes to understand any of these programs. Please respond . Thanks.

    1. Hi John,

      Please visit Appearance >> Themes in your dashboard. You can change the theme anytime you wish. However, you can’t upload custom themes and use in free version.
      Suresh Khanal recently posted….com Domain Names And Dual Hosting for $0.99 « Offer Till 15th JanuaryMy Profile

  10. Installing a WordPress first time , is very difficult think as far as i think because i met with lots of difficulties when i first installed WordPress. But after reading your helpful article , i think anyone can easily install word-press easily .

    1. Thank you Preet. This post is about installing WordPress on local computer. If you need to install WordPress in web servers, most of the hosts offer one click intallation or tools like Fantastico that makes the process much easier.
      Suresh Khanal recently posted…Web Hosting and Types of Web Hosts « How to Blog Series: Post #9My Profile

  11. an excellent piece on installing wordpress….very well documented, especially with the clever use of images…

    1. Thank you Ray. I hope it is helpful for beginners.
      Suresh Khanal recently posted…5 Babajide Tips that Would Drive You to Blogging SuccessMy Profile

  12. it is a nice article this articles is about a word press.WordPress is a Content Management System (CMS) which is widely used today, Learning web / blog easily with Instant WordPress but because of its simplicity, community support, plugins and themes that are very much to make WordPress so popular and much in demand. Additionally, with the help of a WordPress website / blog can be developed not only for blogging, but could be developed into an official website, community, advertising to the web for sale (e-commerce). good info.

    1. Thank you for adding more value.
      Suresh Khanal recently posted…How to Allow Contributors to Upload Images in WordPress BlogsMy Profile

  13. Installing WordPress in local computer is quite easy. It is good to do. It can help you to test some kinds of plugins, too.
    I installed WordPress on my local computer. I use it to write drafts of my articles before I post them in my blog.
    Thank you for sharing this good article. It is quite useful for me.
    Heru Prasetyono recently posted…How To Speak In English Fluently For Non Native English SpeakerMy Profile


Leave a Comment

CommentLuv badge
This blog uses premium CommentLuv which allows you to put your keywords with your name if you have had 3 approved comments. Use your real name and then @ your keywords (maximum of 3)
Read previous post:
Quality outbound links banner. Contains a quotation
Why Should You Care Quality in Outbound Links?

We are discussing about outbound links in this post and look into aspects such as why outgoing links are important,...