You are on page 1of 5

A wall of design ideas, web

trends, and tutorials.

HOME ABOUT JOBS

NOV WordPress Add


13 Installing WordPress Locally
This is the first chapter of the Complete
WordPress Theme Guide series. In this
chapter, you will learn how to install
WordPress on a local computer. By doing
so, it will save you time from updating
and previewing files (so, you don’t have to
frequently upload files on every change).
You can also use the local version to test TAG CLOUD
new plugins, themes, and upgrades. This
tutorial is intended for beginners who want to learn how to run Coding CSS Design
Design Process Design Trends
WordPress locally.
Event Flash Freebies
Guest Posts Illustrator
Quick Summary
Inspiration Javascript Jobs
Photoshop Photoshop Tutorials
If you have some technical background, you can skip the detailed steps in this
Review SEO Software
tutorial. Here are the simplified steps on how to install WordPress on a local
Talented People Updates
computer:
WordPress
1. Install a local server (Mac: MAMP, PC:XAMPP or WAMP). Ads

2. Create a new database.

3. Download WordPress from wordpress.org and extract the files to a new folder
under the htdocs folder.

4. Rename the wp-config-sample.php file to wp-config.php and update the


database details according to your local server.

5. Run wp-admin/install.php and follow the instructions to install WordPress.

6. Done!

Let’s Begin…
Before you start, let’s look at the requirements to run WordPress:

PHP 4.3+

MySQL 4+ Database Server

1. Install a Local Server


In order to run any PHP/database application on a local computer,
you need a local host (ie. Apache + MySQL). For Mac, use MAMP.
For PC, use XAMPP or WAMP.

I’m using Mac here, so I’m going to install MAMP. Go to mamp.info,


download and install MAMP.
Advertise Here

2. Create a New Database


After you’ve installed MAMP, run it and it should take you to the start page. Now
click on phpMyAdmin. In the phpMyAdmin page, create a new database (eg.
wordpress).

Web Developer
at Rackspace Hosting (San Antonio, TX)

BNOTIONS IS HIRING JUNIOR AND


SENIOR DEVELOPERS
at BNOTIONS (Toronto, Ontario )

PHP Developer at SocialGO


at SocialGO (London)

Senior Interaction Designer


at Ancestry.com (Provo, UT, or San
Francisco, CA)

Web Designer/Programmer
at Comediva, LLC (Burbank, CA)

See all Design Jobs

3. Download WordPress
Go to wordpress.org and download the latest build of WordPress. Go to the htdocs Follow @nickla
folder (where you installed the MAMP), extract the wordpress.zip to a new folder (eg.
mysite). More css3 logos:
http://robustnessiskey.com/csslogos 6
hours ago

Wordpress is dropping php4 support after


v3.1: http://bit.ly/9atnzB /via @darcy_clarke
6 hours ago

@darcy_clarke I like the photos more than


the Facebook page. 15 hours ago

I'm not a big fan of Facebook, but here are


some nice Facebook landing pages:
http://bit.ly/adVv8X 15 hours ago

4. Update wp-config.php File


In the folder, rename the wp-config-sample.php to wp-config.php. Open wp-
config.php and update the database details (db_name, user, password, host) POLLS
according to your local server. What kind of WP themes are you
most interested in:

c Business / Corporation
d
e
f
g

c News / Editorial
d
e
f
g

c Blog Sites
d
e
f
g

c Portfolio + Blog
d
e
f
g

c Software Sites
d
e
f
g

5. Run install.php c Ecommerce / Shop


d
e
f
g
With your browser, go to http://localhost:8888/mysite/wp-admin/install.php
Vote View Results
and follow the instructions to install WordPress.

Poll Archives

What’s Next…
In the next chapter, I’m going to show you how to create a custom WordPress
theme in designer way (no PHP skill is required).

Delicious Stumbleupon Digg


Complete WordPress Building Custom
Theme Guide WordPress Theme

Pages: 19 18 17 16 15 14 13 12 11 10 9 …  1 » Show All

There are 188 comments (+Add)


188 Conny
June 15th, 2010 at 4:53 pm

Never ever came to my mind LOL to do it localy tzzz, now i can work even
when im without net
10 thumbs up

187 arvee marie


June 6th, 2010 at 11:39 am

i used xampp and it was great. i used it before making my site go live. ♥

186 Alex
May 27th, 2010 at 2:41 pm

Things are slightly different for WAMP: Here’s what I did:


1. Install WAMP into c:/. When done, run WAMP then click on WAMP icon
in icon tray> select ’start all services’ from menu.
2. Go to your browser address bar: http://localhost… (if you see nothing, try
closing ‘SKYPE!!!!’), click on phpmyadmin link at bottom (this just takes
you to localhost/phpmyadmin)…
3.You now ‘create new database’, give name ‘wordpress’… leave all other
dropdown boxes.
4.When it has created that, go to tab towards top right called ‘Privilages’… 
click ‘add new user’, enter a username and password twice, ignore
everything else and click GO on bottom right to save this user.
5. Now you can continue from STEP 3 in Nick (webdesignerwall’s)
tutorial, but note your folder will not be called ‘htdocs’ it is call ‘www’ found
at c:/wamp/www/’folder-name-you-created-for-your-local-wordpress’…

185 Gray
May 25th, 2010 at 8:47 am

Brilliant tutorial and have used it before. I updated my MAMP Pro, and now
it won’t work!!! So annoying… it cant connect and I keep getting this msg-

Not Found

The requested URL /mysite/wp-admin/install.php was not found on this


server.

Please help, I need to get this sorted. I’ve done everything that is required
so really dont know whats going on! Thanks

184 Graham Armfield


May 24th, 2010 at 4:57 am

Thanks for the clear instructions and easy to follow layout. This article was
very informative.

183 San Diego Mobile Notary


May 13th, 2010 at 7:48 pm

Great tutorial. I was always looking for ways to install Wordpress and work
with a theme locally. There are many steps, but all are laid out very well.
Thanks for taking the time to help everyone.

Kurt
San Diego Mobile Notary

182 Web Design


April 28th, 2010 at 8:59 pm

Great info !! THANKS!!!!

181 Jodi Henderson


April 6th, 2010 at 8:12 pm

This was a fantastic help! Thanks very much!

180 Kyle King


April 2nd, 2010 at 2:27 pm

I would be willing to do a guest post for web designer wall detailing how to
use the Microsoft Web Platform. Contact me if you are interested at kyle{at}
highergroundstudio{dot}com

179 Kyle King


April 2nd, 2010 at 2:21 pm

You might want to add the Microsoft Web Platform Installer as a possible
way to install wordpress locally. It is a really easy install for windows users
(about 10 minutes).
http://www.microsoft.com/web/gallery/wordpress.aspx

Pages: 19 18 17 16 15 14 13 12 11 10 9 …  1 » Show All

Name (required)

Mail (required)

Website

Submit Comment

Back to top

Interview With ZURB These sites (and this site itself) are
07-09-2010 amazing. Th.. Flash video websites

What Do You Think About Flash your site always help me... Web Designer Wall is all about
Now? Comment and Win thanks..... chiho design, ideas, web trends, and
07-01-2010
tutorials. It is designed and
CSS3 Rounded Image With jQuery just wanna say, amazing..... chiho maintained by Nick La, who also
06-30-2010
runs N.Design Studio, IconDock,
Thank you!! Very helpful, great
ScrollTo Posts With jQuery and Best Web Gallery.
technique and grea.. lumi
06-21-2010

© Web Designer Wall 2010 . N.Design Studio . Best Web Gallery . Web Hosting
converted by Web2PDFConvert.com

You might also like