特殊:Badtitle/NS100:BootServices:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Oneleaf留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
无编辑摘要
第11行: 第11行:


=== Installing BUM ===
=== Installing BUM ===
BUM is available in the 'universe' repository, you can install it either via synaptic or by using the following command.
BUM is available in the '''Universe''' repository
<pre><nowiki>
sudo apt-get install bum
</nowiki></pre>


=== Running BUM ===
=== Running BUM ===
第34行: 第31行:
Remember, make sure you know what the service does before preventing it from running. e.g. it is most likely not a good idea to prevent the cupsys service from being started, if you want to print via cups. If in doubt, leave the service enabled until you've been able to find out more about it
Remember, make sure you know what the service does before preventing it from running. e.g. it is most likely not a good idea to prevent the cupsys service from being started, if you want to print via cups. If in doubt, leave the service enabled until you've been able to find out more about it


[[category:CategoryDocumentation]] [[category:CategoryCleanup]]
[[category:CategoryDocumentation]]  


[[category:UbuntuHelp]]
[[category:UbuntuHelp]]

2007年11月22日 (四) 12:09的版本

{{#ifexist: :BootServices/zh | | {{#ifexist: BootServices/zh | | {{#ifeq: {{#titleparts:BootServices|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:BootServices|1|-1|}} | zh | | }}


Stopping of unnecessary services during startup

For convenience, a lot of services are started when Ubuntu starts up. This can include services which you'll probably never need or want, either because you just don't want them (e. g. ntpdate, setting your system time from a time server) or you simply don't have the device (e. g. the HP printing and scanning system which is of no use for you if you don't own a HP device). Other services are mandatory for Ubuntu to work properly on your computer.

While it generally does not harm to have these services started, they increase the time it takes to start your computer, by deactivating some of these services you should get a slightly faster start up time.

A simple tool to manage the start of services is BUM, the boot-up manager. There are other tools available which allow a fine grained editing of services, such as sysv-rc-conf, a ncurses based tool, which gives you control over all services. However for this tutorial we will be focusing on BUM.

Installing BUM

BUM is available in the Universe repository

Running BUM

BUM needs super user privileges to run, so to start it use

sudo bum

and enter your password when required.

BUM can take a while to start up so be prepared to wait for it a couple of minutes.

IconsPage?action=AttachFile&do=get&target=IconDialog-Warning1.png Warning: Disabling some services will stop your system from booting or running properly.

Within bum you can activate/deactivate the start of a service by simply clicking on the checkbox at the beginning of the line for each of the listed services.

It may be sufficient to work on the first tab in BUM. However if you switch to the 'Services' tab, you will see a short explanation for each service, which might help to identify services you don't need. If you uncheck a service which is already running, you are asked whether it should be stopped.

Remember, make sure you know what the service does before preventing it from running. e.g. it is most likely not a good idea to prevent the cupsys service from being started, if you want to print via cups. If in doubt, leave the service enabled until you've been able to find out more about it