PDA

View Full Version : [ubuntu] how can I tell if I'm running server or desktop


davidshere
May 3rd, 2008, 11:00 PM
Where I work, we have a large server running Ubuntu. I recently updated it from 7.10 to 8.04, to take advantage of the five years of server support. But then I got to thinking: This computer has the desktop GUI on it, and I can't remember if we initially installed Ubuntu Server and then put the desktop GUI on top of it, or if we installed Ubuntu Desktop and then installed the various packages we wanted for our server (apache, postgres, etc).

Then I did some more thinking. Is Ubuntu Server actually a different version of Ubuntu, or is it just a different set of initial packages, like Kubuntu and Ubuntu Studio? If the latter is the case, how can desktop be supported for three years and server for five? Somewhere a "difference" has to exist between server and desktop for them to be supported for different time periods, right?

Sooooo.... If they really are different versions, and I want five years of support for my Ubuntu Desktop, all I have to do is install server, put the desktop GUI on top of it, remove the server packages I don't want, and presto! I have five years of support for my custom-made desktop/server hybrid that isn't really a server anymore

Since the above seems somewhat goofy, I did yet more thinking. Does the "three years of support" for desktop apply mostly to the desktop GUI-related packages, and the "five years of support" apply mostly to the server-related packages? This would seem to make more sense, be simpler to implement, and easier to "enforce".

Is any of this close to reality, or is there another scenario I haven't considered?

LeoSolaris
May 3rd, 2008, 11:33 PM
I think it means they will keep sending updates for the server programs longer than they will continue updating the desktop programs. That would mean all of the desktop programs that ya use would have to be manually updated, but the server programs like apache would still update.

I may be wrong, but that's how it reads to me.

windependence
May 4th, 2008, 01:23 AM
What is the ouput of uname -a ?

-Tim

davidshere
May 4th, 2008, 02:40 AM
What is the ouput of uname -a ?

-Tim

Linux cadillac 2.6.24-16-generic #1 SMP Thu Apr 10 12:47:45 UTC 2008 x86_64 GNU/Linux

jc_emoon
May 4th, 2008, 03:52 AM
I think output must be "Linux xxx 2.6.24-16-server ..." if server version is running.

windependence
May 4th, 2008, 08:50 AM
Looks like desktop to me.

-Tim

nanog
May 4th, 2008, 02:35 PM
If you want to switch just remove the generic kernel and install the server kernel.

pamchi
July 14th, 2008, 10:28 AM
the most simple way to know it is looking in

/etc/apt/sources.list

you can use "nano" to see the file in this way

nano /etc/apt/sources.list

So in the first line it will tell the information that you were looking for.