Showing posts with label 19C. Show all posts
Showing posts with label 19C. Show all posts

Thursday, 9 November 2023

How to Install Oracle database 19C on OEL 9.2 - Part 2

 Dear All,


In this post i am going to show you how to Install Oracle 19C on OEL 9.2 , 

If you want to watch this on Video , check on my channel ..

part  1 : YouTube 

https://www.youtube.com/watch?v=plV5YsRuOVE

Part 2 : 

https://www.youtube.com/watch?v=F-o2ih25qOI&t=87s


Install Oracle 19C database on OEL 9  .. Part 2


Database pre-requisite RPM


we can use yum or dnf tool to install the pre-requisite rpms  from OEL 8 onwards .

yum install -y oracle-database-preinstall-19c

or 

dnf install -y oracle-database-preinstall-19c



as part of this rpm we will get the oracle user with groups , earlier we need to create the oracle user and groups but now no need to create user and groups here* , but if you want to use custom user then you need to create user.



reset the oracle user password using :


passwd oracle 


also we no need to update some of OS kernel and other parameter that also as part of this preinstall rpm will take care .


update the below value to disable ..

vi /etc/selinux/config


stop and disable firewall 


Create the database home and other required directories as per below snap.






Unzip 19C s/w 

Update bash profile login as oracle user 



Upgrade opatch utility before 19C install .



Start Database installation with Latest RU .


for this error fixup :

export CV_ASSUME_DISTID=OEL7.9

Remote the inventory and then apply RU while install


 this will apply the latest RU and then install the database , if you missed to apply the latest or above 19.19 RU you will get below errors .

 

libasmclntsh19.ohso



we have applied the latest RU so we will not get any errors now , it worked for me for you guys also it should work but it depends on how you proceed *.. 








root.sh scripts needs to run from root user 



using dbca to create database : 




select general purpose .. 


select how many pdbs you need or if you want only cdb you select only cdb .. 





enable fra and archive if you want now .. else skip now later you can enable ..




Network setup .. we can do now else after db configuration we can setup network using NECA command '




remain all are default values .. db vault , EM console and other things .









set the admin passwords .. 





check the details and click on Finish ..




db configuration started .. 



Monitor the logs .. 




db configuration completed click on finish ..





Installation and db configuration completed .. 





here is the part 1 for OEL 9.2 step by step install guide .


https://anjaniappsdba.blogspot.com/2023/11/how-to-install-oracle-database-19c-on.html

Thanks,

Srini

How to Install Oracle database 19C on OEL 9.2 - Part 1

 Dear All,


In this post i am going to show you how to install oracle database 19C , 19.21.0.0 on OEL 9.2.


Note: Recently Oracle announced that OEL9 is certified with Oracle database 19C from 19.19.0.0 onwards .


I have divided this on 2 parts .. 

Install OEL 9 on Oracle VM VirtualBox ..  Part 1

 

Install Oracle 19C database on OEL 9  .. Part 2

 

Note : Update from Oracle: “Oracle Database product management has confirmed that when Oracle Database 23c ships, it will be certified for both OL8 and OL9. Also, Oracle Database 19c certified on OL9


Download the software from edelivery.oracle.com  https://edelivery.oracle.com/





after login , search for oracle Linux 9 , select that software that will add to your cart then you can click on continue 





download the OEL 9.2 software 




after that download the oracle 19C database s/w as well.



 

 start Installation of Linux 9.2 on Oracle vm VirtualBox .. 


Prepare the VM :



Select the language 




Continue to the next after yellow marked  one's fixed ..



select the installation source ..




create mounts manually as per below snap, if you want to create mount points automatically also that's possible .




Next update the server with GUI




update you hostname and click on done.


set the root password .



Now Begin Installation menu will enable then click on that to install the Linux9.2




Installation in-Progress .



Installation completed , click on Reboot 



In the first login you will see below windows you can skip or click on next 





Skip



Test user credentials .. 







Installation completed now we need to install Guest additions and post Linux Install steps as given below .. 


open terminal and  click on Device then click on Insert Guest Additions CD Image ...


Click on Run .. 


its done ..


update the /etc/hosts 



we can update the yum or dnf package .. that will update latest rpms which are required .


This concludes the OEL 9.2 Installation on Oracle VM VirtualBox .. In the next part 2 i am going to show you how to install the oracle 19C database with latest RU 19.21.


Thanks,

Srini