Categorized | Blogging, Software, Wordpress

Dummies Guide To Installing WordPress On Your Computer

WORDPRESS is a fantastic blogging platform. This free open source application can be used not only for fulfilling your blogging needs over the Internet, but also as a full fledged Collaborative Content Management System (CMS).

You can either have it running on the Internet, to reach a wider audience, or you can simply install it on your personal computer and use it accordingly.

Benefits of installing WordPress on your computer

Use It As A Collaborative CMS

I have WordPress installed on my machine and I use it to file away all my data along with relevant files – pdfs, docs etc. Later on when I need immediate access to it, all I have to do is use its powerful search feature based on keywords to bring it up.

In our professional and personal lives, we deal with a lot of data and if we are not careful in organizing it, we could be always lost for that important snippet of information. WordPress helps you in overcoming just that.

Additionally, when I need to collaborate on that data, I can use features like Roles and Passwords in WordPress to secure that data and allow access to others based on their privileges. If its some important piece of information like network architecture design or files containing root passwords of different Unix machines, I make use of ‘Post Password’ feature to deny unauthorized access.

Migration From A Shared Domain To Personal Domain

Say you have your blog hosted at ( and now you want to explore hosting it on your own domain. It would be nice to first test out the functionality, get familiar with various features etc., before actually doing it over the Internet.


Testing an application is way easier on the local machine than on something that is remotely hosted. Now you don’t touch files on the web host until that new code change or plugin is fully tested on your local machine first.

Steps outling the installation of wordpress on your workstation

Essential third party tools required to run WordPress

WordPress makes use of three other applications so you need to have those installed before you can activate WordPress on your computer. They are PhP, Apache Server, and MySQL database.

PhP is the main code in which WordPress is written. Apache is the web server which delivers the output in the browser, and MySQL is the database used to store all your data, including but not limited to your posts, comments etc.

You can independently install all these three applications if you want, but I strongly recommend the popular cocktail variant WampServer 2.0. Wamp stands for Windows Apache MySQL PhP Server. (It has its linux variant also, called LAMPServer). WAMPServer is extremely easy to deploy. Like any other setup, just download it and install it.

To confirm whether Wamp was successfully installed, start the Wamp server, open the browser, and type “http://localhost/”. If everything went as desired, you should see the Wamp home page load up and display information on Configuration details, Tools, Projects etc.

Creating A Database

Since we need the database details before WordPress can be installed, we will create one now. From the Wamp home page (http://localhost/), click on the PhPMyAdmin link. (Look for it in the Tools section). In the MyPhPAdmin home page, you will see a field for entering the name of the new database. This task is as simple as writing the name of the database and hitting Create :-)

A thing to note here is that by default your DB user name is root and the password is blank.

Installing WordPress

Download WordPress and unzip it if you haven’t already done so. Rename the sample-wp-config.php file to wp-config.php and open it for editing. Update the values in the initial lines, substituting database name, user and password with your own values.

Note – If you want to give a meaningful name to this project, now is the time to do it. Change the name of the unzipped wordpress directory to something like yourProjectName to make it more relevant.

The final step in showing your CMS application in the web browser is to copy the complete folder to the WWW directory, this folder will be residing inside the Wamp server home directory. (In my case it was “c:\wamp\www”) . You are all set to access your application from the browser by typing the complete URL – http://localhost/yourProjectName or by clicking at it from the Projects section in the Wamp server home page – http://localhost/.

If you come across any issues, let me know in the comments section.

    16 Responses to “Dummies Guide To Installing WordPress On Your Computer”

    1. Eric says:

      Good article and you make it sound very easy! But I did not get this part – “copy the complete folder to the WWW directory”.

      Could you please explain that in detail! Thanks!!

    2. Tarun says:

      Hi Anantha, glad you found it useful!

      Its a very generic error and from what it seems, the app is not able to connect to the db. My understanding is that the db details are stored in the wp-config file. So double check this file and make sure the entries match your local db value.

      Also, since your db data is from the online host, you can make sure the db user value is in syn with the local db. By default the local db user is root, but if you created the db online initially, the web host gives it some random user name. Maybe this also needs to be in sync.

      The error is pretty generic, I can only give you leads on this. Not the exact cause.

      From the post I gather your immediate requirement is to test the template. You might want to consider creating another project and use a locally created db. This would defn work and you can load the template plus copy paste some posts to test it out.

      Let me know how it goes!

    3. Tarun says:

      Anantha, thats good news. Share with us what the issue was, and keep us updated about the installation.

      Additionally I have some more tweaks, real time security concerns rather and how to tackle them, lined up for WordPress. So keep checking back.

    4. Tarun says:

      Stef, looks like its a wordpress specific error.

      Did you try unzipping a fresh wordpress installation?

    5. nicole says:


      This has been super helpful, I have to install wordpress on seven sites at work!!! I have followed everything up until The last step: the final step in showing your CMS application in the web browser is to copy the complete folder to the WWW directory, this folder will be residing inside the Wamp server home directory. (In my case it was “c:\wamp\www”) . You are all set to access your application from the browser by typing the complete URL – http://localhost/yourProjectName or by clicking at it from the Projects section in the Wamp server home page – http://localhost/.

      do you mean copy the unzipped wordpress folder into the c:\wamp\www folder? I tried that and I still get a 404 error. Or did I get that backwards and I am supposed to take the index from c:\wamp\www and copy that somewhere? Or am I totally offbase and I have to use my ftp client to upload something? Any help is really appreciated!

      I feel like i’m close, just need a little extra help?

    6. Troy says:


      1. Just to make sure we are on the same page, these instructions are for installing WordPress on a local computer (as opposed to a website).

      2. Now you need to copy the WordPress ‘root folder’ in the ‘www’ directory.

      3. By ‘root folder’, I mean the folder which contains directories like wp-admin, wp-include, wp-content and other files like wp-config.php.

      4. After you copy the root folder inside the c:\wamp\www\ go to http:\\localhost\

      5. On the Wamp home page, in the middle of the page you will a header – Projects. Under Projects you should see the name of your folder. Click on this link.

    7. Anoop says:


      I am a complete novice. I followed your tutorial and was able to install wordpress. But, I am not sure how to link that to my blog. When it asked for website and mail ID, I gave my blog address and it created a new “blog” on my computer. Now, how do I link this to my own blog?



      P.S: Thanks for the tutorial

    8. George says:


      I have WP installed locally on my laptop via Wamp – what I need to know is how to transfer or sync my blog/site that I’ve created locally to the internet. I don’t have and online WP account yet – I assume that’s the first step. Can you help me figure out how to sync my blog/site from laptop to the internet?


    9. It shows how you would comprehend this subject. Added this web site, is for more.

    10. You could certainly see your enthusiasm within the work you write. The arena hopes for even more passionate writers like you who are not afraid to say how they believe. At all times follow your heart.

    11. chat girls says:

      If you’re still on the fence: grab your favorite earphones, head down to a Best Buy and ask to plug them into a Zune then an iPod and see which one sounds better to you, and which interface makes you smile more. Then you’ll know which is right for you.

    12. Prostofine is usually a carefully formulated remedy with high dose saw palmetto extract and important herb to deliver optimal prostate health. It’s specifically cure for any swollen prostate. That plagues one inch every two men older than 60. BPH is really a non cancerous growth from the prostate akin. If your prostate grows in mature men, it pinches the urethra, or urine tube, and problems begin, including painful urination and frequent nighttime trips for the bathroom.

    13. Genaro Flett says:

      Hi there! I simply wanted to ask in case you ever have any hassle with hackers? My last weblog (wordpress) was hacked and I ended up shedding several weeks of exhausting work as a result of no back up. Do you’ve got any options to cease hackers?


    1. […] I also use locally hosted WordPress to manage documentation and notes. (See how to do this from another post of mine). If you are using text editors like TextPad, EditPad etc, very good but don’t stop […]

    Leave a Reply

    You must be logged in to post a comment.