红联Linux门户
Linux帮助

CentOS 5 Minimal (最小化) Howto

发布时间:2008-08-13 00:08:52来源:红联作者:HolGes
1.取消无用的服务

chkconfig mcstrans off
chkconfig netfs off
chkconfig ip6tables off
chkconfig haldaemon off
chkconfig messagebus off
chkconfig lvm2-monitor off

haldaemon及messagebus如果有要使用plug & play device,记得要打开。

vi /etc/inittab

# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty 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

不需要那么多个终端。

2.更新系统

yum update

如果有旧的kernel则移除旧的kernel

cd /boot

看套件有没有把旧核心映像档移除,没有的话可手动移除

vi /grub/menu.lst

看grub的设定有没有问题。

搞定!
文章评论

共有 1 条评论

  1. weixq316 于 2008-08-16 13:13:34发表:

    学习了~~~~~谢谢楼主