定制CentOS 5.5精简版操作系统(支持 Logic MegaRAID(2)

# Install custom file
cd /tmp/nload-0.7.4
./configure > /dev/null 2>&1
make > /dev/null 2>&1
make install > /dev/null 2>&1
rm -rf /tmp/* > /dev/null 2>&1

# System setting
echo "alias ipv6 off" >> /etc/modprobe.conf
echo "alias net-pf-10 off" >> /etc/modprobe.conf

# Stop some not usually use service

for service in NetworkManager NetworkManagerDispatcher acpid anacron apmd atd auditd autofs bluetooth conman cpuspeed cups dc_client dc_server dhcdbd dund firstboot gpm haldaemon hidd ip6tables irda irqbalance lm_sensors lvm2-monitor mcstrans mdmonitor mdmpd messagebus microcode_ctl netconsole netfs netplugd nfslock nscd ntpd pand pcscd portmap psacct rdisc readahead_early readahead_later restorecond rhnsd rpcgssd rpcidmapd rpcsvcgssd saslauthd smartd snmptrapd wpa_supplicant ypbind
do
   chkconfig --level 35 $service off
done

# Start some ususally use service

for service in ipmi crond
do
   chkconfig --level 35 $service on
done

eject

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/22029.html