Linux os下实现 随os启动而启动oracle database以及listener

[oracle@hvrhub hub]$ cat /etc/oratab## This file is used by ORACLE utilities. It is created by root.sh# and updated by either Database Configuration Assistant while creating# a database or ASM Configuration Assistant while creating ASM instance.# A colon, ':', is used as the field terminator. A new line terminates# the entry. Lines beginning with a pound sign, '#', are comments.## Entries are of the form:# $ORACLE_SID:$ORACLE_HOME:<N|Y>:## The first and second fields are the system identifier and home# directory of the database respectively. The third filed indicates# to the dbstart utility that the database should , "Y", or should not,# "N", be brought up at system boot time.## Multiple entries with the same $ORACLE_SID are not allowed.##hub:/u01/app/oracle/product/11.2.0/dbhome_1:Y

[oracle@hvrhub hub]$ cat /etc/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/localsu – oracle -c 'dbstart'su – oracle -c 'lsnrctl start'[oracle@hvrhub hub]$

,无论何时何地,只要创造就有收获,只有不息的奋进,才能证明生命的存在。

Linux os下实现 随os启动而启动oracle database以及listener

相关文章:

你感兴趣的文章:

标签云: