[root@root~]$ su - oracle
[oracle@localhost~]$ sqlplus
Connected to an idle instance.
enter username: /as sysdba
--启动数据库实例
SQL>startup
--退出sql模式
SQL>exit
[oracle@localhost~]$ lsnrctl
[oracle@localhost~]$ start