[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/local
su - oracle -c 'lsnrctl start'
su - oracle -c 'dbstart'
Oracle设置开机启动
最新推荐文章于 2024-07-11 15:59:17 发布