How to install WordPress on your local computer

by Steven Sentosa on February 28, 2009

I have been trying to install wordpress on my local computer couple days ago, and I found a great resource to do that.

Firstly, I need to figure out how to install a web server on my computer so I can install my wordpress (WP). Since WP was written in PHP and using MySQL, the web server has to have both PHP and MySQL in the installation. After searching around, I found this nice program called XAMPP. Surprisingly, it has all the requirements for installing WP:

  • Apache HTTPD 2.2.11 + Openssl 0.9.8i
  • MySQL 5.1.30
  • PHP 5.2.8
  • phpMyAdmin 3.1.1
  • FileZilla FTP Server 0.9.29
  • Mercury Mail Transport System 4.52

I have also used AppServ in the past, but I think XAMPP is more user friendly by far, and it also comes with FTP and Mail Server.

To know more about how to install XAMPP, you can check out WP’s official XAMPP help page or Tom’s XAMPP Tutorial

Secondly, after you installed XAMPP, you are good to go to install your WP. Check out WordPress Official Installation Page for more detail.

 

Why do you want to install WP locally, you might ask? It’s for several reasons:

  • Editing your themes. You can do all the editing in your local WP first, and then make the actual changes later to your website after you are sure.
  • Trying out new plugins. Sometimes when you found new plugins, you just want to try them all to see if they are good and can be used in your blog. Your local WP is a great place you can “test-drive” your new plugins. If they are good, you can just upload them to your “LIVE” website and activate them.
  • Faster loading time. Since XAMPP was installed in your local hard drive, uploading and loading contents in WP are the same like copying and opening files in your hard drive. You are not limited by your web server downloading and uploading rates (technically you are, but it’s so fast, around 70 MB/s) What does it mean to you? It means that you can do things much faster in your local WP. 

 

As final thought, you can also use XAMPP for other uses. Here are couple examples:

  1. Install other web application such as Joomla, phpBB, Coppermine Image Gallery, and many others to your local computer as a “test-drive”
  2. Create it as your virtual hard drive that you can access from everywhere. You can access your local web server as hard drive by using its FTP capability. Just go to ftp://youripaddress to access your FTP. You need to setup a user first in your FileZilla. Check out HostMySite’s Tutorial for more detail.
  3. Install project management software to be used in your local network/intranet (eg: dotProject, eGroupWare, etc)

 

So what are you waiting for? You don’t have to be a computer expert to do this, just get your hands “dirty” using XAMPP. Just follow the instructions, and you’ll be fine. If you have any questions, I’ll try my best to answer them. Just drop a comment here, so others can benefit from it also.

[UPDATED 03/01/2009] If you need some data sample (posts, links, categories, and tags), you can get it from http://selfconclusion.co.uk/2008/09/wordpress-xml-import-download/ or just download the XML file here.

{ 2 comments }

Are you a “Guitar Hero” freak?

by Steven Sentosa on February 25, 2009

If you are a guitar hero freak, I have good news for you. JamLegend.com BETA is up. I’m almost addicted to this online game now, not only because it’s a guitar hero-type like game, but also because it’s an online social game where you can compete and play against each other in the JamLegend community. You should try it.

Several songs that I played:

  • Cannon Rock (http://www.jamlegend.com/song/274/1052/)
  • On the Rocks (http://www.jamlegend.com/song/260/812/)
  • Metal Gear Solid Theme (http://www.jamlegend.com/song/279/1028/) 

I’m not too good at it yet though, my average is about 92%, not too bad either I suppose. I need some song recommendations here, so if you found any good songs, let me know (tell me your score also to give me some motivation to beat it :) )

{ 0 comments }

Good food and great fellowship with new Singaporeans friends

by Steven Sentosa on February 22, 2009

Tonight, we were invited again to Aunty Suansee’s place to have a dinner. At first, I don’t even know why did they invite us? Usually she invited us when we are celebrating something (graduation, birthday, hollidays, etc.), and as far as I know, there is nothing to celebrate today. Apparently, Aunty Suansee met an Asian couple in Viethoa food market, and found out that they are from Singapore (close to Malaysia where they were from), so she just want to have fellowship with us and them (the Asian couple brought also their friends) by inviting us all together. They are actually from the Air Base near Pensacola. They were from Singapore and now they are serving in Singapore’s Air Force where they are assigned to be trained here in US. 

As usual, the food are superb and we had a great time together. Unfortunately, I can’t remember all their names, and I know I will not remember all of their names, not even if I tried; so I asked their Facebook emails and names instead, and added them as my friends. LOL…. what a great idea, isn’t it?

It was funny because we were talking three different languages there: English, Mandarin, and Indonesia. I really felt the “multi-culture” atmosphere there. It’s fine though, we do live in a diverse world anyway, so we just need to get used to it. Anyway, nice to know you guys, hopefully we can meet again sometime :)

p1090614.jpg

Picture 1 of 2

{ 4 comments }