Question

I'm planning to build Linux web development server in virtual machine environment on Windows Virtual PC. As I don't have much experience with installing and configuring Linux web servers, I wanted to ask for some advice:

  1. What Linux distribution do you recommend for such server? I want the virtual server to look like real hosting environment.
  2. Do any pre-configured virtual machines for web development exist out there?
  3. Maybe some instruction and tips on configuring?

My requirements for the server are quite standard: latest versions of Apache, MySQL, PHP, probably Python and Postgre.

Thank you.

UPDATE: OK I think I'll go with Ubuntu Server for this.

Was it helpful?

Solution

For the distribution I would recommend Ubuntu - you can add all the server software you want from their repositories.

For a virtual machine I'd recommend Ubuntu Server Edition JeOS, as that won't have any un-needed software on it.

OTHER TIPS

You can probably go with Ubuntu. It is easy for a beginner and there is plently of documentation on how to install a LAMP stack and later you can move on to other distros.

If you are looking for pre-configured machines, then you can have a look at VMWare Appliances

  1. Debian Lenny - rock solid stability & the most package support
  2. I'm sure you can find some
  3. Use prefork-worker apache, MySQL 5/PHP 5, Postgres 8.4.

There are lots of prebuilt vmware images that you can use. You might also consider looking at something like Amazon EC2 for which there are lots of off the shelf images.

I would also suggest Ubuntu server as a base OS.

Incidentally there are other virtualisation options in case Virtual PC doesn't recognise those prebuilt image formats (I think those formats are more standardised and interoperable these days, but not sure)...e.g. there is vmware, and there is virtualbox.org

Does it need to be in Linux straight away? You can run (Apache et al) XAMPP locally and get it up and running in 5 minutes.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top