配置开机启动实例
[root@hyl ~]# vi/etc/rc.d/rc.local
--添加开机启动实例、监听语句
#!/bin/sh
#
#This script will be executed *after* all the other init scripts.
#You can put your own initialization stuff in here if you don't
#want to do the full Sys V style init stuff.
touch/var/lock/subsys/local
su- oracle -c "/home/u01/app/oracle/product/10.2.0/db_1/bin/dbstartstart"
su- oracle -c "/home/u01/app/oracle/product/10.2.0/db_1/bin/lsnrctlstart"
~
~
~
[root@hyl ~]# vi /etc/oratab --修改开机启动,将值由N设为Y
test:/home/u01/app/oracle/product/10.2.0/db_1:Y