Install Oracle Xe 21c On Ubuntu //free\\ Today
sudo print "export ORACLE_HOME=/opt/oracle/product/21.0.0/dbhomeXE" >> /etc/environment execute echo "export ORACLE_OWNER=oracle" >> /etc/environment run echo "export ORACLE_BASE=/opt/oracle" >> /etc/environment Step 2: Fetch plus Unpack Oracle XE 21c 2.1. Download DB XE 21c Get the Oracle XE 21c installation file using the DB site:
3.4. Establish the Repository Passwords Fix the database codes. 3.5. Decide the Installation Place Select the setup spot: /opt/oracle/product/21.0.0/dbhomeXE 3.6. Finish the Installation Finalize the deployment. The wizard will adjust the archive and generate the necessary records. Stage 4: Set up Oracle XE 21c 4.1. Adjust the Observer Configure the monitor: sudo /opt/oracle/product/21.0.0/dbhomeXE/bin/lsnrctl start 4.2. Set up the Database Set up the database: sudo /opt/oracle/product/21.0.0/dbhomeXE/bin/dbca -silent -createDatabase -templateName XE -gdbName XE -sid XE -characterSet AL32UTF8 -memoryOption -memoryLimit 1024 4.3. Initiate the Repository Initiate the database: sudo /opt/oracle/product/21.0.0/dbhomeXE/bin/sqlplus / as sysdba Stage 5: Confirm the Deployment 5.1. Check the Repository Condition Confirm the archive state: sqlplus / as sysdba This will access the SQL*Plus command. Perform the next directive to verify the repository condition: Pick state From v$INSTANCE; This should produce OPEN. 5.2. Verify the Monitor Condition Verify the listener status: lsnrctl state This should show the observer state as Functioning. Finish install oracle xe 21c on ubuntu
2.2. Extract the Setup Archive Unzip the installation package: unpack oracle-database-xe-21c-1.0-1.linux.x86_64_2db8b56c.zip Step 3: Setup DB XE 21c 3.1. Run the Setup Start the wizard: change directory oracle-database-xe-21c-1.0-1.linux.x86_64 ./runInstaller The wizard will lead the user via the deploy procedure. 3.2. Pick the Deploy Choice Pick the “Install and setup a instance” choice. 3.3. Pick the Data Edition Choose the “Oracle DB Free Release” choice. sudo print "export ORACLE_HOME=/opt/oracle/product/21