方法1:/etc/init.d/S99自启脚本 注意:自启脚本命名时为S+优先级 方法2:/etc/rc.d/rc.local或/etc/rc.local 方法3:/etc/autorun.sh 方法4:启动system服务(仅限于ubuntu)