如何重启?
/etc/init.d/oracle-xe-21c restart /etc/init.d/oracle-xe-21c start /etc/init.d/oracle-xe-21c stop
如何查找安装路径?在oracle linux 8中
ps -ef|grep lsnr -------------------- 并设置path,使用sqlplus验证 export ORACLE_HOME=/opt/oracle/product/21c/dbhomeXE/ export PATH=$PATH:$ORACLE_HOME/bin export LD_LIBRARY_PATH=$ORACLE_HOME/lib export TNS_ADMIN=$ORACLE_HOME/network/admin
允许ex版本远程连接?
$ sqlplus system Enter password: SYSTEM_password SQL> EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);