1、Linux安装 (略)
2、Oracle数据库监听命令:
监听状态:$lsnrctl status
启动监听:$lsnrctl start
关闭监听:$lsnrctl stop
重载监听:$lsnrctl reload
备注:所有lsnrctl命令:
start stop status
services version reload
save_config trace spawn
change_password quit exit
set* show*
3、Oracle sqlplus登陆:
$sqlplus / as sysdba
4、数据库操作:
4.1 查看实例状态
SQL> select status from v$instance;
4.2 启动实例
SQL> startup
4.3 关闭实例
SQL> shutdown
备注:更详细描述数据库实例启动与关闭的说明:https://www.cnblogs.com/guohu/p/4253418.html