Forum     

Go Back   Digit Technology Discussion Forum > Community > Tutorials
Register FAQ Calendar Mark Forums Read

Tutorials This section offers tutorials and How to's on just about anything related to computers and IT. Note: All tutorials are courtesy the posters and not verified by Digit


Closed Thread
 
LinkBack (1) Thread Tools Display Modes
Old 28-02-2008, 01:37 PM   1 links from elsewhere to this Post. Click to view. #1 (permalink)
Dreamweaver
 
Gigacore's Avatar
 
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
Arrow Install wordpress on your computer.


Introduction

Wordpress is a blogging software developed using PHP and runs on MySQL.

If you are a wordpress theme developer or a plugin developer, or just want to do some experiments with wordpress code, you may need to upload the changes you made and see if it is working or not. This tutorial will eliminate the need of uploading the files to your server. You can do all those tests right in your computer easily.

Things you need to install wordpress in your computer.

Since PHP is a Server-Side script, you can’t install a wordpress blog on your computer without installing PHP. In order to install wordpress on your computer, you need to install three main applications, those are PHP, MySQL and Apache Server. While MySQL is used to store all your database tables like, posts, comments, blogroll and pages etc, Apache server is a web server and it is responsible to deliver the output on web browser.

WampServer and Installation.


Instead of installing all these applications individually, you can just download and install a program called WampServer 2.0. For linux you can install a software called LAMP or the LampServer.

WampServer stands for Windows Apache MySQL PHP. Which means it installs all those applications at one time easily. Installing WampServer on your computer doesn’t require you to be a Rocket Scientist. All you need to do is just download and install it in few clicks. By default, WampServer 2.0 will be installed in your “c:\wamp”. And if you have installed WAMP5 earlier, you need to uninstall it before installing WampSever 2.0.

After you install WampServer on you computer, your windows firewall may ask to block or unblock, just unblock it. In order to test whether if the WampServer is installed properly or not, launch the WampServer from your desktop or All Programs. The WampServer runs in your system tray.

Now open your web browser and type ” http://localhost/ ” in your address bar and hit enter. That should take you to the “Server Configuration” page.



Installing Wordpress on your WampServer

Before installing wordpress on your WampServer, you need to create a MySQL Database to store the tables.

To create a MySQL database, go to your Server Configuration page by typing ” http://localhost/ ” in your web browser’s address bar. Now click on the link called “phpmyadmin” under “Your Aliases”. Now you will be taken to the phpmyadmin page. Under “Create new Database”, enter a name of your desire and click on Create button.



Now you finished creating the database. Since you did it in few steps, your database username will be “root” and your database password will be blank.

Now download the latest version of wordpress from here. And extract it. Rename the folder called “wordpress” to whatever you wish, like “mywordpressblog”. This will make easy for you to remember the path to enter whenever you want to open your wordpress blog from your computer. Open your folder and find a file called “sample-wp-config”, open the file using notepad. Now you need to enter your database details here. Replace the corresponding text by user database username, password and username. As stated before, your database username is “root” and the password is blank. So your edited details must look like this:

PHP Code:
define(’DB_NAME’, ‘gigacore’); // The name of the database
define(’DB_USER’, ‘root’); // Your MySQL username
define(’DB_PASSWORD’, ”); // …and password 
Leave the DB_LOCALHOST and others as it is. Don’t make any changes. Save the file and rename it to “wp-config”. Yes, just remove the “-sample” from it.

Copy and paste that folder in “c:\wamp\www”. so that it must make the path like this, “c:\wamp\www\mywordpressblog\”

Now open your web browser and type the URL of your wordpress folder in the address bar. It must be like this, “http://localhost/mywordpressblog”

This will take you to the wordpress installation page:



Enter the Blog Title and E-mail ID and click next. Note the username and password generated. Click on login, enter the username and password and login. Now you can start using wordpress on your computer!



Quote:
Tip: You can also your wordpress blog on your computer as your personal dairy for easy content management.

Via: My Blog

P.S: My 3000th Post
__________________
Today's noobs are tomorrow's geeks. Don't make fun of them.. encourage them. - Gigacore

Follow me on twitter.com/gigacore

Last edited by Gigacore; 29-02-2008 at 11:08 AM.
Gigacore is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 28-02-2008, 01:54 PM   #2 (permalink)
Elevating Humanity
 
The Conqueror's Avatar
 
Join Date: Sep 2007
Location: Now on Earth
Posts: 1,957
Default Re: Install wordpress on your computer.

cool tut
Thanks
__________________
Regards,
The Conqueror
The Conqueror is offline  
Old 28-02-2008, 02:26 PM   #3 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: Install wordpress on your computer.

Excellent tutorial.
__________________
:arrow: http://www.AskVG.com/
Vishal Gupta is offline  
Old 28-02-2008, 02:40 PM   #4 (permalink)
Google Bot
 
Pathik's Avatar
 
Join Date: Aug 2005
Posts: 9,772
Default Re: Install wordpress on your computer.

I prefer XAMPP!!
__________________
My new blog: www.pathikshah.com
Pathik is offline  
Old 28-02-2008, 02:46 PM   #5 (permalink)
Dreamweaver
 
Gigacore's Avatar
 
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
Default Re: Install wordpress on your computer.

thank u guys...

@ pathik, yeah even it is good.
__________________
Today's noobs are tomorrow's geeks. Don't make fun of them.. encourage them. - Gigacore

Follow me on twitter.com/gigacore
Gigacore is offline  
Old 28-02-2008, 03:09 PM   #6 (permalink)
C# Be Sharp !
 
Zeeshan Quireshi's Avatar
 
Join Date: Jun 2006
Location: Toronto
Posts: 1,805
Default Re: Install wordpress on your computer.

Quote:
Originally Posted by Pathik View Post
I prefer XAMPP!!
Yup XAMPP is teh thing .

had posted a tutorial about installing drupal in a similar manner Long time back.(ok not that long but you get it)

Setting Up A Site Using Drupal .
__________________
There are 10 types of people in the world: those who understand binary and those who do not.
Zeeshan Quireshi is offline  
Old 28-02-2008, 03:27 PM   #7 (permalink)
In The Zone
 
dd_wingrider's Avatar
 
Join Date: Sep 2006
Location: Bangalore but heart in pune :-)
Posts: 405
Default Re: Install wordpress on your computer.

Awesome stuff, was looking for something like this. Thanks a lot
__________________
http://iphone3g-india.com - One stop for all iPhone3G updates, tips,news,resources
http://iPadarena.com - Teh iPad Blog
dd_wingrider is offline  
Old 28-02-2008, 04:58 PM   #8 (permalink)
Dreamweaver
 
Gigacore's Avatar
 
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
Default Re: Install wordpress on your computer.

^ thank u and welcome!
__________________
Today's noobs are tomorrow's geeks. Don't make fun of them.. encourage them. - Gigacore

Follow me on twitter.com/gigacore
Gigacore is offline  
Old 28-02-2008, 05:10 PM   #9 (permalink)
Wise Old Owl
 
a_k_s_h_a_y's Avatar
 
Join Date: May 2007
Location: bangalore
Posts: 1,923
Default Re: Install wordpress on your computer.

Quote:
Originally Posted by Harry Potter View Post
cool tut
Thanks
Quote:
Originally Posted by Vishal Gupta View Post
Excellent tutorial.
Quote:
Originally Posted by dd_wingrider View Post
Awesome stuff, was looking for something like this. Thanks a lot

+1/0
__________________
Sony Ericsson Flashing, Modding, Patching, Hacking And More !
http://www.akshayy.com/sonyericsson/
a_k_s_h_a_y is offline  
Old 28-02-2008, 06:51 PM   #10 (permalink)
Wahahaha~!
 
Faun's Avatar
 
Join Date: Dec 2006
Location: Pune/there
Posts: 7,686
Default Re: Install wordpress on your computer.

\m/
__________________
Blog | Flickr | Battlelog
Spoiler:
Asus Z68 V-Pro|i5 2500k|TRUE Black|Ripjaws X|U2311H|N560GTX|D7000|XONAR STX|RE272|RE0|CC51|XE200PRO Walnut| TD II V2| Ultraphile|N5800

Mono
Faun is online now  
Old 28-02-2008, 08:06 PM   #11 (permalink)
Dreamweaver
 
Gigacore's Avatar
 
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
Default Re: Install wordpress on your computer.

^ thanks guys!
__________________
Today's noobs are tomorrow's geeks. Don't make fun of them.. encourage them. - Gigacore

Follow me on twitter.com/gigacore
Gigacore is offline  
Old 28-02-2008, 08:15 PM   #12 (permalink)
gooby pls
 
Third Eye's Avatar
 
Join Date: Apr 2006
Location: Not very far from you
Posts: 4,293
Default Re: Install wordpress on your computer.

Awesome work Giga
__________________
:|
Third Eye is offline  
Old 28-02-2008, 08:43 PM   #13 (permalink)
-----ATi-----
 
nvidia's Avatar
 
Join Date: May 2007
Location: Bangalore
Posts: 2,322
Default Re: Install wordpress on your computer.

Another great tutorial from gigacore...
Thank
__________________
http://twitter.com/akshayms
nvidia is offline  
Old 29-02-2008, 10:22 AM   #14 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
Default Re: Install wordpress on your computer.

Another good tut by giga. Great work man! Thanks for the tut.
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)
phreak0ut is offline  
Old 29-02-2008, 10:26 AM   #15 (permalink)
Dreamweaver
 
Gigacore's Avatar
 
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
Default Re: Install wordpress on your computer.

thank u guys !
__________________
Today's noobs are tomorrow's geeks. Don't make fun of them.. encourage them. - Gigacore

Follow me on twitter.com/gigacore
Gigacore is offline  
Old 29-02-2008, 10:59 AM   #16 (permalink)
Rebooting
 
Choto Cheeta's Avatar
 
Join Date: Aug 2004
Location: 220.225.82.33
Posts: 6,266
Default Re: Install wordpress on your computer.

nice work
__________________
rebooting
ChotoCheeta.com
Choto Cheeta is offline  
Old 29-02-2008, 11:26 AM   #17 (permalink)
In The Zone
 
dd_wingrider's Avatar
 
Join Date: Sep 2006
Location: Bangalore but heart in pune :-)
Posts: 405
Default Re: Install wordpress on your computer.

i tried and successfully installed it thanks to the tutorial, just an update: people have to stop iis to let wamp server work, atleast it happened in my case.
__________________
http://iphone3g-india.com - One stop for all iPhone3G updates, tips,news,resources
http://iPadarena.com - Teh iPad Blog
dd_wingrider is offline  
Old 29-02-2008, 11:31 AM   #18 (permalink)
Dreamweaver
 
Gigacore's Avatar
 
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
Default Re: Install wordpress on your computer.

^ glad to know that u have successfully installed on ur machine. And thanks for letting us know about the IIS stuff
__________________
Today's noobs are tomorrow's geeks. Don't make fun of them.. encourage them. - Gigacore

Follow me on twitter.com/gigacore
Gigacore is offline  
Old 29-02-2008, 04:25 PM   #19 (permalink)
ax3
Cool as a CUCUMBAR ! ! !
 
ax3's Avatar
 
Join Date: Dec 2003
Posts: 5,052
Default Re: Install wordpress on your computer.

giga bhai .... giga bhai .... wah wah .....
__________________
... W H O T ...
ax3 is offline  
Old 16-03-2008, 09:21 PM   #20 (permalink)
Broken In
 
Join Date: Sep 2006
Posts: 147
Default Re: Install wordpress on your computer.

guys beat this!
i was installing wordpress on my comp.instead of renaming the folder to mywordpressblog i just renamed it mywordpress and evrything else when fine.
after that when i had to type localhost/mywordpress i just opened the link(lazy me) gigacore had given and wondering why i was getting 404 error.
it took almost a minute to set it right.thanks giganice tut

guys beat this!
i was installing wordpress on my comp.instead of renaming the folder to mywordpressblog i just renamed it mywordpress and evrything else when fine.
after that when i had to type localhost/mywordpress i just opened the link(lazy me) gigacore had given and wondering why i was getting 404 error.
i almost took a minute to realize.thanks giganice tut

Last edited by sreenidhi88; 16-03-2008 at 09:21 PM. Reason: Automerged Doublepost
sreenidhi88 is offline  
Old 17-03-2008, 12:07 AM   #21 (permalink)
damn busy...
 
utsav's Avatar
 
Join Date: Sep 2006
Location: Jhansi/Meerut
Posts: 1,990
Default Re: Install wordpress on your computer.

I havnt noticed this thread .lol .i did this over a year back on my pc. i also helped abhishek dwivedi to install wp on his pc in jan as he wanted to test some themes without uploading them to server. he he.
btw gud one .
__________________
MSI GX660 with ATI 5870 :grin: ultimate gaming lappy :grin:
Dell Studio 15(1555)
1TB+1.5TB external|N86|ZTE Blade|5230|E63|EP-630|Soundmagic PL50|Sennheiser CXL 400|Meelec M11P+
www.techjunkiez.com
utsav is offline  
Old 22-03-2008, 07:26 PM   #22 (permalink)
Fast 'N' Furious
 
topgear's Avatar
 
Join Date: Jul 2006
Location: Geek's Heaven
Posts: 11,169
Default Re: Install wordpress on your computer.

Thanks giga for this Tute.
__________________
ToPsPeEeD = FaSt BuT StEaDy

AMD Radeon HD 6850 OverClocked to 1 Ghz !!!

Blog : http://topgeartopspeed.wordpress.com/
----------------------------------------------------
Never buy viewsonic products : http://tinyurl.com/ykwx4oa
topgear is offline  
Old 11-04-2008, 01:31 PM   #23 (permalink)
The Devil's Advocate
 
iMav's Avatar
 
Join Date: Mar 2006
Location: Masti Ki Paathshaala
Posts: 7,019
Default Re: Install wordpress on your computer.

error alert :X

Quote:
Parse error: syntax error, unexpected ')' in C:\Program Files\wamp\www\wordpress\wp-config.php on line 5


contents of wp-config.php
Code:
<?php
// ** MySQL settings ** //
define('DB_NAME', 'wp');    // The name of the database
define('DB_USER', 'root');     // Your MySQL username
define('DB_PASSWORD', ); // ...and password
define('DB_HOST', 'localhost');
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');

// Change SECRET_KEY to a unique phrase.  You won't have to remember it later,
// so make it long and complicated.  You can visit https://www.grc.com/passwords.htm
// to get a phrase generated for you, or just make something up.
define('SECRET_KEY', 'put your unique phrase here'); // Change this to a unique phrase.

// You can have multiple installations in one database if you give each a unique prefix
$table_prefix  = 'wp_';   // Only numbers, letters, and underscores please!

// Change this to localize WordPress.  A corresponding MO file for the
// chosen language must be installed to wp-content/languages.
// For example, install de.mo to wp-content/languages and set WPLANG to 'de'
// to enable German language support.
define ('WPLANG', '');

/* That's all, stop editing! Happy blogging. */

define('ABSPATH', dirname(__FILE__).'/');
require_once(ABSPATH.'wp-settings.php');
?>
__________________
"The problem that shows up with the three red lights on the console is a complex interaction with some very complex parts.” - Robbie Bach

http://beingmanan.com
twitter: manan | Last.FM: manan
iMav is offline  
Old 11-04-2008, 01:54 PM   #24 (permalink)
PhotonAttack
 
DigitalDude's Avatar
 
Join Date: Oct 2007
Location: Chennai
Posts: 1,285
Default Re: Install wordpress on your computer.

change
Code:
define('DB_PASSWORD', );
into
Code:
define('DB_PASSWORD', 'YOUR_DB_PASSWORD' );
just replace YOUR_DB_PASSWORD with your database password

if you did not set a db password just leave the ' ' as it is....
Code:
define('DB_PASSWORD', '' );

_
__________________
In a time of universal deceit, telling the truth is a revolutionary act - George Orwell

|| तमसो मा ज्योतिर्गमय ||
DigitalDude is offline  
Old 11-04-2008, 01:55 PM   #25 (permalink)
The Devil's Advocate
 
iMav's Avatar
 
Join Date: Mar 2006
Location: Masti Ki Paathshaala
Posts: 7,019
Default Re: Install wordpress on your computer.

there should be reservation for the creamy layer too
__________________
"The problem that shows up with the three red lights on the console is a complex interaction with some very complex parts.” - Robbie Bach

http://beingmanan.com
twitter: manan | Last.FM: manan
iMav is offline  
Old 11-04-2008, 02:19 PM   #26 (permalink)
PhotonAttack
 
DigitalDude's Avatar
 
Join Date: Oct 2007
Location: Chennai
Posts: 1,285
Default Re: Install wordpress on your computer.





_
__________________
In a time of universal deceit, telling the truth is a revolutionary act - George Orwell

|| तमसो मा ज्योतिर्गमय ||
DigitalDude is offline  
Old 11-04-2008, 02:22 PM   #27 (permalink)
The Devil's Advocate
 
iMav's Avatar
 
Join Date: Mar 2006
Location: Masti Ki Paathshaala
Posts: 7,019
Default Re: Install wordpress on your computer.

it worked so i was just supporting ur cause
__________________
"The problem that shows up with the three red lights on the console is a complex interaction with some very complex parts.” - Robbie Bach

http://beingmanan.com
twitter: manan | Last.FM: manan
iMav is offline  
Old 11-04-2008, 02:26 PM   #28 (permalink)
PhotonAttack
 
DigitalDude's Avatar
 
Join Date: Oct 2007
Location: Chennai
Posts: 1,285
Default Re: Install wordpress on your computer.

rofl

btw I dont support that if you had seen my arguments closely


_
__________________
In a time of universal deceit, telling the truth is a revolutionary act - George Orwell

|| तमसो मा ज्योतिर्गमय ||
DigitalDude is offline  
Old 11-04-2008, 02:45 PM   #29 (permalink)
Apprentice
 
Join Date: Dec 2006
Posts: 69
Default Re: Install wordpress on your computer.

nice tut!!!!!
nsbindra is offline  
Old 14-04-2008, 01:06 PM   #30 (permalink)
Banned
 
Join Date: Apr 2008
Posts: 33
Default Re: Install wordpress on your computer.

@ manan, you could've referred the example in first post
IT Idiot is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.thinkdigit.com/forum/tutorials/81299-install-wordpress-your-computer.html
Posted By For Type Date
All About Wordpress – Themes, Plugins, Tips and Tweaks Phutse’s Weblog This thread Refback 21-09-2010 04:57 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install updates without restarting your computer ashish_patel Tutorials 9 29-02-2008 10:32 AM
Wordpress hahahari Chit-Chat 7 06-02-2008 04:18 PM
WordPress 2.1.3 and 2.0.10 Ankur Gupta Technology News 7 05-04-2007 05:03 PM
wordpress.com william Software Q&A 2 09-05-2006 06:39 PM
Wordpress Help navjotjsingh Software Q&A 6 24-08-2005 10:32 AM

 
Latest Threads
- by chris
- by icebags
- by Tenida

Advertisement




All times are GMT +5.5. The time now is 01:33 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2