当前位置: > Linux发行版 > SuSE >

SUSE用orarun安装包安装oracle后自动启动数据库

时间:2015-02-01 18:49来源:linux.it.net.cn 作者:IT

1、修改/etc/oratab,将相应实例N改成Y

#

 

# This file is used by ORACLE utilities.  It is created by root.sh
# and updated by the Database Configuration Assistant when creating
# a database.

# 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.
#
#
orcl:/opt/oracle/app/oracle/product/11.1/db:Y

 

2、修改/etc/sysconfig/oracle

START_ORACLE_DB="yes"
START_ORACLE_DB_LISTENER="yes"


 

(责任编辑:IT)
------分隔线----------------------------