Installing Magento Commerce and XAMPP on Windows 7
Sometimes it nice to have a local install of Magento on your machine so you may test different settings, extensions or modifications to your live site. Here I am going to show you how to properly setup a local host and install Magento on a Windows 7 Machine.
In order to have your localhost be directed as www.localhost.com, go to the bottom of your c:/Windows/System32/drivers/etc/host host file and include this:
127.0.0.1 www.localhost.com
Hit save and refresh Apache. Your local host should now be accessible to by going to http://www.localhost.com instead of http://127.0.0.1.
Download XAMPP 1.6.7 (PHP 5.2) Here!
Also you many notice or experince the error I recived when I tried to view the front end for the first time after installing the sample data. Simple goto your localhost folder magento/var/cache/ and delete all the folders in this cache directory. Hit refresh and you should be good to go.
Hope this helps someone out there.
Thanks and Enjoy.
Devin R. Olsen

Thank you so much! You have saved me hours (days?) of frustration
Excellent tutorial.
It would have been nice if i could rewind and fast forward.
good day sir,i delete the directly inetpub,then i m install IIS7 then he give me error,some file are not install like wwwroot/web.xml and other files
Nice it.
Thanks Olson, I would really needed this video but why can’t i forward your video for quick review :(
THANKS MAN!
Its really nice article and very great
I always enjoy feedback from my readers!