Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

UBUNTU::Lamp::I develop websites on lamp, which UBUNTU version i need for develop, desktop or server ubuntu? Thanks, Yosef

share|improve this question

3 Answers 3

up vote 1 down vote accepted

Either Desktop or Server (or Netbook, if you like). As SvenW points out then only real difference is the default package selections (server has no X by default, netbook defaults to a different desktop config optimised for small screens) - you well find that the default Apache, MySQL and PHP setups will be identical on all the different Ubuntu variants.

Where you will find differences is between releases. For instance Ubuntu 10.04 carries PHP version 5.3.2, Ubuntu 9.10 has PHP 5.2.10 and so on. If you are developing generally then you probably just want to go with the latest. If you are working code for a specific deployment then you might want to try get exactly the same package versions that will be used on that deployment - that way you are developing and testing on exactly the same environment as the final deployment will be using. On that point you might want to use the same Linux variant (which may not be Ubuntu) as the client, either directly or in a VM, for testing purposes then you are as close as you can be to exactly replicating the environment the code will eventually be deployed in.

share|improve this answer
    
Thank you very much! –  Yosef Jun 1 '10 at 22:23

You would deploy the server version for production, but if you plan to use the X11 gui to work on, you would need the desktop version. Otherwise the server version is sufficient.

In reality, the only real difference between the two is the default package selection. You can convert the server version into the desktop variant with a single command if you like.

share|improve this answer
    
Thank you very much! –  Yosef May 18 '10 at 12:09
    
I would very much like to know that single command, so I can show off my CLI-FU :) –  Mister IT Guru Feb 23 '11 at 15:46
    
apt-get install ubuntu-desktop (or kubuntu-desktop or xubuntu-desktop). It's a meta-package that pulls in everything needed for the desktop. –  Sven Feb 23 '11 at 15:59

Not strictly true, as the server and desktop kernels are different and that command won't upgrade the desktop kernel.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.