After the linux virtual machine restarts, start the oracle instance

1) Use oracle user

su -l oracle

2) Start monitoring

lsnrctl start

3) Start the instance 

# export ORACLE_SID=‘实例名’
export ORACLE_SID=orcl

# 输入下面命令,进入数据库中
sqlplus / as sysdba
# sql输入栏,输入‘startup’
startup

 

* If you want to close the instance, just enter shutdown immediate in the sql input field

Guess you like

Origin blog.csdn.net/qq_26896085/article/details/105337785