Oracle设置开机启动

来源:互联网 发布:淘宝1元包邮专区 编辑:程序博客网 时间:2024/04/29 20:52
[root@oradata ~]# vi /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/localsu - oracle -c 'lsnrctl start'su - oracle -c 'dbstart'

原创粉丝点击