C/C++/MySQL/Redis/操作系統(tǒng)/八股文/Leetcode/劍指Offer面試攻略
2023-03-15 11:01 作者:bili_1559000721 | 我要投稿
!/bin/sh
#chkconfig:345 99 10
#description:Oracle 11g R2 AutoRun Servimces
#/etc/rc.d/init.d/oracle
#
#Run-level Startup script for the Oracle Instance, Listener, and
#Web Interface
export ORACLE_BASE=/home/u01/app
export ORACLE_HOME=$ORACLE_BASE/product/12.2.0/db_1
export ORACLE_SID=orcl
export PATH=$PATH:$ORACLE_HOME/bin
ORA_OWNR="oracle"
# if the executables do not exist -- display error
if [ ! -f $ORACLE_HOME/bin/dbstart -o ! -d $ORACLE_HOME ]
then
echo "Oracle startup: cannot start"
exit 1
標(biāo)簽: