一、Linux下启动Oracle
Linux下启动Oracle分为两步:
1)启动监听;
2)启动数据库实例;
1.登录服务器,切换到oracle用户,或者以oracle用户登录
2.打开监听服务
[[email protected] ~]$ lsnrctl start
可以通过lsnrctl status命令查看Oracle监听器运行状况
[[email protected] ~]$ lsnrctl status
3.以SYS用户身份登录Oracle
[[email protected] ~]$ sqlplus /nolog
SQL> startup
ORACLE instance started.
SQL> shutdown
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[[email protected] ~]$ lsnrctl stop
参考: https://www.cnblogs.com/muhehe/p/7944887.html https://www.cnblogs.com/yangpeichang/p/5027945.html