linux下设置oracle开机自启动
生活随笔
收集整理的這篇文章主要介紹了
linux下设置oracle开机自启动
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
?1.vi /etc/rc.local
su - oracle -c "/bin/sh /opt/dbstart.sh" 2. dbstart.sh的內容 export ORACLE_BASE=/opt/oracle export ORACLE_SID=orcl export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1 sqlplus '/as sysdba'<<eof startup; exit eof /opt/oracle/product/10.2.0/db_1/bin/lsnrctl start 3.修改/etc/oratab內容 ORACLE_SID:/u01/app/oracle/product/10.2.0/db_1:N改為如下內容 ORACLE_SID:/u01/app/oracle/product/10.2.0/db_1:Y轉載于:https://blog.51cto.com/lymrg/1143531
總結
以上是生活随笔為你收集整理的linux下设置oracle开机自启动的全部內容,希望文章能夠幫你解決所遇到的問題。