Modify the etcrc. drc. local parameter file and add the following two lines to the file: [root @ linux9bin] # catetcrc. drc. local #! Binsh # Thisscriptwillbeexecuted * after * alltheotherinitscripts. # Youcanputyourowninitializationstuffinhereifyoudont # w
Modify the etc/rc. d/rc. local parameter file and add the following two lines to the file: [root @ linux9 bin] # cat/etc/rc. d/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 # w
Modify the etc/rc. d/rc. local parameter file and add the following two lines to the file:
[Root @ linux9 bin] # cat/etc/rc. d/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/local
Su-oracle-c/oracle/product/11.2.0/dbhome_1/bin/dbstart
Su-oracle-c/oracle/product/11.2.0/dbhome_1/bin/lsnrctl start
Modify the/etc/oratab parameter file. If the last parameter is N, change it to Y.
Px3309:/oracle/product/11.2.0/dbhome_1: Y
Modify the dbstart file in the bin of the oracle directory and set the following parameter to $ ORACLE_HOME.
ORACLE_HOME_LISTNER = $ ORACLE_HOME