On Wednesday 07 June 2006 14:51, [EMAIL PROTECTED] wrote: > > 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 my wurry here is that a very elegant and clever system invented by Tompson Ritchie et al is disgarded because the <no doubt clever> ubuntu developers don't understand why it was done, and trashed it as useless. I'm working on migrating as POS system (1000s systems, worldwide) from RH9 to ubuntu. Unless I can reverse the run level stuff, I can't use it! Consider: a box boots as 1) a thin client 2) a thick client 3) a stand alone order taker 4) A manager PC. Elegantly handled by run levels, different services in different runlevels corresponding to the different roles. So don't use ubuntu, work around what they've done or put things back as they were. From my perspective it would be nice if they did stuff eg no root login and you could put it back just as easily (sudo passwd root) From that point of view this thread has been fascinating and profoundly valuable. Cheers James -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
