chkconfig --list 查看当前启动任务列表 chkconfig nfs on 开机启动NFS chkconfig iptables off 开机不启动iptables vim /etc/rc.d/rc.local 里面输入开机需要执行的命令