Ubuntu中文论坛 ? 查看主题 ubuntu16.04安装主题

我的ubuntu rc2 的服务简析,Linux系统各项服务

发表于 : 2005-08-07 19:37

注册: 2005-05-07 23:57

帖子: 3025

送出感谢: 0 次

接收感谢: 0 次 2005年7月24日19:13星期日

我的ubuntu默认Runlevel rc2 的服务简析

代码:

yongyi@yongyi:~$ cd /etc/rc2.d/

yongyi@yongyi:/etc/rc2.d$ ls -al

总用量 16

drwxr-xr-x 2 root root 4096 2005-07-22 19:17 .

drwxr-xr-x 102 root root 8192 2005-07-24 16:42 ..

lrwxrwxrwx 1 root root 17 2005-07-22 19:13 K11anacron -> ../init.d/anacron

#anacron 是和 cron 相似的任务调度器,只不过它并不要求系统持续运行。它可以用来运行通常由 cron 运行的每日、每周、和每月的作业。

lrwxrwxrwx 1 root root 17 2005-07-22 19:13 S05vbesave -> ../init.d/vbesave

lrwxrwxrwx 1 root root 18 2005-07-23 02:56 S10sysklogd -> ../init.d/sysklogd

#sysklogd 就是syslog,是操作系统提供的一种机制,守护程序通常使用这种机制将各种信息写到各个系统日志文件。通常应该启动该服务。

lrwxrwxrwx 1 root root 15 2005-07-23 02:56 S11klogd -> ../init.d/klogd

#klogd 是系统日志守候进程

lrwxrwxrwx 1 root root 14 2005-07-23 02:56 S12alsa -> ../init.d/alsa

#alsa 是Alsa声卡驱动程序支持

lrwxrwxrwx 1 root root 13 2005-07-22 19:17 S13gdm -> ../init.d/gdm

#gdm 是窗口管理器的一种

lrwxrwxrwx 1 root root 13 2005-07-23 02:56 S14ppp -> ../init.d/ppp

#ppp 服务,用于拨号上网。它客户端程序有chat和pppd。还有一个终端通信程序minicom,用来测试拨号用的,也要安装上。chat程序的用途是拨号,并等待提示,根据提示输入用户名和密码等登录信息。pppd的用途是建立并维持与服务器的PPP连接,并传输数据。

lrwxrwxrwx 1 root root 16 2005-07-22 19:15 S19cupsys -> ../init.d/cupsys

#cupsys 是cups服务cupsys,用于本地或远程打印

lrwxrwxrwx 1 root root 15 2005-07-22 19:13 S20acpid -> ../init.d/acpid

#acpid 是Advanced Configuration and Power Interface,为替代传统的APM电源管理标准而推出的新型电源管理标准。配置文件:/proc/acpi/event

lrwxrwxrwx 1 root root 14 2005-07-22 19:13 S20apmd -> ../init.d/apmd

#apmd 用来监视系统用电状态,并将相关信息通过syslogd 写入日志。也可以用来在电源不足时关机。如果我们使用的是台式电脑或一直开机的机型,就不需要使用这个守护程序。配置文件:/etc/sysconfig/apmd

lrwxrwxrwx 1 root root 16 2005-07-22 19:13 S20dbus-1 -> ../init.d/dbus-1

#dbus-1 是自动挂载服务吧,用于显示 /etc/fstab 内指定到 /media/ 的挂载。hotplug模块自动加载工具和它以及gnome-volume-manager配合使用,可以象win2000那样帮你自动mount文件系统。

lrwxrwxrwx 1 root root 15 2005-07-23 02:55 S20inetd -> ../init.d/inetd

#inetd 是因特网操作服务程序。监控网络对各种它管理的服务的需 求,并在必要的时候启动相应的服务程序。通常,inetd 管理的程序有telnet、ftp、rsh和rlogin。 关闭inetd也就 关闭了这些由它管理的服务。

lrwxrwxrwx 1 root root 17 2005-07-23 02:54 S20makedev -> ../init.d/makedev

#makedev 是在/dev目录下创建设备文件的程序。/etc/devinfo 用来给makedev这个程序设定各种不同的设备驱动文件的格式.用户不用设置。

lrwxrwxrwx 1 root root 17 2005-07-23 02:56 S20postfix -> ../init.d/postfix

#postfix 是为用户提供除sendmail之外的邮件服务器选择。postfix没有提供pop3,但可扩展性、编程接口比较好。配置文件位于/etc/postfix目录下,一共有四个最基本的配置文件:install.cf main.cf master.cf postfix-script。

lrwxrwxrwx 1 root root 19 2005-07-22 19:14 S20powernowd -> ../init.d/powernowd

#powernowd 用于自动调整你的 CPU 频率

lrwxrwxrwx 1 root root 15 2005-07-23 02:55 S20rsync -> ../init.d/rsync

#rsync 是remote sync,远程数据备份工具。

lrwxrwxrwx 1 root root 15 2005-07-23 02:55 S25mdadm -> ../init.d/mdadm

#mdadm 用于创建和管理RAID阵列,配置文件是/etc/mdadm.conf

lrwxrwxrwx 1 root root 17 2005-07-22 19:13 S89anacron -> ../init.d/anacron

#anacron 是一个自动化运行任务工具。配置文件:/etc/anacron

lrwxrwxrwx 1 root root 13 2005-07-23 02:56 S89atd -> ../init.d/atd

#atd 是一个自动化运行任务。通常需要启动。不过如果你一直使用cron,那么也可以不启动。配置文件:/etc/at.allow,/etc/at.deny

lrwxrwxrwx 1 root root 14 2005-07-23 02:55 S89cron -> ../init.d/cron

#cron 是用来执行例行性命令的守护程序。必须启动。配置文件:/etc/crontab

lrwxrwxrwx 1 root root 22 2005-07-22 19:13 S99acpi-support -> ../init.d/acpi-support

#acpi-support 相信是提供高级电源管理的。

lrwxrwxrwx 1 root root 19 2005-07-22 19:13 S99fetchmail -> ../init.d/fetchmail

#fetchmail 是一个和电子邮件相关的好用工具,被应用在临时接通的 TCP/IP 线路 (例如 SLIP 或 PPP 连线)上, 用来读取远程信件及转递信件,可以支持 IPv6 和 IPSEC (即 IP 安全协议)

lrwxrwxrwx 1 root root 19 2005-07-23 02:54 S99rmnologin -> ../init.d/rmnologin

#rmnologin 是必需的,man nologin有这样描述:nologin - prevent non-root users from logging into the system

lrwxrwxrwx 1 root root 23 2005-07-23 02:54 S99stop-bootlogd -> ../init.d/stop-bootlogd

#stop-bootlogd 是用来停止bootlogd 模块的,bootlogd 记录所有发送到终端的字符串

Edit at 2005-09-11

今天看了看breezy下的服务,并关掉了一部分对我没什么用的(为了方便知道它的顺序,所以只是改变前面的字母):

root@ubuntu:/etc/rc2.d # ls

K01fetchmail S12dbus S20apmd S20samba S99rmnologin

S05vbesave S13gdm S20hotkey-setup S25bluez-utils S99stop-bootlogd

S10acpid S14ppp S20makedev S25mdadm

S10sysklogd S19cupsys S20pcmcia S89anacron

S11klogd S19hplip S20powernowd S99acpi-support

root@ubuntu:/etc/rc2.d # mv K01fetchmail k01fetchmail

root@ubuntu:/etc/rc2.d # mv S10acpid s10acpid

root@ubuntu:/etc/rc2.d # mv S14ppp s14ppp

root@ubuntu:/etc/rc2.d # mv S19cupsys s19cupsys

root@ubuntu:/etc/rc2.d # mv S19hplip s19hplip

root@ubuntu:/etc/rc2.d # mv S20apmd s20apmd

root@ubuntu:/etc/rc2.d # mv S20pcmcia s20pcmcia

root@ubuntu:/etc/rc2.d # mv S25mdadm s25mdadm

root@ubuntu:/etc/rc2.d # mv S99acpi-support sacpi-support

root@ubuntu:/etc/rc2.d # mv S25bluez-utils s25bluez-utils

解释两个:

hotkey-setup:

auto-configures laptop hotkeys

This package will attempt to auto-detect your laptop hardware and then configure its hotkeys to produce useful keycodes. These can then be used by userspace applications.

bluez-utils:

bluez-utils 是 Linux 上一套在 BlueZ 實作的 Bluetooth 無線網路標準上使用的 工具。

yongyi@ubuntu:~$ sudo chmod -x /etc/init.d/ntpdate

yongyi@ubuntu:/etc/rc6.d$ ls

K01gdm K20acpi-support K25hwclock.sh K89hotplug-net S36ifupdown

K11anacron K20apmd K25mdadm K89klogd S40umountfs

K12dbus K20hotkey-setup K50alsa-utils K90sysklogd S50lvm

K15fetchmail K20makedev K74bluez-utils S20sendsigs S50mdadm-raid

K19cupsys K20pcmcia K75hdparm S30urandom S90reboot

K19hplip K20powernowd K76readahead S31umountnfs.sh

K19samba K21acpid K86ppp S35networking

yongyi@ubuntu:/etc/rc6.d$ sudo mv K15fetchmail k15fetchmail

yongyi@ubuntu:/etc/rc6.d$ sudo mv K19cupsys k19cupsys

yongyi@ubuntu:/etc/rc6.d$ sudo mv K19hplip k19hplip

yongyi@ubuntu:/etc/rc6.d$ sudo mv K20acpi-support k20acpi-support

yongyi@ubuntu:/etc/rc6.d$ sudo mv K20apmd k20apmd

yongyi@ubuntu:/etc/rc6.d$ sudo mv K20pcmcia k20pcmcia

yongyi@ubuntu:/etc/rc6.d$ sudo mv K21acpid k21acpid

yongyi@ubuntu:/etc/rc6.d$ sudo mv K25mdadm k25mdadm

yongyi@ubuntu:/etc/rc6.d$ sudo mv K74bluez-utils k74bluez-utils

yongyi@ubuntu:/etc/rc6.d$ sudo mv K86ppp k86ppp

Ubuntu Start-up

http://joe.terrarum.net/geek/linux/ubuntu-startup.html

(Intro)

This will describe and explain the start-up process of Ubuntu Linux.

(rc2.d)

Like Debian, Ubuntu boots up in runlevel 2. Because of that, we'll find the details we want in /etc/rc2.d. Inside that directory, we find:

>> sysklogd

>> klogd

>> ppp

>> portmap

>> acpid

>> alsa

>> apmd

>> autofs

>> cupsys

>> dbus-1

>> fam

>> inetd

>> makedev

>> postfix

>> powernowd

>> rsync

>> mdadm

>> atd

>> cron

>> acpi-support

>> fetchmail

>> gdm

>> rmnologin

>> stop-bootlogd

(start-stop-daemon)

An important utility to understand first is the Debian utility, start-stop-daemon. It's a simple program that manages starting and stopping running daemons. Each program under /etc/rc2.d utilizes this program to manage their process.

(init-functions)

All services run /lib/lsb/init-functions. This file contains helper functions for the start-stop-daemon program. It helps manage the pid files under /var/run and provides the text-output and logging when the status of a service changes.

(sysklogd)

Sysklogd is the system log daemon. As the description implies, it allows the system to log messages. Options may be specified in the SYSKLOGD variable. The daemon then starts and reads its configuration from /etc/syslog.conf. More information can be found here

(klogd)

Klogd provides kernel logging. Klogd will obtain kernel messages from /proc/kmsg, but if /proc doesn't exist, it will use the system call interface. All kernel messages are routed through syslog which then places them in the /var/log/kern.log file.

(ppp)

This file checks if /etc/ppp/ppp_on_boot exists and if it does, connect to the users ISP.

(portmap)

Portmap converts RPC calls into standard DARPA (tcp/ip) port numbers. This file reads /etc/default/portmap which tells portmap to only run on the local loopback interface.

(acpid)

acpid is a power management daemon. It will sit and read /proc/acpi/event until it receives a whole line. Once then, it checks /etc/acpi/events for a qualifying action for that event. By default, Ubuntu loads the following acpi related modules: battery, ac, processor, button, fan, and thermal. More info can be found here

(alsa)

Alsa is the Advanced Linux Sound Architecture. It reads in some basic settings from /etc/default/alsa then loads up the stored alsa settings. More info can be found here

(apmd)

apmd is another power management daemon. This one really just cares about battery power, system standby, system suspend, and system resume. More info can be found here

(autofs)

autofs controls the automount daemon. autofs reads /etc/auto.master for various mount points of mounting drives.

(cups)

cups is the Common Unix Printing System. It provides and extremely easy system for configuring a printer under linux. More info can be found here

(dbus-1)

dbus is a system for providing Inter Process Communications between two applications. As freedesktop explains, examples of this include a camera being plugged in or file monitoring. More info can be found here

(famd)

famd is the File Alteration Monitor daemon. It provides a system that applications can use to detect when a file changes.

(inetd)

inetd provides a list of services and ports they run on under /etc/inetd.conf. It then listens for requests for those ports, and once received, runs that service.

(makedev)

makedev simply re-creates a symlink from /sbin/MAKEDEV to /dev/MAKEDEV

(postfix)

Postfix is a Mail Transport Agent or MTA. This provides local system mail transportation, and if configured correctly, internet-wide mail transportation. More info can be found here

(powernowd)

powernowd is a client for cpufreq which, as the name implies, controls the CPU frequency. By using this, you may raise the frequency of your cpu when your computer may need the extra power and lower it during idle time. This is especially useful for laptops when heat is concerned.

(rsync)

This would start the rsync daemon on your system but, by default, it is disabled.

(mdadm)

mdadm manages software RAID under linux. More info can be found here

(atd)

atd is the at daemon and manages processes scheduled to run at later times.

(crond)

crond is the cron daemon and manages processes that may be on a repetitive schedule.

(acpi-support)

This is just a helper script for the acpi daemon. Depending on what mode a laptop is in (battery or AC), it will set the systems power accordingly.

(fetchmail)

fetchmail manages retrieving email. This script checks for /etc/fetcmailrc and if it doesnt exist (it doesnt by default), then it does not start. More info can be found here

(gdm)

gdm is the GNOME Display Manager. It starts X Windows and provides a graphical login screen. More info can be found here

(rmnologin)

This script removes the /etc/rmnologin file. rmnologin prevents non-root users from logging in.

(stop-bootlogd)

Just like the name implies, this stops the bootlogd daemon. bootlogd logs all strings sent to the console.

Linux系统各项服务

1、alsasound

Alsa声卡驱动程序支持。Alsa声卡驱动程序本来是为了一种声卡Gravis UltraSound(GUS)而写的,该程序被证 明很优秀,于是作者就开始为一般的声卡写驱动程序。Alsa和OSS/Free 及OSS/Linux兼容,但是有自己的接口,甚至比OSS优秀。

2、amd

运行automount精灵程序,该精灵在必要时自动安装一些本地设备和NFS文件系统。

3、apmd

apmd用来监视系统用电状态,并将相关信息通过syslogd 写入日志。也可以用来在电源不足时关机。

4、arpwatch

该程序主要用来维护以太网物理地址和IP地址的对应关系。

5、atalk

AppleTalk精灵程序。注意不要在后台运行该程序,该程序的数据结构必须在运行其他进程前先花一定时间初始化。

6、atd

运行用户用At命令调度的任务。也在系统负荷比较低时运行批处理任务。

7、autofs

当您需要时自动转载文件系统,而当您不需要时自动卸载。

8、bootparamd

该服务允许老的Sun工作站从Linux网络启动,它和rarp现在很少使用,基本上被bootp和dhcp取代了。

9、crond

cron是Unix下的一个传统程序,该程序周期地运行用户调度的任务。比起传统的Unix版本,Vixie版本添加了不少属性,而且更安全,配置更简单。

10、dhcpd

该精灵提供了对动态主机控制协议(Dynamic Host Control Protocol)的访问支持。

11、gated

gated通过一个数据库提供了网络路由功能支持。它支持各种路由协议,包括RIP版本1和2、DCN HELLO协议、OSPF版本2以及EGP版本2到4。

12、gpm

gpm为文本模式下的Linux程序如mc(Midnight Commander)提供了鼠标的支持。它也支持控制台下鼠标的拷贝,粘贴操作以及弹出式菜单。

13、httpd

http是著名的www服务器,可用来提供HTML文件以及CGI动态内容服务。

14、inetd

因特网操作服务程序。监控网络对各种它管理的服务的需求,并在必要的时候启动相应的服务程序。通常,inetd管理的程序有telnet、ftp、rsh和rlogin。关闭inetd也就关闭了这些由它管理的服务。

15、innd

inn是最流行的用户组新闻服务器。它允许您建立起本地新闻服务器。配置有一定的难度,可以先阅读/usr/doc/ inn*文档获得帮助。

16、keytable 该程序的功能是转载您在/etc/sysconfig/keyboards里说 明的键盘映射表,该表可以通过kbdconfig工具进行选 择。您应该使该程序处于激活状态。

17、ldap

LDAP代表Lightweight Directory Access Protocol,实现了目录访问协议的行业标准。

18、linuxconf

linuxconf是Linux下的一个有效的系统配置工具,该服务允许远程运行。

19、lpd

lpd是系统打印守护程序,负责将lpr等程序提交给打印作业。

20、mcserv

Midnight Commander服务进程允许远程机器上的用户通过Midnight Commander文件管理器操作本机文件。服务进程用PAM来验证用户,需要给出“用户名/口令”以通过验证。

21、mysql

一个快速高效可靠的轻型SQL数据库引擎。

22、named

域名服务器,将Internet主机名解析为点分的IP地址。

23、netfs

负责装载/卸载NFS、Samba、NCP(Netware)文件系统。

24、network 激活/关闭启动时的各个网络接口。

25、nfs

NFS是一个流行的基于TCP/IP网络的文件共享协议。该服务提供了NFS文件共享服务,具体的配置在/etc/ exports文件里。

26、nscd

该服务负责密码和组的查询,并且缓冲查询结果。如果您的系统有比较慢的服务(如NIS和NIS+),则应该启动该服务。

27、pcmcia

pcmcia主要用于支持笔记本电脑。

28、portmap

portmap用来支持RPC连接,RPC被用于NFS以及NIS等服务。

29、postgresql

PostgreSQL关系数据库引擎。

30、proftpd

proftpd是Unix下的一个配置灵活的ftp守护程序。

31、radvd

路由广播程序。

32、random

保存和恢复系统的高质量随机数生成器,这些随机数是系统一些随机行为提供的。

33、routed

该守护程序支持RIP协议的自动IP路由表维护。RIP主要使用在小型网络上,大一点的网络就需要复杂一点的协议。

34、rstatd

Rstat协议允许网络上的用户获得同一网络上各机器的性能参数。

35、rusersd

该服务使网络用户可以定位同一网络上的其他用户。

36、rwalld

Rwall协议允许远程用户向在同一系统中活跃着的终端发送消息,类似wall的本地行为。

37、rwhod

允许远程用户获得运行rwho精灵的机器上所有已登录用户的列表,与finger类似。

38、sendmail

大名鼎鼎的邮件服务器。

39、smb

启动和关闭smbd和nmbd精灵程序以提供SMB网络服务。

40、snmpd

简单网络管理协议(SNMP)的守护精灵。

41、syslog

syslog是操作系统提供的一种机制,守护程序通常使用这种机制将各种信息写到各个系统日志文件。通常应该启动该服务。

42、xfs

X的字体服务器。

43、ypbind

NIS/YP的客户端守护程序。如果您需要使用NIS/YP机器,请启动这项服务,否则,关闭这项服务。

44、yppasswd

让NIS用户能够修改密码。运行在NIS域的服务器上。客户端程序同样也叫yppasswd。

45、ypserv

标准NIS/YP网络协议的一个实现。允许主机名,用户名和其他信息分布于网络各端。运行在NIS服务器上,客户端不需要。

Fedora core 2启动服务详解

http://www.gbunix.com/htmldata/2005_06/1/3/article_1227_1.html

最近笔者重装了一遍Fedora core 2,安装类型为Workstation,没有安装X-Window环境。安装完毕后,执行ntsysv对系统所有的启动服务进行设置,发现有一些服务比较陌生,所以就就写了这篇文章,对系统所有的启动服务进行一个简单的总结,希望和大家一起来分享。

服务名称

含义

acpid

配置文件:/proc/acpi/event

预设端口:无

说明:Advanced Configuration and Power Interface,为替代传统的APM电源管理标准而推出的新型电源管理标准。

是否需要启动:如果你需要对电源进行管理,那就需要启动。

anacron

配置文件:/etc/anacron

预设端口:无

说明:一个自动化运行任务。Red Hat Linux 随带四个自动化任务的工具:cron、 anacron、at、和 batc。当你的Linux主机并不是全天候开机,这个anacron就可以帮你执行在“crontab”设定的时间内没有执行的工作。举例来说,当你的主机在晚上12:00会自动关闭,但是偏偏crontab这个例行性工作是在4:00工作,这个时候例行性工作就不能起作用了。不过利用anacron就能做到。

是否需要启动:如果主机已经24小时开机,而且运行了cron,那么这个守护程序就不需要启动了。

apmd

配置文件:/etc/sysconfig/apmd

预设端口:无

说明:Advanced Power Management,高级电源管理。传统的电源管理标准。一般系统都会同时支持APM和APMD两种标志,但系统加载时只需加载一个即可。对于笔记本电脑比较有用,可以了解系统的“电池电量”。

是否需要启动:如果我们使用的是台式电脑或一直开机的机型,就不需要使用这个守护程序。

atd

配置文件:/etc/at.allow,/etc/at.deny

预设端口:无

说明:一个自动化运行任务。

是否需要启动:通常需要启动。不过如果你一直使用cron,那么也可以不启动。

autofs

配置文件:/etc/rc.d/init.d/autofs

预设端口:无

说明:实现光盘、软盘的自动加载。

是否需要启动:一般不需要启动。

chargen

chargen-udp

预设端口:TCP/UDP 19

说明:Character Generator Protocol,一种网络服务,主要功能是提供类似远程打字的功能。

更多细节:http://www.networksorcery.com/enp/RFC/Rfc864.txt

是否需要启动:为安全起见,尽量关闭这个服务。

cpuspeed

说明:监测系统空闲百分比,降低或加快CPU时钟速度和电压从而在系统空闲时将能源消耗降为最小,而在系统繁忙时最大化加快系统执行速度。

更多细节:

http://altlinux.org/index.php?module=sisyphus&package=cpuspeed

是否需要启动:需要启动。

crond

配置文件:/etc/crontab

预设端口:无

说明:用来执行例行性命令的守护程序。

是否需要启动:必须启动。

cups

配置文件:

CUPS服务器配置文件:/etc/cups/cupsd.conf

CUPS客户端配置文件:/etc/cups/client.conf

CUPS打印机配置文件:/etc/cups/printers.conf

CUPS中类(class)配置文件:/etc/cups/classes.conf

说明:Common UNIX Printing System,公共UNIX打印支持,为Linux提供打印功能。

是否需要启动:如果不安装打印机,就不需要启动。

cups-lpd

预设端口:无

说明:CUPS Line Printer Daemon ("LPD"),提供打印功能。

是否需要启动:如果不安装打印机,就不需要启动。

daytime

daytime-udp

预设端口:TCP 13

说明:Daytime协议(RFC867)是一个简单的协议,为客户机实现从远程服务器获取日期和时间的功能。

是否需要启动:不用启动。

echo

echo-udp

预设端口:7

说明:服务器回显客户数据服务。

是否需要启动:不用启动。

gpm

配置文件:/etc/sysconfig/mouse

预设端口:无

说明:General Purpose Mouse Daemon ,gpm为文本模式下的Linux程序如mc(Midnight Commander)提供了鼠标的支持。它也支持控制台下鼠标 的拷贝,粘贴操作以及弹出式菜单。

是否需要启动:没必要的话,建议不要启动。

iptables

说明:防火墙。

是否需要启动:必须启动。

irda

Infrared Data Association,是一个实现红外无线数据传输的工业标准。

irqbalance

对多个系统处理器环境下的系统中断请求进行负载平衡的守护程序。

是否需要启动:如果你只安装了一个CPU,就不需要加载这个守护程序。

isdn

Integrated Services Digital Network,综合数字服务网络。提供对isdn设备的支持。

kudzu

配置文件:

/etc/sysconfig/hwconf

/etc/sysconfig/kudzu

说明:硬件自动检测程序,会自动检测硬件是否发生变动,并相应进行硬件的添加、删除工作。当系统启动时,kudzu会对当前的硬件进行检测,并且和存储在 /etc/sysconfig/hwconf中的硬件信息进行一一对照,如果某个硬件从系统中被添加或者删除时,那么kudzu就会察觉到,并且通知用户是否进行相关配置,然后修改/etc/sysconfig/hwconf,使硬件资料与系统保持同步。如果/etc/sysconfig/hwconf这个文件不存在,那么kudzu将会从/etc/modprobe.conf,/etc/sysconfig/network-scripts/和 /etc/X11/XF86Config中探测已经存在的硬件。

是否需要启动:如果启动kudzu,则每次启动系统,都会检查新硬件(checking new hardware),会延长系统启动的时间。如果你不打算增加新硬件,那么就可以关闭这个启动服务,以加快系统启动时间。

mdmonitor

与RAID设备相关的守护程序。

mdmpd

与RAID设备相关的守护程序。

messagebus

D-BUS是一个库,为两个或两个以上的应用程序提供一对一的通讯。

dbus-daemon-1是一个应用程序,它使用这个库来实现messagebus守护程序。多个应用程序通过连接messagebus守护程序可以实现与其他程序交换信息。

更多细节:

http://www.freedesktop.org/software/dbus/doc/dbus-daemon-1.1.html

microcode_ctl

可以编码以及发送新的微代码到kernel以更新Intel IA32系列处理器(Pentium Pro,PII,PIII,Pentium 4,Celeron, Xeon 等等 – 全部 P6 以及更高,不包括 pentium classics)。
Ubuntu中文论坛 ? 查看主题 ubuntu16.04安装主题

更多细节:

http://www.urbanmyth.org/microcode/

http://microcodes.sourceforge.net/

netdump

News Backup Dump Server,远程备份服务器。

netfs

Network Filesystem Mounter,安装和卸载NFS、SAMBA和NCP网络文件系统。

netplugd

配置文件:

/etc/netplug/netplugd.conf

/etc/netplug.d/netplug

说明:network cable hotplug management daemon,netplugd是一个守护程序,可以监控一个或多个网络接口的状态,当某些事件触发时运行一个外部脚本程序。

更多细节:http://people.debian.org/~enrico/netplugd.html

network

在系统启动时激活所有的网络接口。

nfs

网络文件系统。

nfslock

NFS是一个流行的通过TCP/IP网络共享文件的协议,此服务提供了NFS文件锁定功能。

ntpd

配置文件:/etc/ntp.conf

说明:Network time Protocol daemon,网络时间校正协议。简单的说,NTP是用来使系统和一个精确的时间源保持时间同步的协议。

推荐大家看一篇文章:《NTP-让网络里的电脑时间精确到毫秒》

发表在2004年12月份的《在线技术》杂志第63页

pcmcia

Pcmcia卡,支持笔记本电脑的PCMCIA 设备,如调制解调器, 网络适配器, SCSI卡等等。

portmap

Portmap守护程序为RPC服务,如NIS和NFS提供动态端口的分配。

psacct

包括几个工具用来监控进程活动的工具,包括ac,lastcomm, accton 和sa。

random

说明:快速的将系统的状态在随机的时间内存到景象档案中,对于系统相当重要。因为在开机之后,系统会迅速的恢复到开机之前的状态。

是否需要启动:必须启动。

rawdevices

在使用集群文件系统时用于加载raw设备的守护程序。

readahead

readahead_early

配置文件:/etc/readahead.early.files /etc/readahead.files

说明:readahead和readahead_early是在Fedora core 2中最新推出的两个后台运行的守护程序。其作用是在启动系统期间,将启动系统所要用到的文件首先读取到内存中,然后在内存中进行执行,以加快系统的启动速度。而上面两个配置文件就保存着将要读取到内存的文件列表。

rhnsd

Red Hat 网络服务。通知你有关官方的安全信息以及为你的系统打补丁。

rpcgssd

rpcidmapd

rpcsrcgssd

说明:gestion NFS v4,是Linux 2.6内核新添的功能。

是否需要启动:不需要启动。

rsync

remote sync,远程数据备份工具。

saslauthd

使用SASL的认证守护程序。

sendmail

邮件服务器。

services

一个内部xinetd服务,用于监听活动的服务。

sgi-fam

实现实时数据镜像。监控文件的变更,提供一个应用程序API接口用来当指定的文件火目录改变时及时通知。

smartd

Self Monitor Analysis and Reporting Technology System,监控你的硬盘是否出现故障。

sshd

配置文件:

OpenSSH服务器配置文件:/etc/ssh/sshd_config

OpenSSH客户端配置文件:/etc/ssh/ssh_config

预设端口:22

说明:Secure Shell Protocol,实现安全地远程登陆管理主机。

是否需要启动:如果想实现远程管理,就需要启动。

syslog

配置文件:/etc/syslog.conf

说明:记录所有的系统行为。

是否需要启动:必须启动。

time

从远程主机获取时间和日期,采用TCP协议。

time-udp

从远程主机获取时间和日期,采用UDP协议。

vncserver

VNC (Virtual Network Computing,虚拟网络计算),它提供了一种在本地系统上显示远程计算机整个“桌面”的轻量型协议。

更多细节:http://www.realvnc.com/

xfs

预设端口:TCP 7100

说明:x font server,X Window字型服务器,为本地和远程X服务器提供字型集。

是否需要启动:如果使用run-level为5的图形界面,那么就需要启动。

xinetd

配置文件:/etc/xinetd.conf

说明:xinetd作为inetd的后续版本,负责管理系统中不频繁使用的服务,这些服务程序在有请求时才由xinetd服务负责启动运行,一旦完成服务请求服务程序结束运行,这样可以有效地减少对系统资源的占用率。通常,xinetd管理的程序有telnet、ftp、rsh和rlogin。关闭inetd也就关闭了这些由它管理的服务。

更多细节:http://www.xinetd.org/

是否需要启动:必须启动。

yum

配置文件:/etc/yum.conf

说明:Yellow Dog UpdaterModified,是一个自动更新、安装和删除RPM软件包的管理程序,它会自动计算软件包的管理程序,并判断哪些软件应该安装,哪些软件则不必安装。

更多细节: http://linux.duke.edu/projects/yum/

是否需要启动:以系统管理策略而决定是否启动。

一口气写了这么多服务,想必大家也看累了吧。大家再检查一下,还没完。众所周知,为了系统的安全起见,我们不可能把所有的服务都启动了。越简单就越安全,一个系统安装完毕后,我们只需要启动一些必备的服务以保证系统能够正常使用就行了,其余用不到的服务可以暂时关闭。下面是我列出的需要启动的服务。另,本人水平有限,仅供参考。

acpid:提供高级电源管理。

cpuspeed:可以提高系统运行效率。

crond:执行例行性程序。

Iptables: 防火墙。

Kudzu:自动检测硬件的变更。

Network: 激活网络接口。

Random:加快系统的启动。

Readahead和Readahead_early:加快系统的启动。

Syslog:把各类事件写入日志。

另外,还有一些服务笔者还是不太明白,希望大家能帮我解答。这些服务有:mdmonitor、mdmpd、messagebus、netplugd、 random、rpcgssd、rpcidmapd、rpcsrcgssd、sgi-fam、smartd。如有新的体会,我会继续修改这篇文章的。

参考文献

[1] 《Linux Daemons and Services》 http://www.sorgonet.com/linux/linuxdaemons/

[2] 《鸟哥的Linux私房菜》 http://www.vbird.org/

[3] 《Red Hat Linux 9 系统管理

_________________

独自看一看大海

总想起身边走在路上的朋友

Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]

最后由 yongyi 编辑于 2005-09-11 19:29,总共编辑了 1 次

页首



2楼 yongyi 文章标题 :

发表于 : 2005-08-09 22:01

注册: 2005-05-07 23:57

帖子: 3025

送出感谢: 0 次

接收感谢: 0 次 再转一帖,相信到此为止可以满足想知道ubuntu服务的兄弟了。

  

爱华网本文地址 » http://www.aihuau.com/a/25101012/111954.html

更多阅读

恭祝凉风真世中文论坛开张大吉! 开张大吉 门庭若市

真没想到有一天这世上会出现凉风的中文论坛。虽然华语圈的冢饭很多,可热爱自己的偶像到了给她办一个论坛的程度的人好像还不多。我如坑时间不长,知道的专门为某个宝冢出身的明星所办的中文论坛不超过一个巴掌的数。凉风是活跃于上

历史是前进的北大中文论坛的讨论 前进论坛杂志社

在北大中文论坛上,沈炯先生曾认为汉语拼音化运动是一场闹剧,后来他又转载了《当代中国的文字改革》(当代中国出版社1995年北京)的一篇讲述中国拼音化运动的文章,最后他得出结论说:“ 不是我个人“苦口婆心”!上世纪80年代以来的社会潮流发

ubuntu 12.04 安装 gcc-4.7部分转载 ubuntu 16.04 安装gcc

可以参看原文链接,非常详细,可以帮助安装gcc-4.7这个教程最主要的问题就是没有按照默认路径安装软件,都安装到gcc_4_7文件夹,导致编译gcc时有点问题,以及使用gcc时会有点问题一、编译gcc时的问题这个时候建议仔细查看config.log文件1、一

声明:《Ubuntu中文论坛 ? 查看主题 ubuntu16.04安装主题》为网友行吟寄梦分享!如侵犯到您的合法权益请联系我们删除