How To Set Up WordPress in Your Home PC
You like this story?
For most of us, if we want to change something in our blog, we straightaway implement it on our blog without even testing! Is it right? Actually this is a big risk because if something goes wrong and crashes our web site….. we are doomed! So its better to test before you implement it. But, how are we going to test it? By buying more hosting space? Nope… theres an easy way in which you can test it on your own home PC!
In here we are going to set up a small virtual machine that will run on your PC and work as an actual Web Server! (Don’t worry you don’t have to know how to set up a server) After that you can set up a new WordPress installation on it (or use the one which is already installed in it) or make a backup of your existing site. Got the idea? Then lets start….
1) What do we need?
- First we need a VM Ware image of the TurnKey WordPress Appliance. You can get it from here.
- Next we need Virtual Box. You can get it from here
For Ubuntu users (Run the following command from the terminal (In the main menu Applications > Accessories > Terminal) :
sudo apt-get install virtualbox-ose
- Next we need a FTP client, for now we’ll use Filezilla
For Ubuntu users (Run the following command from the terminal (In the main menu Applications > Accessories > Terminal) :
sudo apt-get install filezilla
2) How to Set Up the Virtual Machine?
- After you download and install Virtual Box, open it and click on “New” as shown in the image :
- In the next window click on “Next”. After that give a name for your Virtual Machine, For “Operating System” select “Linux” . For the version select “Ubuntu Linux” and click “Next”
- Next set the amount of memory for the virtual machine and click “Next” (Do not give too much, keep some to your own system )
- In the next window select “Boot Hard Disk (Primary Master)” (By default its selected) and select “Use existing hard disk”. Now click on select hard disk button as shown in the image :

- Next, click on the “Add” button as shown in the image, select the image you have downloaded “turnkey-wordpress-2009.10-hardy-x86.vmdk” and click on Open. After that select the image and click on “Select” . Click “Next” to proceed.
- Then they will give you a summary of the OS, read it (if you want) and click on “Finish”.
- Next, select your Virtual Machine and click on “Settings” as in the image :
- In the settings window go to the “Network” tab and in the “Attached to” field select “Bridged Adapter” and click “OK”
How Start this new Server?
- First select your Virtual Machine and click on “Start” (Next to Settings button). Then the system will boot up and take you to the TurnKey Linux Configuration Console.
- After that save whats in the Configuration Console and minimize it.
How to use FTP?
- Now open your FTP client (we are using filezilla) and connect to your virtual machine with :
IP : The IP given in the TurnKey Linux Configuration Console
Protocol : SFTP – SSH File Transfer Protocol
Logontype (used in filezilla) : normal
User : root
- When connecting, your FTP client will say that this is an “Unknown host key” and will ask whether to trust it or not…. I think your trust your own machine, so select trust this host.
- After you login, go to the following folder in the virtual machine (simply copy and paste the path into the FTP client as shown in the image). Now this is the folder which you have your wordpress files!
/var/www/wordpress
How to login to the WordPress Admin Panel?
- Open your web browser and type the address given as “Web” in the “Configuration Console”. Now this is your site.
- To login to the admin area put “/wp-admin” to the end of the above address.
WordPress: username : admin, password : turnkey
TurnKey have already installed WordPress 2.8.4 with some plugins, but if you want you can remove them and install your own WordPress installation…
Congrats! Now you have your own server with WordPress! Now you can import the posts from your site if you want to make a backup. Enjoy!
Author: Pubudu Kodikara (254 Articles)
Pubudu Kodikara is a writer at Tech Hamlet (www.techhamlet.com), a state of the art tech blog which is powered by the Earth Organization, which have a main target of educating people about the latest technology. They post latest tech news, tips on how to resolve problems, tricks and hacks to improve what you do, tutorials to learn new things and many more.




















Thanks Pubudu Kodikara,,Its really interesting…Till now i will test the new updates in my another blog before implementing. But that takes time.
You have mentioned about using it in our PC itself… It will be very helpful. I will give a try to this for sure.
deepika´s last blog ..How To Comment On Other Blogs
Glad you found it useful! :D
Pubudu Kodikara´s last blog ..By: Pubudu Kodikara
Good breakdown Pubudu – I installed FireFTP on my browser when I decided to venture into WP about a week & a half ago . It was very simple to do in fact :) However , I will probably take a different route after the Holidays when I get my Windows :D
Mia´s last blog ..A Black Magik Man | Gopal Raju
hehe, great! hope you’ll get windows soon!… but i think you can test this out in Mac too!
Pubudu Kodikara´s last blog ..How To Set Up WordPress in Your Home PC
Oh yeah ? wanna walk me through the process before I end up blowing up the entire http://www.com ??? hmmmm ??? :D
Mia´s last blog ..Enabling Your "FF" Browser at Warp Speed
Very good tutorial bro :)
Ramkumar´s last blog ..15 Download Managers
thanks mate! :D
Very detailed tutorial. I am using same technique but never found any post which can explain so well.
Ruchi´s last blog ..Tips to Get Success in Social Networking Sites
hehe thanks! glad to here that your using the same thing!
Pubudu Kodikara´s last blog ..By: Pubudu Kodikara
Great idea to have wordpress blog lab.
Btw, we also can install the wordpress directly on our PC/laptop by having apache web server and mysql on it.
Dana @ Online Knowledge´s last blog ..Web Hosting Type
sure you can…… I know how to set them up in linux, but don’t know how to do it in windows! maybe you can write about it in your blog! and i like your cool words “wordpress blog lab!”….
Pubudu Kodikara´s last blog ..By: Pubudu Kodikara
this is just awesome,i had to always flip back to windows to test something on my blog,now i don’t need to do so.thnx
shoaib´s last blog ..Firefox trick-Install Incompatible Add On’s
great! so your a linux user right? :D
Pubudu Kodikara´s last blog ..Secure Your Linux System With Avast for Free
Very detailed guide and I usually use free hosting to test WP beta and new theme, if it is ok then switch to my premium hosting
Tinh´s last blog ..2.9 Release Candidate 1
now you can do it right in your home PC! :D
Pubudu Kodikara´s last blog ..Secure Your Linux System With Avast for Free
Cool… I used to install new stuff on testing domain first before implement to the actual one.
Jayce´s last blog ..How to hack Facebook account profile
so are you paying for those testing ones? or just free?
Pubudu Kodikara´s last blog ..Secure Your Linux System With Avast for Free
I never tested my WordPress in Local Machine. I didnt even tested anything before updating :D LoL
Free Vector Graphics´s last blog ..Christmas RSS Icons
:P now you don’t need to take that risk! :D
Pubudu Kodikara´s last blog ..Secure Your Linux System With Avast for Free
Nice detailed step-by-step for running WP on a VPC. Thanks!
Gabe | freebloghelp.com´s last blog ..3 darn good reasons to buy a domain today
hehe… glad you enjoyed it bro! :D
Pubudu Kodikara´s last blog ..Ubuntu Customization Guide : Purple Boy
This is one of the most well written and details tutorial posts I have seen in a long time. way to go buddy :)
TechChunks´s last blog ..3 Top Online Technology Revolutions that Rocked 2009
thanks mate! :D glad you enjoyed it! :D
Pubudu Kodikara´s last blog ..By: Ching Ya
very in-depth guide, i have not tried to install wp on a local machine, perhaps i can give it a try now, thanks :)
Uttoran Sen´s last blog ..2010 Plans – Big Dreams
I think we can use wamp server for installation..
But we cant use filezilla in wamp i think
wat u say ???