January 26, 2009
Shane Arthur walks you through creating a local installation of WordPress, which you can use for testing or development. In this tutorial, Shane uses the Windows-based WampServer
Originally published over at YouTube
Shane Arthur 1
local installation 1
- good video tutorial, its very usefull to a user want to learn wordpress in home before upload wordpress into web.
- simple to understand.
thankz to shanearthur
I’m glad you liked the video. I loved making it.
hmmm..I wanna try this locahost server..coz i usually use “xammp”
WampServer doesn’t work with vista.
It does now, check for updates. Do not install in program files , should be c:/wamp . Also turn off UAC (if you are comfortable with that) You can do that through msconfig ( run > type msconfig > enter)
I have notice however, that randomly it will not work (taskbar icon will turn yellow) , if it does this simply “stop all services” > “put offline” > restart services” > “put online”, also it is a good practice to put wamp “offline” before you exit wamp. Kind of like using the windows interface to turn your PC off instead of just hitting the power button.
i certainly agree… i’ve tested it recently and there’s no improvement yet. this kinda SUCKS!
I did a video just like this on youtube. Only any screen recorders make my computer run horribly.
I had a go at this but I just got to the step where I click on the Wamp icon and choose “PHPMyAdmin” and then I get this mesage.
Invalid server index: “”
And now I’ve just tried to do it again and literally NOTHING appears at all. because I don’t understand the steps or what they mean I wouldn’t even know what to do to correct it.
Aaron: I’ve heard about problems with Vista, but I don’t use that operating system so I can’t help you there. I’d do a google search for “wamp vista” though and you will probably be able to find someone else in your situation. Or, you might want to check out the wamp forums.
links: doing screencasts takes lots of juice, so I suggest you upgrade to a fast system geared toward graphics and video.
Wasim, are you using a firewall or Vista? I’m not familiar with the error message you mentioned, but the wampserver forums might help:
I wish I could help you more with this.
This is a great tutorial but how do I put all my stuff online this way??? I wanna know how to publish things for online. It seems all this is for is for private use only. Maybe im confused about it all. Let me know Shane.
moving from a local build to online is easy.
Once you have developed your site / blog locally, simply install wordpress on your web server. On your local install use the “export” function. Then on your web install use the “import” function. This will bring your locally developed content to the web. Then as for your theme, simply upload your theme to your web server in “wordpress directory”/wp-content/themes .. Voila! from PC to Web.
This tutorial is indeed for practicing offline. Lots of times, people want to tinker around with WordPress before they go live. Once they practice, they can get space at an ISP, purchase a domain name, and once everything is ready to go(I suggest an ISP like Midphase that has one click WordPress installation), you just transfer your local theme that you tinkered with into your live theme folder, then use your ISP’s control panel to choose that theme.
Let me know if this helped.
Will wampserver work using WordPressMU?
That’s a damn’d good question donkeely. I’m not sure about that. I’d check the wampserver forums for that.
This is a cracking tutorial explained simply and clearly. I am struggling with opening the sample file with note pad but thats because I am thick ! However tohave got to that point is a tribute to the clear instruction. I hope you do more because its really useful.
Sorted the editor out and the program works a treat – recommend it to all beginners , thanks.
Awesome Lee. Tell everyone about it. I love a fan base!
Tell ‘um to follow me on twitter too.
when I type in the address to install the local server – a broken link appears. help?
I don’t think I was clear in the first post. This is what i am typing: http://localhost/wp-admin/install.php
google crome and IE say that the link is broken and/or unknown error.
Great job was going on 12 hours attempting till I saw this.
Heather, are you sure that you’re wamp server is running before you open your browser and try that link? Make sure it is, and make sure you transferred this file to the c:\wamp\www folder.
Let me know.
So, Raw28, did you get it installed and running?
let me know.
Really great video! Thank you very much. I had the problem with the password field (didn’t know it works if its blank). Thank you very much.
Thank you. Everything worked like a charm! Very helpful.
Great video Shane. Any chance of producing one for IIS? (IIS 5.1 to be more specific) … kinda constrained because of my company’s IT policy to use MS products.
When I run: http://localhost/wp-admin/install.php
You appear to have already installed WordPress. To reinstall please clear your old database tables first.
That’s OK except that I didn’t know there was another installation on my machine and I certaintly don’t know how to find and remove old databases.
I have two questions.
1. Can’t I just upload my finished site via FTP?
2. I already have a blog installed as a subsite to a bigger website. I want to delete the entire main site and replace it with the Word Press blog. This means changing the URL from http://myblog.com to http://www.myblog.com. What happens to the database already installed with my host? Will the updates and plugins still work or do I have to re do everything?
I hope that makes sense.
is this technique still effective nowadays? in the past few months I’ve attempted to re-install XAMPP/XAMPPlite/WAMP server or even BitNami WordPress Stack, it keeps on getting errors every now and then. BTW, I’m using Vista.
Great video tutorial!
Just popping in after months of downtime. Not feeling up to anything these days. Wish me luck to find my motivation again.
I have been running XAMPP LITE on XP Prof’. Works fine with WP 2.8 so far. I am about to get Verizon’s FiOS boradband service. Common knowledge is that Verizon blocks port 80, and local host stops working. Could you please suggest a remedy? Many Thanks.
THANK YOU THANK YOU THANK YOU!!! I had trouble at first but once I uninstalled IIS (I had tried using that before for a different project and couldn’t get it to run properly, so I didn’t mind shutting it down), your tutorial worked beautifully. You made it so easy!
Thanks! Have Wampserver running fine on my Vista PC and playing with WordPress. Does anyone know how to set up multiple blogs locally?
Thanks m8! Great tutorial!
You can delete the index.php that came with the wampserver. It’s just a little test webpage to show you that Apache, The thing that does web pages is working.
Very good video to show this. I did not know could do this on Windows XP. I been doing in on Linux. That’s neat can run this on Windows. To bad have to turn off skype.
Thanks Shane, that is a very clear video and you’ve done a great job describing how to install WAMP.
Hope your motivation has returned – we all go through those slumps but usually come out better on the other side.
I would like to work locally on several WordPress sites at the same time. Can anyone explain how to set up more than one local site?
Please and thanks!
In case this helps anyone else, I just found a description here of how to have multiple virtual sites locally:
very good for Installing WordPress locally with WampServer.
Great video. I was able to do the install right along with it.
Hey Shane, I can’t THANK YOU enough for this video. I was pulling my hair out trying to get this local install to work after watching a video (4 times) to do the same on Lynda.com. Your process varied a bit from that video, but HOOOOORRRRAAAAYYYYYY, YOURS gave me a working install! You ROCK kiddo!!
You’re welcome rtiqlit.
Great video!!! Simple and very easy to follow walkthrough! Thank you so much!
Thank you so much. You have helped me tremendously. I have spent so many hours trying to find a complete walk through that would help me, I’m so grateful for your video.
Here’s an easier way to host multiple sites locally. I tried the “virtual host” method outlined in the link that Linda F offered, but I couldn’t get it to work on my machine. The following is much easier, and it works great:
Before you install wordpress, go to www in your wamp folder, and create a file called “client1″ (you can name it anything you want.) Then go to your phpmyadmin page, and Create New Database called “client 1″ Now paste your wordpress into the client1 folder, and follow the steps outlined above. (for databese, enter client1; everything else is the same.)
Now you can repeat these steps for each new database. Create a file in www called client2, create a database in phpmyadmin called client2, install wordpress in client2 folder, and make sure the database in wp-config is client2.
So then you go to your browser and type in http:localhost/client1/wp-admin, and you’re there! Change “client1″ to whatever site you want to work on.
If your browser can’t find the address, you probably forgot to start wamp. I’ve done that a few times.
thanks for this. so far I’ve been following some tutorials on how to make this work that would instruct me to write stuff and complicated code in command promt and what not. it did work but the set of instructions was something I could never remember. but I always thought it doesn’t make sense for this to be this complicated. so, I kept looking for an easier way until I found this article which indeed showed me how really easy is to set up things.
I’ve been using Vista for a long time and the only time I have had issues with my WAMP server is when I have Skype loaded. If you disable Skype when you want to use your WAMP server, it works fine; otherwise, it will be orange instead of green.
for all of you using the wordpress files from you real web server on your local machine (maybe you’ve just discovered the option of working locally):
DON’T FORGET TO REMOVE THE .htaccess FILE FROM YOUR LOCAL MACHINE WWW FOLDER…
/* I just spent 45 minutes trying to find out what’s the problem with my firewall… */
WordPress Made Easy for Wamp.
Anyone could follow this simple tutorial
Excellent for those who wish to skip all the techie stuff
and get straight to getting the job done Excellent Tutorial
This is awesome! Wish I had found this when I first started. I finally got it working on my computer a few months ago, then the Hard Drive crashed! I spent 3 months trying to rebuild with no sucess. THANK YOU, THANK YOU, THANK YOU!!!
Its very helpful, although the old version but can be adjusted
SUPER Shane,….Very helpful
Wahooo, worked out of the box first time as per the video…..installed it on a spare laptop running a fresh install of win7Pro 32bit. Just had to be quick on the pause and rewind for url addresses.
I will be playing around with billionstrang’s advice for multiple sites and post again.
Question: Migration/transfering to a web host (not local), what are the steps for that….ie. folder/location names, dbase passwords/username, etc.etc.etc.
Well done all, a fairly straight forward and easy to follow instuctions. Kepp up the good work
Thank you! Everything worked out perfectly
I want to try it on my site: http://www.fishoil1000.com with a new version of WordPress: 3.3.2 and WAMP version 2.2 following the instructions at http://sixrevisions.com/web-development/install-wordpress-on-your-computer-using-wampserver/#comment-147827. But, when I was on the step to follow WordPress installation instructions, wordpress says Error establishing a database connection, although, I already created Database with the same name on the live server.
With Google Search, your video is #1 and followed the instructions carefully. I now have wordpress installed on my local computer.
Thanks for putting your time to create this video.
thanks, this still works today perfectly…however I’d just like to add that instead of overwriting the current index.php within WAMP’s www folder, you can create a new folder such as ‘wordpress’ within the www folder.
then to access your install you go to: http://localhost/wordpress instead of just local host. The index.php that is overwritten in this tutorial is the WAMP localhost index page.
Thanks Shane, that was one of the best tutorials I have seen – excellent, well done. I too after typing in the local host address it wouldn’t work, then I read about turning Wamp on! Doh!
having trouble here. Wamp icon shows up in red, nor orange or green. When I run phpmyAdmin i get Bad Request (Invalid Hostname). What on earth do I do now? PS tried switching off my firewall.
Fill in your details below or click an icon to log in:
You are commenting using your WordPress.com account. ( Log Out / Change )
You are commenting using your Twitter account. ( Log Out / Change )
You are commenting using your Facebook account. ( Log Out / Change )
You are commenting using your Google+ account. ( Log Out / Change )
Connecting to %s
Notify me of follow-up comments via email.
Notify me of new posts via email.
Blog at WordPress.com •
Contact Us •
Powered by VideoPress
Get every new post delivered to your Inbox.
Join 8,076 other followers