Installing WordPress on your Local Windows Based Computer

1
7

 

WordPress is getting popular day by day and soforth its users. For the very beginner to advanced users of wordpress evry one needs some experience to use the cloud application and this trial and error is nt advisable on a running domain

Here is the importance of having one wordpress on our local machine to try the admin and coding interface of wordpress architecture

Getting little deep in to WordPress

 

WordPress Needs the following to run

PHP 5.2.4 or greater

MySQL 5.0 or greater

The mod_rewrite Apache module

(It also Run on IIS with URL_Rewrite module, I tried WP on IIS 6 and 7)

Here For all these requirements we need to install WAMP Server for windows

Download and Install Wamp from here

http://www.wampserver.com/en/download.php

According to your OS You may select 32/64 bit version, and Install WAMP

Wamp server includes

Apache 2.2.21

Php 5.3.8

– Mysql 5.5.16


– XDebug 2.1.2

– XDC 1.5

– PhpMyadmin 3.4.5

– SQLBuddy 1.3.3

– webGrind 1.0

Out of these we need only the bolded features 🙂

Wamp server functionalities includes

  • Manage Apache and My SQL
  • Manange Server and MySQL Settings
  • Manage Settings Files
  • Manage Services , Start, Stop and Restart

Ok come to our point, We now need wordpress , for this goto

http://wordpress.org/download/

and download Latest wordpress

Assuming Wamp is running on your machine ( if not run wamp from Start >> All programs >> Wamp Server >> Start Wamp Server ), You will see Wamp icon on your tray

Image

The color of the Icon indicates

  • Green = Wamp server Online
  • Red = Wamp Server offline

Ok, Now left click on the icon to access WampServer options

wamp server options

Here we see a series of options from putting online – offline and to manage all services.

Remember if you are running IIS in this server , you have to either stop the service of change apache port for wamp from 80 to some other port, for this edit wamp serer >> Apache >> httpd.conf ., Change all port number from 80 to the port you prefer

Yes we are set, now copy the downloaded wordpress file to wamp root directory,

Click on

wamp icon >> www directory

 Extract the zip file to this directory

After extracting it will be in a directory named wordpress with in our wamp root,

Now we need to enable

mod_rewrite Apache module

for apache with in wamp, for this go to

Wamp server >> Apache >> Apache Modules >> Rewrite module ( Check it)

 

Image

Next thing we need to create a database for wordpress, for this go to

wampserver >> phpMyAdmin

Image

on phpMyAdmin click on

Privilages >> Add New User

Image

 

 

  • Give user id ( i Give as wordpress)
  • Select Local as Host ( it ll fill text field as localhost)
  • Generate password with the Generate button
  • Now select Create database with same name and grant all privileges radio button
  • and Press Go button below

thi will create a database wordpress and a user wordpress with all privilages on the created database(wordpress)

INSTALLING WORDPRESS

Go to your favourite browser ( here mine is google chrome)

type http://localhost/wordpress

this will display a screen like this

There doesn’t seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn’t work for all server setups. The safest way is to manually create the file.

  • Click on create a cnfiguration file button
  • on the next screen press Let’s Go button

on the next screen give all details that we prepared earlier

Image

Press Submit ( leave Table prefix as wp_)

On the next screen Press Run Install

the upcoming screen will as k you for site title, admin user id,password and email

Image

Give all details and Press Install WordPress

once successfully installed you ll see the screen

Image

Now go to wordpress, Click on login button to go admin screen ( http://localhost/wordpress/wp-login.php)

Image

 

Main site : http://localhost/wordpress

Image

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here