This blog post about Installing Oracle Database 18c applies to all Oracle 18c releases. I wrote a while ago about one very important change:
and explained that the installation is now image based. You’ll find other posts as part of my series on how to install and upgrade to Oracle Database 18c here:
- Deinstalling Oracle Database 184.108.40.206
- Installing Oracle Database 18.1.0
- Patching Oracle 18.1.0 to 18.2.0
- Upgrade Oracle 220.127.116.11 to Oracle Database 18c on-premises
Installing Oracle Database 18c
Oracle Database 18c on-premises is supposed to be generally available with the July 2018 Update. For details please always check the single-source-of-truth MOS Note: 742060.1. Furthermore, please see my previous blog post from March 20, 2018, as well.There you’ll find information on how to access the software.
The documentation explains:
“Simplified Image-based Oracle Database Installation
Starting with Oracle Database 18c, the Oracle Database software is available as an image file for download and installation. You must extract the image software into the directory where you want your Oracle home to be located, and then run the
runInstaller script to start the Oracle Database installation.
For more information, see About Image-Based Oracle Database Installation“
Make sure you follow this advice: You must extract the image software into the directory where you want your Oracle home to be
The OUI does not ask you for a home directory. Hence, copy the zip file into your desired directory and extract it there. Then start the
The Oracle Universal Installer 18c
The screens in OUI 18c look pretty much the same as before.
As I’d like to patch and upgrade afterwards, there’s no need to invoke DBCA at this point.
No RAC environment here. Hence, Single Instance installation is fine.
Enterprise Edition of course 🙂
Now you see the difference to previous OUIs: There’s no Oracle Home input field anymore. It automatically displays the location where you copied and unpacked the software into.
Make sure you set the groups correctly.
I need to ignore the precheck warning as my Vbox environment has only 6GB RAM at the moment. This shouldn’t cause any trouble.
See the summary:
Then we almost made it – only the root.sh needs to be executed.
And finally I will configure the Trace File Analyzer (TFA) as well.
And then we are done.
Extra tasks for the Hands-On Lab
In my particular case adjusting our Hands-On Lab I have to change and correct all the environment command files in
/usr/local/bin with root privileges. We use them to switch environments with for instance
. cdb2 which sets all required variables and such for working with CDB2 in Oracle Database 18c. As these are in the
oracle user can simply call them and switch environments.
In addition I’m copying back all the files I saved before removing the Oracle 18.104.22.168 software.
Final – and important tasks – in the lab: I need to change the Oracle Home reference in the
dbora file in
/etc/init.d and the home for CDB2 in
/etc/oratab. Otherwise neither the automatic startup of the instance nor of the Oracle Listener which I’m running out of the 18c home will work.