Saturday , September 23 2023

Install Oracle 12c Client On Centos 7

In today’s article, I will explain how to install Oracle 12c Client on Centos 7.

We do the following package installations.

We create the Oracle user.

We check the “/etc/selinux/config” file and check if SELINUX is as follows.

After completing the above process, we reboot the machine and run the following command.

We disable the firewall.

We create the directories where the oracle client will be installed and grant the oracle user the necessary privileges.

We log in as root and enter the following command.

We set the following information into the .bash_profile.

After changing the content of the .bash_profile, we run the following command.

We login to the Oracle user and set the DISPLAY variable.

We go to the $ORACLE_HOME directory and unzip the downloaded Oracle client software. After the unzip process is finished, we run the ./runInstaller command and start the software.

After the installation starts, we will see the following screen. We select the Administrator option and continue.

We choose the language and continue.

Since we defined .bash_profile directories before, directories come by default. We continue unaltered.

The directory will come by default. We continue unaltered.

The summary section contains information about the client. We start the installation by clicking Install.

While the installation is in progress, when the following screen comes up, we copy the command and run it in the root user.

After successfully completing the Oracle Client installation, we click the Close button and close it.

After the installation is finished, we create the tnsnames.ora file. Its content should be as follows.

After completing all the operations, we connect to the database with the following sqlplus command.



About Melek Durdu

Leave a Reply

Your email address will not be published. Required fields are marked *