oracle 11g开机自启动
vi /etc/oratab
PROD:/u01/app/oracle/product/11.2.0/dbhome_1:Y
vi /etc/rc.d/rc.local
su - oracle -lc "/u01/app/oracle/product/11.2.0/db_1/bin/dbstart"
su - oracle -lc "/u01/app/oracle/product/11.2.0/db_1/bin/lsnrctl status listener"
su - oracle -lc "/u01/app/oracle/product/11.2.0/db_1/bin/lsnrctl start kqsys"
su - oracle -lc "/u01/app/oracle/product/11.2.0/db_1/bin/emctl start dbconsole"