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

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"

你可能感兴趣的:(oracle,数据库,File,database,System,SuSE)