1, using the oracle user login:
[root@Oracle-12c /]# su – oracle
2, log oracle administrator account login:
[oracle@Oracle-12c ~]$ sqlplus / as sysdba
3, start SQL> startup
4, return to oracle user
SQL> quit
5, start the listener:
[oracle@Oracle-12c ~]$ lsnrctl start
The listener does not support service
6, re-visit the administrator account sqlplus / as sysdba, then mandatory registration service
7, Exit to return to oracle user to view the listening state lsnrctl status;
Complete restart step
8, see the Oracle port