Pages

Saturday, 16 June 2012

WordPress on your Computer : A How to Setup Guide






WordPress is a blogging tool that powers a lot of online blog! But if you need to do something on it that you do not want the world to know, you can do it on your computer. In order to install WordPress, you need to have a server and generally the Operating System you use on your computer is not a server edition! So, here we would face a problem! But do not worry! I am here to help you!

WordPress Logo


In order to install WordPress on your Computer, we will have to first set up a server on your computer and then install WordPress on this computer! It is not a very long task or a difficult thing. It is just a simple way to set it up! Now, there are various servers available that you can set up on your computer but for this tutorial, I shall be using xampp. xampp is a free server installation that you can use on Windows, Linux, Mac OSX, Solaris. It is provided by Apache Friends. Click here to download xampp for your Operating System. I will be using it on Windows for this tutorial!

Set Up WordPress on your Computer :



  1. Before we begin, make sure you have downloaded xampp and have the latest version of WordPress.

  2. Next, double-click the XAMPP Setup that you downloaded in the previous step and install it in a specific location. The preferred location is "C:/xampp/" . Now on the next step DO NOT INSTALL any of the sub-programs as services. They can affect your system. For our purpose, leave them unchecked! Then wait for it to install. After the installation, it will ask you if you want to start the xampp control panel. Choose whatever you want. It does not matter really.
    xampp Install Settings for WordPress

  3. Then, unzip all your contents of the latest version of WordPress into a folder.

  4. Then, browse to "C:/xampp/htdocs " and paste the files into a folder here. It is preferred not to paste them on the root folder.

  5. Now, we have to start the xampp server. So, to start the xampp server, go to C:/xampp and look for xampp-control file or you can also start it using the shortcut on your computer. Refer the image below to know what to start. Also, if Windows asks you if you want to unblock it or keep blocking, choose unblock.
    Start xampp services

  6. Then, open your favorite browser and enter the following address : " http://localhost " or " http://127.0.0.1 " and choose the language you like. Then choose phpMyAdmin from the left menu under Tools on the page that appears. Enter a database name for your WordPress installation and click Create Database.
    Create Database in phpMyAdmin

  7. Then, enter the following address : " http://localhost/folder-name "  or " http://127.0.0.1/folder-name " and replace folder-name with the folder where you copied your WordPress installation.

  8. Now, a webpage will open up which will ask you to make a configuration file. Select that and then enter the following details on the page. Make sure you enter the correct database name for your WordPress database. For you information, the MySQL username is root and there is no password when you are using xampp as that will be used on your local computer. Click on the image to enlarge.
    Configure WordPress Installation

  9. After the database has been verified, you will be asked to enter the details of the WordPress blog. Enter the details you like and then just continue the setup till the end.
    WordPress Setup

  10. At the end, you will have a fully functional blog with the accessible URL as " http://localhost/folder-name" or " http://127.0.0.1/folder-name ".


This was a brief article on how to install WordPress on your computer for testing purposes. Just to remind you that when you make a blog like this, only you can access it on your computer and you can not make it accessible to the world with an IP address! If you want to make your WordPress blog accessible to everyone, consider registering on WordPress.com or buying a domain and a separate hosting. Stay tuned for more tips and tricks related to WordPress, Photoshop, Android etc. Keep Subscribed to TechHive to receive our updates in your Mailbox daily! You can also follow us on Facebook, Twitter or Google+.

0 comments:

Post a Comment