Information Technology
How To Install Oracle 12c Database Software - page 3
STEP 11. Installation progress.
STEP 12. Apply the root scripts.
root@s111oem:/oem/app/oraInventory# ./orainstRoot.sh
Changing permissions of /oem/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /oem/app/oraInventory to orainst.
The execution of the script is complete.
root@s111oem:/oem/app/oraInventory#
root@s111oem:/oem/app/oraemdb/product/12.1.0.1/db# ./root.sh
Performing root user operation for Oracle 12c
The following environment variables are set as:
ORACLE_OWNER= oraem
ORACLE_HOME= /oem/app/oraemdb/product/12.1.0.1/db
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /var/opt/oracle/oratab file...
Entries will be added to the /var/opt/oracle/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.
root@s111oem:/oem/app/oraemdb/product/12.1.0.1/db#
STEP 13. Finished.
This concludes the installation.
Here are some basic info which I think you should be aware of:
- The oracle executables are located in the path $ORACLE_HOME/bin
- You can have multiple installations of various versions of Oracle database software; provided that they have to be installed on different $ORACLE_HOME path.
- It is important to always set your ORACLE_HOME environment variable and include the path for the executable into the PATH variable in order to successfully run the software tools or start a database system.
- Oracle maintains an installation inventory repository which tracks the version of the installed software per ORACLE_HOME and their associated patches. This inventory repository is located at $ORACLE_BASE/../oraInventory
- When you run another Oracle software installation or a patch, it always checks where the Oracle installation inventory is located. A file called oraInst.loc that resides in /var/opt/oracle (for Solaris Unix) or in /etc (for Linux and other Unix) contains the information of the Oracle inventory path. If a patch is being installed, it checks the inventory for the current version of the installed and determines if the patch is applicable. For new software installation, it simply adds the new ORACLE_HOME path and the software version to its inventory.
- An Oracle database requires a Net listener (also known as database listener). This will be the portal for which all application connections has to go through in order to talk to a database. To create a listener, use the netca (Network Configuration Assistant) tool. It is advisable to create and configure the listener first before creating a database. Net listener is discussed in my article - Oracle Database Listener Configuration.
- To create a database you may either use a GUI tool dbca (Database Configuration Assistant) or if you wanted for a highly customized database creation, you can always go for scripted commands which requires advanced knowledge of database administration. In most cases, the dbca tool is sufficient enough to create the most common database types - General Purpose or Data Warehouse. Check my other articles pertaining to database creation.