1.首先远程连接远程端ip,输入账号+密码
login as :
输入
--root
密码
--root
2.进入远程端,登录Oracle数据库账号+密码
[yzzt@sjqzj ~]$ sudo su - oracle
[sudo] password for yzzt:
#成功登录显示
Last login: Thu Jun 8 09:38:25 CST 2023
3.查看Oracle数据库监听情况
查看Oracle数据库监听
[oracle@sjqzj ~]$ lsnrctl status
启动Oracle数据库监听
[oracle@sjqzj ~]$ lsnrctl start
#成功启动显示
The command completed successfully
4.查看Oracle数据库是否可用
[oracle@sjqzj ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Thu Jun 8 09:39:33 2023
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.