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

Am I correct that Ubuntu desktop and server are the same os but that desktop runs X and lacks things that a server might have like dhcp server, mysqld, apache, etc.? And that if I add those items it would in fact be a server with X instead of just the command line that is given with the server?

Thank you.

EDIT: Is this pretty much the same with all linux distros? I like Fedora, but I only saw Fedora Desktop. I can update it to become server, right?

share|improve this question

9 Answers 9

up vote -3 down vote accepted

No, they are different. They use different kernels. Currently, the "desktop" version uses linux-image-2.6.28-11-generic kernel, whereas the "server" version uses linux-image-2.6.28-11-server kernel.

In particular, they access memory above 4 GB differently

share|improve this answer
4  
This is a none-issue as one can simply install linux-image-server and it will pull the same kernel package that the server version will install by default. It's just that the desktop version of ubuntu installs linux-image-generic by default which doesn't see 4GB of memory however linux-image-generic-pae which is what linux-image-server pulls in supports PAE extensions. On a 64-bit install the PAE extension isn't required so linux-image-server would depend on a different kernel package. They're all from the same repository. Nothing special. –  Jeremy Bouse May 17 '11 at 21:39
6  
Note to anyone visiting this page: this answer is wrong. Firstly, it's easy to change kernels. Secondly, there are no longer separate kernels for server: linux-image-server is now just an alias for the generic kernel. –  thomasrutter Dec 10 '12 at 2:44
    
@thomasrutter: At the time of writing, this answer was correct. Morever, there are some of us still running Ubuntu 10.04 LTS (supported until 2015) where there are desktop & server versions of the kernel with tuning differences in interrupt handling and process fairness. See for example: linuxjournal.com/content/kernel-any-other-name –  khedron Jan 30 '13 at 18:50
3  
No even at 10.04 this wasn't correct - it has always been easy to change kernels. –  thomasrutter Jan 31 '13 at 0:35

That's correct. The default install of a desktop installs the ubuntu-desktop meta-package, which pulls in the normal GUI interface stuff. It also includes metapackages ubuntu-minimal and ubuntu-standard, which together comprise the basic Linux utilities.

Play around with the program tasksel if you would like to deal with server stuff; also note that Ubuntu has a separate server install CD if you wish to use that.

share|improve this answer

The differences are just in what's bundled as a default packaging to make things easier. In reality the difference between a server and workstation are just the purpose they're used for; Linux is Linux in either case (indeed Windows NT variants were largely just differences in packaged tools/dll's and some registry hacks to enforce licensing differences for how much you paid for your license...the kernel was the same and the base OS was the same).

In other words, Ubuntu Server and Ubuntu Desktop are two sides to the same coin. Server was just meant to run by default with some packages to make it easier to set up a LAMP server or file server by default while desktop looks nicer and has office tools/GUI/etc. for desktop users.

share|improve this answer

Correct... Its basically a package thing.

I know of several folks who install SERVER version then add on the desktop GUI for ease of use.

Play around with it... have fun. :-)

Note: I'm not recommending one way or another. I personally like my servers to run with as little as possible. Less moving parts usually means less that can break.

share|improve this answer

As everyone stated, you just need to apt-get the correct packages to make your Ubuntu Desktop "become" an Ubuntu Server.

However, there are differences in the installation process when you opt for the Server edition. For instance it allows you to install Ubuntu on a LVM volume, which the Desktop CD doesn't support.

share|improve this answer
2  
the alternate cds for the desktop install support setting up lvm and other things. –  Zoredache Aug 14 '09 at 18:42
1  
looks like ubuntu desktop 11.10 does support LVM –  Boinst Feb 3 '12 at 1:43

For Ubuntu, yes. the difference is only the default packages.

for Fedora... is there a 'Fedora server'? RHEL is a different thing, only remotely related to Fedora.

share|improve this answer
1  
There is no official server spin of Fedora, though you can just strip the desktop out and add the server packages. If you're looking for a free RHEL decedent to run a server on, check out CentOS. –  MDMarra Aug 14 '09 at 23:36

Yes, you can basically install all the different software that you want (eg apache, mysql, etc)

share|improve this answer

dmityugov is correct, but further to that, the kernels have different compile time options for things like raid, ethernet bridging, routing, etc...

share|improve this answer

Even if you are using Ubuntu desktop 86_64X you can convert this into a sever by installing

sudo apt-get install tasksel

You can see here the basic Ubuntu server is disabled or not installed. You can install it by pressing the spacebar and hit enter.

If you want to add more just issue the command tasksel

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.