个人工具

“UbuntuHelp:BootServices/zh”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第15行: 第15行:
 
BUM已经收入'''Universe'''库了,可以直接从“添加/删除”程序中安装。
 
BUM已经收入'''Universe'''库了,可以直接从“添加/删除”程序中安装。
  
=== Running BUM ===
+
<h3> 运行BUM </h3>
 
+
<p>(杏林小草注:截至2008-6-14,Ubuntu软件库收录的BUM版本为2.1.10,安装后自动出现在系统-&gt;系统管理中,点击启动BUM,系统会自动弹出对话框询问密码)
BUM needs super user privileges to run, so to start it use
+
</p><p>BUM需要超级特权,因此需要这样启动:
 +
</p>
 
<pre>sudo bum
 
<pre>sudo bum
 
</pre>  
 
</pre>  
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. https://help.ubuntu.com/community/IconsPage?action=AttachFile&amp;do=get&amp;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
+
<p>BUM启动后会立即各种服务和脚本,这可能需要花费数分钟的时间。<br />
 
+
</p><p>https://help.ubuntu.com/community/IconsPage?action=AttachFile&amp;do=get&amp;target=IconDialog-Warning1.png <b>警告:</b>禁用某些服务可能导致系统无法引导,或者工作异常。
[[Category:CategoryDocumentation|UbuntuHelp:BootServices]] [[Category:UbuntuHelp|UbuntuHelp:BootServices]]
+
</p><p>只需单击每一行开头的检查框,你就能轻松实现启动/禁用该项服务。
 +
</p><p>BUM的普通模式就足以胜任大部分工作,如果勾选高级模式(advanced),那么你可以在“服务(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
 +
</p><a href="Category:CategoryDocumentation">UbuntuHelp:BootServices</a> <a href="Category:UbuntuHelp">UbuntuHelp:BootServices</a>

2008年6月14日 (六) 20:58的版本


杏林小草注:Windows用户注意:Linux的服务体系和Windows的决然不同,请不要照搬Windows的经验,特别是对待同名/同性质服务。


停止启动不必要的服务

从方便用户的用意出发,Ubuntu在引导的过程中会启动很多服务。在这份服务列表中,可能有一些是你不想要的,甚至是根本派不上用场的。例如,你可能不需要ntpdate服务(自动从网络时间服务器上获取信息调整系统时间)。如果你没有Hp设备,那么Hp打印和扫描服务就显得多余。

除了增加开机时间,启动这些多余的服务并无多大害处。你可以禁止启动多余的服务,从而稍微加速开机过程。

我们可以借助易用的BUM(启动管理器)工具管理各种启动服务。当然,好的管理工具还有很多,比如sysv-rc-conf,这是一个基于ncurses终端图形库的小工具。但本文将重点关注BUM。

安装BUM

BUM已经收入Universe库了,可以直接从“添加/删除”程序中安装。

运行BUM

(杏林小草注:截至2008-6-14,Ubuntu软件库收录的BUM版本为2.1.10,安装后自动出现在系统->系统管理中,点击启动BUM,系统会自动弹出对话框询问密码)

BUM需要超级特权,因此需要这样启动:

sudo bum

BUM启动后会立即各种服务和脚本,这可能需要花费数分钟的时间。

IconsPage?action=AttachFile&do=get&target=IconDialog-Warning1.png 警告:禁用某些服务可能导致系统无法引导,或者工作异常。

只需单击每一行开头的检查框,你就能轻松实现启动/禁用该项服务。

BUM的普通模式就足以胜任大部分工作,如果勾选高级模式(advanced),那么你可以在“服务(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

<a href="Category:CategoryDocumentation">UbuntuHelp:BootServices</a> <a href="Category:UbuntuHelp">UbuntuHelp:BootServices</a>