Installing WordPress on a Local Server Environment

Posted on July 18th, 2009 by in Tutorials | 10 Comments  
Installing WordPress on a Local Server Environment

As you might already know you need a web host to be able to install WordPress. In this tutorial however, we’ll learn how to install WordPress locally. Having a local installation of WordPress allows us to quickly test any plugin or theme without having to worry if it’ll work on your live site or not. It is also a great way of working on your theme development while you’re on the road, as you won’t be needing an Internet connection.

Before we begin installing Worpress on our computer, make sure that you already have a local web server set up.

We have created a video tutorial for you guys to follow, so you can setup a local server environment for either PC, Mac, or Linux.

Setting up a Local Server Environment for Windows

Setting up a Local Server Environment for Mac OS X

Setting up a Local Server Environment for Linux

Once you have installed a local server on your computer by following one of the tutorials above, you are now ready to install WordPress in that local server. Follow the video tutorial below:

Installing WordPress into a Local Server

Congratulations, Now you should have WordPress installed in your local server.

DronixDronix is a web junkie who likes to learn and blog everything related to the web. He currently lives in Orlando Florida where he’s attending a local college majoring in IT. You can visit his website and follow him on Twitter.

About

Editorial Staff at WPBeginner mainly Syed and David.

Post comment as twitter logo facebook logo
Sort: Newest | Oldest

All of the tutorials I have found online walk through these same steps. But no one explains how to upload/sync the local install onto a live web server. Its a continual question I see in the comments too.

This is what I would really like to know and can't find the answers to.

1. I want to change themes and layout of my existing blogsite. I'll be changing column dimension, adding widgets,etc, and need to see what everything will look like as I'm changing it around. Mine is a photography site and I have images sized to certain pixels via wp media and nextgen galleries so I need to see how these images are being affected with column changes.

2. I have the backup buddy plugin.

3. I want to import my full existing site to local server with MAMP. Redesign site.

4. Upload from local to web server.

5. Work from local and sync from there.

The web needs a comprehensive tutorial for these needs! It would be incredible if you could provide the solution for non-developers.

Thank you!

Look in the Related Posts section. It should show you how to move your site from local server to a web server...

Thanks, the install was easy with your tutorial! It all got installed successfully... but how do I go back to my Wordpress Dashboard? When I enter /localhost/wordpress in the url address window it just brings the customer facing blog page... I don't see where I can log in. Please help! (MAMP/MySQL also was installed successfully. I ran on Apple PPC). Thank you!

/localhost/wordpress/wp-admin <<

Thanks for the great tutorial, I just tried it and it worked like a charm!

Very nice tutorial! Thanks! Love your website :)

its so complete tutorial :) i like its very much

thankz dude .. RT ciipps

I'd love to see a tutorial that addresses moving a wordpress installation from a local server to a webserver.

Hey Benjamin, great idea. I'll see if we can get that tutorial up in the coming days.

Tweets about us: