|
|
发表于 2007-8-3 13:22:56
|
显示全部楼层
1.删除不必要的系统服务:
这是我删除的我系统中的服务:
aaeventd esound hplip lirc novell-zmd postfix running-kernel smbfs winbind
atd fam icecream microcode nscd powerd sane-dev snmpd
auditd fbset idmapd nfs ntp saslauthd sshd
bluetooth festival isdn nfsboot openct setserial svcgssd
cups gpm joystick nfsserver pcscd rpasswdd smartd svnserve
cupsrenice gssd ksysguardd nmb portmap rsyncd smb sysstat
有个外国的SUSE社区的一个帖子列出了大部分的服务的作用,其实用LINUX很多人也都几本明白每个是干吗的,我就不解释了。
不知道的自己问GOOGLE,具体地址忘记了。
2.减少几个tty.
用vi打开 /etc/inittab,找到:
# getty-programs for the normal runlevels
# <id>:<runlevels>:<action>:<process>
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
1:2345:respawn:/sbin/mingetty --noclear tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
从3-6全用#号注释掉。 |
|