Enable auto-start on boot:

sqlplus system@localhost:1521/XE Enter the password you set during configuration.

export ORACLE_HOME=/opt/oracle/product/21c/dbhomeXE export ORACLE_SID=XE export PATH=$PATH:$ORACLE_HOME/bin Apply changes:

install oracle xe 21c on ubuntu