9:30 am - Thursday February 9, 2012

How to Install WordPress in your computer locally

  • Share
  • Share

Here is the complete tutorial to install wordpress in your computer using WAMP server. WAMP is a freeware and it is bundled with all the necessary items for a complete local server creation.

wordpress1 How to Install Wordpress in your computer locally

Install WordPress using WAMP

Quick Preview:

  • Install & configure WAMP Server
  • Copy WordPress to the local directory
  • Install WordPress

Install & Configure WAMP Server

  1. Download the latest version of WAMP Server.
  2. Install it in your computer.
  3. After installation, the WAMP icon will be placed in the system tray.
  4. Left click on the icon and select the second option (phpMyAdmin) .
  5. A new page with database creation option will be loaded in your default browser .
  6. Create a new database with the desired name, this will be used by wordpress to store data.
  7. After creating the database we must add an user and assign privileges.
  8. Click on “Database” tab and click the icon next to the database you just created.
  9. This will open the privileges window, in which you must add a new user.
  10. Click on “Add a new User “ , and enter the following details

User name:->Use text field <desired User name>

Host:->Any host -> Localhost

Password:->Use text field-><desired password>

  1. Then select Grant all privileges and click on “Go”

[flagallery gid=3 name="Gallery"]Note: Click on the “FS” button inthe gallery to view it in Fullscreen.

Copy WordPress to Local Directory

  1. Download the latest stable version of WordPress.
  2. Copy the files inside wordpress folder to the “www” directory where you installed WAMP (Default: “C:wampwww”)
  3. Note: Do not copy the entire folder and paste it, in that case you should append the folder name every time you access localhost.( The index.php must be in the www directory)
  4. Before Installing wordpress, some files must be configured, this includes specifying the database name and the user name which you created using WAMP.
  5. Open the file “wp-config-sample.php” and make changes to the following fields.

define(‘DB_NAME’, ‘putyourdbnamehere’);

define(‘DB_USER’, ‘usernamehere’);

define(‘DB_PASSWORD’, ‘yourpasswordhere’);

  1. The values in these fields must be replaced with the values you specified in WAMP.
  2. Note: The single quote must not be removed.
  3. Save the file and rename it from “wp-config-sample.php” to “wp-config.php”

Installing WordPress

  1. With the database being created and the wordpress folder being configured, we can now install the WordPress in your computer.
  2. Open your browser and enter “localhost”.
  3. This will start the WordPress installation process.
  4. Enter you blog title and your email. The Email feature may not work as you don’t have a dedicated mail provider. Incase of installing wordpress in server, the mail option will be very much useful, particularly incase of lost passwords.
  5. Leave the other options to their default and click on “Install WordPress”
  6. Then wordpress will provide you with a user name and password, by default the username is “admin”.
  7. Copy the password, because it cannot be retrieved once again.
  8. Click on “Log In”
  9. The wordpress will take you the login page where you must provide the username and the password that is generated by WordPress.
  10. On a successful login it will redirect you to the WordPress Dashboard.
  11. Atlast wordpress is installed in your local computer without the need of any domain.

[flagallery gid=4 name="Gallery"]

Note: Make sure to change you wordpress generated password after your first login, this can be achieved by Clicking on the “Users “option in the left sidebar.

pixel How to Install Wordpress in your computer locally

Loading
Filed in: Web

15 Responses to “How to Install WordPress in your computer locally”

  1. Rajesh
    October 12, 2009 at 3:31 am #

    Thats a nice article, also posts about customizing wordpress themes using adobe and best plugins to be used for starting a blog.

    • October 12, 2009 at 3:40 am #

      Thanks Mr.Rajesh, we will very soon post articles on customizing wordpress and the plugins to be used.

  2. October 18, 2009 at 1:48 pm #

    Good Contenthttp://cheapnotebookbuy.co.cc/

  3. Kenneth
    October 19, 2009 at 12:12 pm #

    Love the blog…I love articles more :) Never figured out why more people don

  4. Kenneth
    October 20, 2009 at 5:26 pm #

    Articles are by far one of the most effective methods to get you Google and get some organic traffic!Kennethhttp://www.GetArticleBot.com

  5. October 20, 2009 at 1:33 pm #

    Thank you,

  6. Леша
    October 27, 2009 at 5:52 am #

    Конечно, никогда нельзя быть уверенным.

  7. November 1, 2009 at 2:07 am #

    Other variant is possible also

  8. November 18, 2009 at 12:05 pm #

    Thanks for the nice tutorial….
    .-= Rajesh Kanuri´s latest blog ..Check Out My Exclusive Interview by Devang At SpeakBindas =-.

  9. shivaraj
    November 23, 2009 at 2:53 am #

    copying to Root directory is main and DB user is main ….
    Nice post ….

  10. November 23, 2009 at 10:27 am #

    Thanks for the post. I’m going to need it this weekend. Bookmarking the post. Thanks :)
    .-= TechChunks´s latest blog ..LinkWithin Widget: Reduce Bounce Rate and Show Related Articles on Your Blog (Review) =-.

  11. November 23, 2009 at 10:58 am #

    @Rajesh: You are welcome :)
    @Shivaraj : Thanks mate
    @TechChunks: Good luck dude.
    .-= Ramkumar´s latest blog ..Get your site advertised on ByteChip for free =-.

  12. November 27, 2009 at 2:56 am #

    Well, my first try FAILED :(

    Will need to retry this weekend. Hoping to get it configured this time around…
    .-= TechChunks´s latest blog ..Coincidence or Conspiracy? Origin of Google Safe Search Colored Balls Logo =-.

  13. TI Fácil blog
    June 7, 2010 at 4:08 pm #

    Hi, thanks for the interesting article? Is your blog a free theme or paid? I am intrigued by your site. Is it possible to include this article on one of my blogs?, i will of course linkback to this blog. regards

    • June 7, 2010 at 4:11 pm #

      Its a premium theme, the theme costs 14 USD with lifetime support. You can download it from the footer, “Proudly designed from Theme Junkie” link. And regarding the backlink, yes you can , make sure you dont copy the whole article. :) Cheers

Leave a Reply