Home / 12c / Oracle Database 12c Release 2 Installation On Fedora 25

Oracle Database 12c Release 2 Installation On Fedora 25

This article describes the installation of Oracle Database 12c Release 2 (12.2) 64-bit on Fedora 25 (F25) 64-bit. The article is based on a server installation with a minimum of 2G swap and secure Linux set to permissive. An example of this type of Linux installation can be seen here.

Download Software

Download the Oracle software from OTN or MOS depending on your support status.

 

Unpack Files

After Installation unzips the file.

You should now have a single directory called “database” containing installation files.

 

Hosts File

The “/etc/hosts” file must contain a fully qualified name for the server.

For example.

Set the correct hostname in the “/etc/hostname” file.

 

Set Kernel Parameters

Add the following lines to the “/etc/sysctl.conf” file, or in a file called “/etc/sysctl.d/98-oracle.conf”.

Run the following command to change the current kernel parameters of the machines.

Add the following lines to a file called “/etc/security/limits.d/oracle-database-server-12cR2-preinstall.conf” file.

Stop and disable the firewall. You can configure it later if you wish.

Set SELinux to permissive by editing the “/etc/selinux/config” file, making sure the SELINUX flag is set as follows.

The server will need a reboot for the change to take effect.

 

Setup

Before we consider the packages required by the Oracle installation, it’s probably worth making sure some basic package groups are installed.

If you have installed the suggested package groups, the majority of the necessary packages will already be installed. The following packages are listed as required, including the 32-bit version of some of the packages. Many of the packages should be installed already. you can check by the following way:

Create the new groups and users.

We are not going to use the extra groups, but include them if you do plan on using them.

Create the directories in which the Oracle software will be installed.

Putting mount points directly under root is typically a bad idea. It’s done here for simplicity, but for a real installation “/” should be reserved for the OS.

If you are using X Emulation, login as root and issue the following command.

Edit the “/etc/redhat-release” file replacing the current release information “Fedora release 25 (Twenty Five)” with the following.

Login as the oracle user and add the following lines at the end of the “/home/oracle/.bash_profile” file.

 

Installation

Log into the oracle user. If you are using X emulation then set the DISPLAY environmental variable.

Start the Oracle Universal Installer (OUI) by issuing the following command in the database directory.

Proceed with the installation of your choice. Ignore any warnings about the system configuration.

The “Database Configuration Assistant Complete” screen displays the Database Express 12c URL, which will be something like “https://fedora.localdomain:5500/em”.

To fix it, run the following command as the "oracle" user, then click the "Retry" button.

During the database creation as part of the installation, or after when using the DBCA, you may get the following error.

To fix it, follow the instructions to rebuild Perl as described towards the end of this post by Laurent Leturgez. You will have to redo the database creation.

 

Post Installation

Edit the “/etc/redhat-release” file restoring the original release information.

Edit the “/etc/oratab” file setting the restart flag for each instance to ‘Y’.

For more information see:

BCS Exam Preparation
BCS Exam Preparation
* মোট প্রশ্ন ১৬৭৭১
* প্রত্যক বিষয় টপিক অনুযায়ী সাজানো
* অংক এবং ইংলিশ এর প্রত্যকটি প্রশ্ন ব্যাখ্যাসহ
* আগের পরীক্ষার প্রশ্ন গুলো সমাধান করা
GET UPDATE INSTANTLY
Increase your knowledge!
Your Information will never be shared with any third party.
BCS Exam Preparation
BCS Exam Preparation
* মোট প্রশ্ন ১৬৭৭১
* প্রত্যক বিষয় টপিক অনুযায়ী সাজানো
* অংক এবং ইংলিশ এর প্রত্যকটি প্রশ্ন ব্যাখ্যাসহ
* আগের পরীক্ষার প্রশ্ন গুলো সমাধান করা