Oracle Database 21c : Install2022/02/16
Install Oracle Database 21c.
It's possible to install on comand line interface like here (19c), however, this example shows on GUI installation.
So Insatll Desktop Environment.
|||Download Oracle Databse 21c for Linux and upload to the installation directory on your server.
|||Login to the Desktop as user [oracle] and install 21c.
Run terminal on Desktop and move to the place you downloaded 21c.
total 3036356 -rwxr--r--. 1 oracle oinstall 3109225519 Feb 15 20:58 LINUX.X64_213000_db_home.zip[oracle@dlp ~]$
mv LINUX.X64_213000_db_home.zip database
|||Select Installation Option. On this example, Select [Set Up Software Only].|
|||Select Database type you install. On this example, Select [Single instance database ***].|
|||Select an edition you'd like to install.|
|||Specify the base directory for application files located. On this example, keep default and proceed to next.|
|||Specify the directory for installation metadata files. On this example, keep default and proceed to next.|
|||Specify the privileged group. On this example, keep default and proceed to next.|
|||This is the root script configuration section. Select automatic or manually. If you select automatic, input root password or username and password who has root privilege with sudo. If you do not select automatic, run root script manually later on this installation task.|
|||Pre-requirements are checked. If some settings are not configured for recomendations, notification is displayed like follows. Confirm them again.|
|||The summary is shown for configuration. Click [Install] if that's OK.|
After this task, if you selected manual execution for root script on the  section, it is required. Then, run it like follows manually.
Changing permissions of /u01/app/oraInventory. Adding read,write permissions for group. Removing read,write,execute permissions for world. Changing groupname of /u01/app/oraInventory to oinstall. The execution of the script is complete.[root@dlp ~]#
Performing root user operation. The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /usr/oracle/database Enter the full pathname of the local bin directory: [/usr/local/bin]: # Enter Copying dbhome to /usr/local/bin ... Copying oraenv to /usr/local/bin ... Copying coraenv to /usr/local/bin ... Creating /etc/oratab file... Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root script. Now product-specific root actions will be performed. Do you want to setup Oracle Trace File Analyzer (TFA) now ? yes|[no] : yes Installing Oracle Trace File Analyzer (TFA). Log File: /usr/oracle/database/install/root_dlp.srv.world_2022-02-16_19-13-21-711439865.log Finished installing Oracle Trace File Analyzer (TFA)
|||Installation finished. Click [Close] button.|
|||Set Environment variables for Oracle user.|
# add to the end