Hello friends, here again.
It’s a minimal post to share this option to start, stop and restart the oracle databases as linux services.
If you remember on my last article oracle installation, we used the file oracledb_ORCLCDB-19c to configure and install the databases and containers, we will use the same script as operating system service.
We must run this script as root user ever, because will appear error as the follow:
You must be root user to run the configurations script. Login as root user and try again.
Simple and easy, as it should always be.
For years I wanted to witness this moment, install oracle database in a single, simple and fast method.
With the current CI-CD paradigm, continuous deployments, continuous delivery and continuous integration, Oracle really had to provide such a solution.
Through this methodology, which involves performing the installation and configuration of the database, in a simple and agile way, it can be part of a Jenkins process or TeamCity job.
We are going to review the steps that we are going to execute:
- Configuration of the Operating System and Download Packages.
- Installation of the database Software.
- Install a Database, Oracle 19, Container and a PDB.
- Install Listener and OS Services.
Obtain the RPM file and configure the Operating System
On my case , I use Oracle Linux.
Oracle Linux Server release 7.2
I’m login as root , execute the yum commands.