Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: How to change from desktop to server?

  1. #1
    Join Date
    Jan 2010
    Beans
    6

    How to change from desktop to server?

    Hi,

    Sorry for the basic question, but I'm very new to Linux.


    If I have installed ubuntu v9.10 desktop for example, what are the steps I need to go through to convert this to a server version?

    I understand the Kernel for the server is different to that of the desktop. Is there a stragihtforward way to change the kernel as well?

    Thanks

  2. #2
    Join Date
    Jul 2009
    Beans
    850
    Distro
    Ubuntu Development Release

    Re: How to change from desktop to server?

    Code:
    sudo apt-get remove ubuntu-desktop
    sudo apt-get autoremove
    and then to the server kernel, i think would be this:
    Code:
    sudo apt-get install linux-server
    all you get is a commandline, and if your are new to linux the LAST thing i would be doing is trying out a server version. Maybe if you had windows server experience, but i still wouldnt do it.
    "Microsoft Windows: A collection of 32bit extensions and a graphical shell for a 16bit patch to an 8bit O.S. originally coded for a 4bit microprocessor written by a 2bit company who cant stand 1 bit of competition." Jargon File 4.4.7

  3. #3
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How to change from desktop to server?

    Also keep in mind that the desktop version is capable of running all the same server software as the server version is. The only difference between the two versions is what packages are installed out-of-the-box. Technically they are both exactly the same Ubuntu. You can install any desktop aps you want on server version, and any server stuff you want on the desktop version.

    So unless you are low on resources there is no reason to remove the desktop stuff from your system. Just install whatever server apps you want.

    (you can of course also install the server kernel, but unless the machine really is intended for some heavy server use that won't give you any benefits. Both kernels are capable of running exactly the same stuff, the difference is how they balance with different tasks. Desktop kernel is optimized for all normal computer usage from desktop use to server use, while server kernel is optimized for running lots and lots of background tasks.)
    Last edited by mcduck; January 27th, 2010 at 10:13 PM.

  4. #4
    Join Date
    Nov 2009
    Location
    Lesotho
    Beans
    53
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: How to change from desktop to server?

    When i do a server i usually just use the desktop version. Unless i am doing a server not requiring gui. I don't know about others, but i hope they add some nice server features into the server edition in the near future.

  5. #5
    Join Date
    Dec 2007
    Location
    The last place I look
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to change from desktop to server?

    desktop ver = server ver + gnome & apps. there is no special kernel or drivers or subsystems... its the exact same system, but with a GUI
    Things are rarely just crazy enough to work, but they're frequently just crazy enough to fail hilariously.

  6. #6
    Join Date
    Jan 2010
    Beans
    6

    Re: How to change from desktop to server?

    Thank you all for the replies. Very informative.

    nerdy_kid. Thanks for those pointers, and you've answered what I didn't know, and this is the Kernel issue. As for diving straight in to server....I'll be fine, dont worry.

    It's interesting to see though that there are some conflicting views on the Kernel. I always thought that the kernels were different, in that the server version was optimised for server type activities, and the desktop was optimized for graphical type apps.

    As I am building a LAMP server, I really do want the server kernel, hence my question. but I see that DOAS777 is of the view that there is no difference in the kernel? Has there been a change then in later versions of Ubuntu?

    I expect a number of you will be asking the question, why dont I just install the server version? .....well that's another loooooong story which I'll bore you with if you like. But for now lets just say I have to install desktop first.

    Thanks for the contributions so far anyway. I look forward to finding out more about kernel versions.

  7. #7
    Join Date
    Dec 2007
    Location
    The last place I look
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to change from desktop to server?

    there is no server kernel for now, though people have talked about forking a "desktop kernel" in recent years ( http://www.linux.com/archive/feed/119256 ), but ultimately, nothing has been done.

    now there are multiple distro's of the kernel (ubuntus kernel is not mainstream for instance) so there can be choices to be made, but not desktop vs server. the kernel is one-size-fits-all; it;s the software package around it that makes the differance between server and desktop distros (mostly just the inclusion of x and gnome/kde/xfce/etc).
    Things are rarely just crazy enough to work, but they're frequently just crazy enough to fail hilariously.

  8. #8
    Join Date
    Nov 2009
    Location
    Bristol, UK
    Beans
    148
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: How to change from desktop to server?

    Kernel tuning is what may be required when you get your services up.

    Thinks like max process memory space, number of IPC slots, file system buffers etc etc etc,

    have a look at sysctl and numerous guides around on the net to get you started - once you find out what your requirements are.

  9. #9
    Join Date
    Apr 2005
    Location
    London.ca
    Beans
    560

    Re: How to change from desktop to server?

    Quote Originally Posted by doas777 View Post
    desktop ver = server ver + gnome & apps. there is no special kernel or drivers or subsystems... its the exact same system, but with a GUI
    You're correct, except about the kernel. Desktop installs use the -generic kernel, and there is indeed a -server kernel. I believe it is 64-bit only now, apparently there is not enough of a reason for a special 32-bit server kernel. For 32-bit systems with the need (and hardware support) there is a -generic-pae kernel for large memory support, though I'm not sure if 32-bit server install discs use it by default. There is also a -virtual targeted at virtual machines.

    There are only a few differences between the different flavours. For example, -generic-pae only enables pae support, which -generic doesn't have. If you're interested, run `apt-get source linux` and run through the debian directory. It has all the configuration for the different kernel flavours built.

    You can view the different linux-image packages available in Karmic on launchpad: Linux source package info page

    That said, if you just want to try out some server stuff on your desktop, you'll probably have a much more enjoyable experience with the default kernel you're already using since it was configured with desktops in mind.

    Interestingly, while researching this it appears that Lucid doesn't currently have a -server kernel as part of the 'linux' source package. I'll have to go through the server team logs and see if things are changing.

  10. #10
    Join Date
    Apr 2005
    Location
    London.ca
    Beans
    560

    Re: How to change from desktop to server?

    Quote Originally Posted by Seq View Post
    There are only a few differences between the different flavours.
    There is actually a page for Ubuntu Server Edition Kernel Features. It lists the differences.
    • The Server Edition uses the Deadline I/O scheduler instead of the CFQ scheduler used by the Desktop Edition.
    • Pre-emption is turned off in the Server Edition.
    • The timer interrupt is 100 Hz in the Server Edition and 250 Hz in the Desktop Edition.
    • The Server Edition is optimised for i686 processors while the Desktop Edition is optimised for both the i586 and i686.
    • Virtualization is better supported in the Server Edition through the enabling of IPC namespaces.
    • Multiple routing tables for the IPv6 protocol are also supported in the Server Edition.
    • For 32-bit systems the Server Edition is configured to use PAE which allows addressing up to 64GB of memory while the Desktop Edition is configured for 4GB.
    • When running a 64-bit version of Ubuntu on 64-bit processors you are not limited by memory addressing space.


Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •