写一个脚本auto_coreseek.sh:#!/bin/sh#chkconfig:2345 80 90#description:auto_coreseek/usr/local/coreseek/bin/searchd放到/etc/init.d/auto_coreseek.sh然后chmod +x /etc/init.d/auto_coreseek.sh然后加到开机启动中:chkconfig --add auto_coreseek.sh