如何重启?
<pre class=”EnlighterJSRAW” data-enlighter-language=”generic”>/etc/init.d/oracle-xe-21c restart
/etc/init.d/oracle-xe-21c start
/etc/init.d/oracle-xe-21c stop</pre>
如何查找安装路径?在oracle linux 8中
<pre class=”EnlighterJSRAW” data-enlighter-language=”generic”>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</pre>
允许ex版本远程连接?
<pre class=”EnlighterJSRAW” data-enlighter-language=”generic”>$ sqlplus system
Enter password: SYSTEM_password
SQL> EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);</pre>