<quote who="Kirti">

> Fedora has neat way of conserving resources by changing from init 5 to 
> init 3.
> Ubuntu (breezy) comes with default runlevel 2 with GUI. How to change 
> this to CLI and stop most of the inessential services - I only need to 
> have database and apache servers running? What would then be an option 
> to change back to GUI when required?

Ubuntu (and Debian) is different from Red Hat (and similiar) systems in the
way it approaches run levels. There is no "text mode" vs. "gui mode" choice
of run levels. The idea is that if you have a service installed, it is run.
If you don't want a service to run, in *most* cases, you simply uninstall
it. I would recommend one of:

 * Install just the 'ubuntu-standard' components instead of the complete
   desktop (either use the server CD, or the server selection on the
   alternate CD - in both cases, it just installs the ubuntu-standard meta
   package).

 * Remove gdm and the other services you don't require. It sounds like you
   don't need the entire desktop, so you could remove quite a lot!

 * Use update-rc.d to stop services starting at boot. I would not recommend
   this course of action though - if you don't need stuff, don't leave it
   lying around for someone else to abuse!

- Jeff

-- 
linux.conf.au 2007: Sydney, Australia           http://lca2007.linux.org.au/
 
   "The two [separate] UIs are both incredibly simple and don't even look
   like computer programs; they barely need menus. [When combined, they]
   suddenly look like software." - Havoc Pennington on 'software' design
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to