linux 下启动oracle数据库

1: 
用oracle用户登陆

$ sqlplus "/ as sysdba"
SQL> startup
....
database open

SQL> exit

$ lsnrctl start
...... 

2:
设置环境变量oracle_home和oracle_sid
先起infra:
$INFRA_HOME/bin/lsnrctl start
$INFRA_HOME/bin/sqlplus /nolog
conn sys as sysdba
startup
$INFRA_HOME/bin/emctl start iasconsole
$INFRA_HOME/opmn/bin/opmnctl startall

再在起mid-tier
$MID_HOME/bin/emctl start iasconsole
$MID_HOME/opmn/bin/opmnctl startall

数据库正常启动完毕

你可能感兴趣的:(linux 下启动oracle数据库)