蓝的成长记――追逐DBA(4):追忆少年情愁,再探oracle安装(Linux下10g、11g)(三)

2014-11-24 12:37:01 · 作者: · 浏览: 3
配置开机启动实例

# vi /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 "/home/u01/app/oracle/product/11.2.0/db_1/bin/dbstartstart"
su- oracle -c "/home/u01/app/oracle/product/11.2.0/db_1/bin/lsnrctlstart"
~
~
~ 

# vi /etc/oratab --修改开机启动,将值由N设为Y

hyl:/home/u01/app/oracle/product/11.2.0/db_1:Y

补充:

******************************************************************************

WIN下Oracle11g安装

******************************************************************************

Windows下安装Oracle11g

(略)

请参考“深蓝博客”中相关文章,博客地址:http://blog.csdn.net/huangyanlong。

***************************************未完待续***************************************

欢迎访问:深蓝的Blog:http://blog.csdn.net/huangyanlong

*****************************************************************************************