 |
28-02-2008, 01:37 PM
|
#1 (permalink)
|
|
Dreamweaver
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
|
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.
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
28-02-2008, 01:54 PM
|
#2 (permalink)
|
|
Elevating Humanity
Join Date: Sep 2007
Location: Now on Earth
Posts: 1,957
|
Re: Install wordpress on your computer.
cool tut
Thanks
__________________
Regards,
The Conqueror
|
|
|
28-02-2008, 02:26 PM
|
#3 (permalink)
|
|
Microsoft MVP
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
|
Re: Install wordpress on your computer.
Excellent tutorial.
|
|
|
28-02-2008, 02:40 PM
|
#4 (permalink)
|
|
Google Bot
Join Date: Aug 2005
Posts: 9,772
|
Re: Install wordpress on your computer.
I prefer XAMPP!!
__________________
My new blog: www.pathikshah.com
|
|
|
28-02-2008, 02:46 PM
|
#5 (permalink)
|
|
Dreamweaver
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
|
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
|
|
|
28-02-2008, 03:09 PM
|
#6 (permalink)
|
|
C# Be Sharp !
Join Date: Jun 2006
Location: Toronto
Posts: 1,805
|
Re: Install wordpress on your computer.
Quote:
Originally Posted by Pathik
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.
|
|
|
28-02-2008, 03:27 PM
|
#7 (permalink)
|
|
In The Zone
Join Date: Sep 2006
Location: Bangalore but heart in pune :-)
Posts: 405
|
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
|
|
|
28-02-2008, 04:58 PM
|
#8 (permalink)
|
|
Dreamweaver
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
|
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
|
|
|
28-02-2008, 05:10 PM
|
#9 (permalink)
|
|
Wise Old Owl
Join Date: May 2007
Location: bangalore
Posts: 1,923
|
Re: Install wordpress on your computer.
Quote:
Originally Posted by Harry Potter
cool tut
Thanks
|
Quote:
Originally Posted by Vishal Gupta
Excellent tutorial. 
|
Quote:
Originally Posted by dd_wingrider
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/
|
|
|
28-02-2008, 06:51 PM
|
#10 (permalink)
|
|
Wahahaha~!
Join Date: Dec 2006
Location: Pune/there
Posts: 7,686
|
Re: Install wordpress on your computer.
\m/
|
|
|
28-02-2008, 08:06 PM
|
#11 (permalink)
|
|
Dreamweaver
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
|
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
|
|
|
28-02-2008, 08:15 PM
|
#12 (permalink)
|
|
gooby pls
Join Date: Apr 2006
Location: Not very far from you
Posts: 4,293
|
Re: Install wordpress on your computer.
Awesome work Giga
__________________
:|
|
|
|
28-02-2008, 08:43 PM
|
#13 (permalink)
|
|
-----ATi-----
Join Date: May 2007
Location: Bangalore
Posts: 2,322
|
Re: Install wordpress on your computer.
Another great tutorial from gigacore...
Thank
__________________
http://twitter.com/akshayms
|
|
|
29-02-2008, 10:22 AM
|
#14 (permalink)
|
|
The Thread Killer >:)
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
|
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 :)
|
|
|
29-02-2008, 10:26 AM
|
#15 (permalink)
|
|
Dreamweaver
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
|
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
|
|
|
29-02-2008, 10:59 AM
|
#16 (permalink)
|
|
Rebooting
Join Date: Aug 2004
Location: 220.225.82.33
Posts: 6,266
|
Re: Install wordpress on your computer.
nice work
__________________
rebooting
ChotoCheeta.com
|
|
|
29-02-2008, 11:26 AM
|
#17 (permalink)
|
|
In The Zone
Join Date: Sep 2006
Location: Bangalore but heart in pune :-)
Posts: 405
|
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
|
|
|
29-02-2008, 11:31 AM
|
#18 (permalink)
|
|
Dreamweaver
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
|
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
|
|
|
29-02-2008, 04:25 PM
|
#19 (permalink)
|
|
Cool as a CUCUMBAR ! ! !
Join Date: Dec 2003
Posts: 5,052
|
Re: Install wordpress on your computer.
giga bhai .... giga bhai .... wah wah .....
__________________
... W H O T ...
|
|
|
16-03-2008, 09:21 PM
|
#20 (permalink)
|
|
Broken In
Join Date: Sep 2006
Posts: 147
|
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 giga  nice 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 giga  nice tut
Last edited by sreenidhi88; 16-03-2008 at 09:21 PM.
Reason: Automerged Doublepost
|
|
|
17-03-2008, 12:07 AM
|
#21 (permalink)
|
|
damn busy...
Join Date: Sep 2006
Location: Jhansi/Meerut
Posts: 1,990
|
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
|
|
|
22-03-2008, 07:26 PM
|
#22 (permalink)
|
|
Fast 'N' Furious
Join Date: Jul 2006
Location: Geek's Heaven
Posts: 11,169
|
Re: Install wordpress on your computer.
Thanks giga for this Tute.
|
|
|
11-04-2008, 01:31 PM
|
#23 (permalink)
|
|
The Devil's Advocate
Join Date: Mar 2006
Location: Masti Ki Paathshaala
Posts: 7,019
|
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
|
|
|
11-04-2008, 01:54 PM
|
#24 (permalink)
|
|
PhotonAttack
Join Date: Oct 2007
Location: Chennai
Posts: 1,285
|
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
|| तमसो मा ज्योतिर्गमय ||
|
|
|
11-04-2008, 01:55 PM
|
#25 (permalink)
|
|
The Devil's Advocate
Join Date: Mar 2006
Location: Masti Ki Paathshaala
Posts: 7,019
|
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
|
|
|
11-04-2008, 02:19 PM
|
#26 (permalink)
|
|
PhotonAttack
Join Date: Oct 2007
Location: Chennai
Posts: 1,285
|
Re: Install wordpress on your computer.
_
__________________
In a time of universal deceit, telling the truth is a revolutionary act - George Orwell
|| तमसो मा ज्योतिर्गमय ||
|
|
|
11-04-2008, 02:22 PM
|
#27 (permalink)
|
|
The Devil's Advocate
Join Date: Mar 2006
Location: Masti Ki Paathshaala
Posts: 7,019
|
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
|
|
|
11-04-2008, 02:26 PM
|
#28 (permalink)
|
|
PhotonAttack
Join Date: Oct 2007
Location: Chennai
Posts: 1,285
|
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
|| तमसो मा ज्योतिर्गमय ||
|
|
|
11-04-2008, 02:45 PM
|
#29 (permalink)
|
|
Apprentice
Join Date: Dec 2006
Posts: 69
|
Re: Install wordpress on your computer.
nice tut!!!!!
|
|
|
14-04-2008, 01:06 PM
|
#30 (permalink)
|
|
Banned
Join Date: Apr 2008
Posts: 33
|
Re: Install wordpress on your computer.
@ manan, you could've referred the example in first post
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|