文本模式下编译:#make menuconfig
配置完后(千万要把ext3编入内核,而不是编成模块,其他的功能也一样,开机时就要用的不能编成模块)编译
make
。安装
make modules_install
make install
Reboot就可以选择启动了,选择新的内核起动就可以了
标题:RHEL4u2关闭SELinux
但装好RHEL4u2后发现多了一个令人讨厌的SELinux
上网查了点资料决定关掉它.
# vi /etc/selinux/config
引用
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=enforcing
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
把上面标记的部份替换成下面这行
SELINUX=disabled
然后重启系统
# reboot
阅读(621) | 评论(0) | 转发(0) |