Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to use a personal computer as a Linux web server for development purposes.

Is it possible to have both Windows XP and Linux web server in one computer?

Suggestions, ideas?

share|improve this question

migrated from Dec 27 '10 at 15:49

This question came from our site for system and network administrators.

One option is to run a virtual machine with the Linux installation and Windows as the host. There are commercial virtualization packages or you can use VirtualBox which is free.

share|improve this answer

Have a look at Xampp. It is a compact installation of Apache, php and mysql for windows:

share|improve this answer

I'd use windows as my main operating system and install ubuntu server using VirtualBox. The install of a LAMP server is just a click (ehm, a space-keystroke) away using Ubuntu Server install cd: really easy. Then transferring files from your development windows o.s. to your ubuntu webserver would be a little more complicated. Samba (windows file sharing for linux)? A small ftp server (to install and configure)? Using VirtualBox shared fodlers? Any solution is fine and just depending on what you need and your skills.

If you don't care a lot about tweaking apache, php and mysql and fighting your way to put files in your webserver and configure it and need just a solution that works with a couple of double clicks then Xampp whill make you happy.

Your choice :)


share|improve this answer

the other option is to install Linux (i.e. Ubuntu) with Gnome, Apache, MySQL, Php..etc.

and develop under Linux - you have more tools (development IDEs, editors, Revision control systems, SQL managers, FTP tools, ssh tools, scripting for automation, rsync, archivators, file managers and browsers)

All files will be local for you (hence no need to transfer files back and forth and after changes - you see them immediately)

you still can install Win XP under Virtualbox if you need it (for example to test the site with IE)

share|improve this answer

If you want not only software that runs on Linux too, but a Linux environment, consider either VirtualBox as suggested above, or CoLinux. This way you'll will start and stop a Linux server as a regular Windows service.

share|improve this answer

You must log in to answer this question.