This is the new feature of Oracle Database 11g. If you faced prerequisites warning during installation. Please click on “ Yes” to continue with installation.
Set Administrative password and perform full Database installation with basic configuration.
Select “ Typical install” option to install full oracle installation with basic configuration. Select the type of database installation you want to perform. Choose the system class, either Desktop or Server. Create and Configure a Database Create Oracle DatabaseĤ. Provide your email address to be informed of security issues and receive security updates. R unInstaller will call Oracle Universal Installer (OUI), wherein look and feel & steps are the same across all the operating system. Post unzip source file, directory called database will be created, go to inside the directory and execute below script to start Oracle database installation process. ~]$ su oracleĮxtract compressed Oracle database source files to the same directory “ /home/oracle/“. First of all need to switch as ‘oracle’ user to install database.
I’ve given the files names for you reference, please download these files for your system architecture somewhere under “ /home/oracle/“.
The Oracle package contains 2 zip files which you must first accept the license agreement before downloading.
Sign-up and Download the Oracle software using the following link. ]# chmod -R 775 /u01 Step 4: Downloading Oracle Software ]# xhost +Ĭreate the directories and set the appropriate permissions in which the Oracle software will be installed. Switch to root user and issue the following command to allow Oracle user to access X Server. LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib export LD_LIBRARY_PATHĬLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib export CLASSPATH export PATH ORACLE_HOME= $ORACLE_BASE/product/11.2.0/dbhome_1 export ORACLE_HOME ORACLE_BASE= /u01/app/oracle export ORACLE_BASE ORACLE_UNQNAME=DB11G export ORACLE_UNQNAME Make sure you set correct hostname to “ ORACLE_HOSTNAME=“. bash_profile“, which is available on oracle user’s home directory, make an entries as described below. Once you’ve made change, don’t forger to restart the server to reflect new changes. ]# vi /etc/selinux/config SELINUX=permissive Set SELinux to “ permissive” mode by editing the file “ /etc/selinux/config“. ]# vi /etc/security/limits.d/nf # Default limit for number of user's processes to prevent Passwd: all authentication tokens updated successfully.Īdd the entry to file “ /etc/security/limits.d/nf” as described below. ]# passwd oracleīAD PASSWORD: it is based on a dictionary word ]# /etc/init.d/network restart Step 3: Oracle User Settings Now you need to restart networking on the server to make sure that changes will be persistent on reboot. Open “ /etc/hosts” file and add fully qualified hostname for the server. Open the “ /etc/sysconfig/network” file and modify the HOSTNAME to match your FQDN ( Fully Qualified Domain Name) host name. RHEL/CentOs 6.x # wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle RHEL/CentOs 5.x # wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle RHEL/CentOs 4.x # wget -O /usr/share/rhn/RPM-GPG-KEY-oracle Step 2: Setting Hostname GPG key retrieval failed: Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracleĭownload and verify the appropriate Oracle Linux GPG Key that best matches your RHEL/ CentOS compatible OS release.
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle Here, you need to import proper GPG key for your OS release. While importing GPG key, you might get “ GPG key retrieval failed” error as shown below. ]# yum install oracle-rdbms-server-11gR2-preinstall
Now perform the following “ yum” command to install all the necessary prerequisites automatically. Use “ wget” command to Download appropriate yum configuration file under /etc// directory as root user. To setup yum repository, follow the instructions provided below. The Oracle public yum repository provides a free and easiest way to install all the latest Oracle Linux dependencies automatically. We use “ oracle-rdbms-server-11gR2-preinstall” package offered by “ Oracle Public Yum” repository. Installing Oracle Database 11g Release 2 Step 1: Install Oracle Dependencies The installation steps should not be vary on most of the Red Hat based Linux distributions. This post describes step by step installation of Oracle Database 11g Release 2 32bit on CentOS 6.4 32bit. As we all know Oracle database is the most popular and widely used Relational Database Management System (RDBMS) in the world.