ORACLE随Linux开机启动
环境:VM+redhat9+oracle9.2
1.修改/etc/oratab内容
| ORACLE_SID:/u01/app/oracle/product/10.2.0/db_1:N改为如下内容 # add below content #$ORACLE_SID:$ORACLE_HOME:Y demo:/u01/app/oracle/product/9.2.0:Y |
2.修改/etc/rc.local文件加以下内容
| #################################### location :/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/local add below content su - oracle -c "/bin/sh /home/oracle/dbstart.sh" |
3 new file dbstart.sh vi /home/oracle/dbstart.sh的内容
| export ORACLE_BASE=/u01/app/oracle export ORACLE_HOME=/u01/app/oracle/product/9.2.0 export ORACLE_SID=demo start the listener /u02/oracle/ora/bin/lsnrctl start #start the db sqlplus "/as sysdba" <<eof startup exit eof |
问题:
当开闭linux时,oracle也会关闭,对事务有哪些影响
相关图文阅读
频道图文推荐
健 康 咨 询
时 尚 咨 询
相关专题
- Linux集群技术 (9388篇文章)
- 体验Linux的音影世界 (9052篇文章)
- Linux驱动大全 (9885篇文章)
- Linux下的路由的配置与应用 (13027篇文章)
- Linux命令简介 (10990篇文章)
- Linux防火墙 (10770篇文章)
- Linux日志专题 (9521篇文章)
- Oracle 10g基础应用 (4821篇文章)
- Linux服务器的安全性能 (22169篇文章)
- 揭秘Linux内存管理 (9116篇文章)
- Ubuntu 8.04 中开启3D桌面特效与设置方法 (498次浏览)
- 七大操作系统一季度漏洞比拼 (130次浏览)
- 用 Wubi 安装 Ubuntu 8.04 只需五步 (115次浏览)
- 实用技巧 从硬盘安装Fedora-9-i386-DVD (106次浏览)
- Ubuntu 8.04 使用感受及思考 (102次浏览)
- ubuntu8.04桌面边框的美化 (76次浏览)
- Ubuntu 8.04 中的彩蛋(图) (75次浏览)
- 从9个方面来立体式地美化Ubuntu 桌面 (56次浏览)
- U盘及硬盘安装、配置、中文化 Puppy linux 4. (56次浏览)
- Fedora Linux系统Samba服务器架设全攻略 (48次浏览)



