Oracle Database 11.2.0.4 Installation on Linux Using Silent Mode (Non-RAC)
Installing Oracle Database software on a standalone Linux server can be performed using Oracle Universal Installer (OUI) in graphical or silent mode. Silent installation is particularly useful for database administrators who need a repeatable installation process without interacting with the graphical installer.
This guide explains how to install Oracle Database 11g Release 2 (11.2.0.4) on a non-RAC Linux server using a response file. It covers software preparation, Linux users and directories, environment configuration, installation and post-installation scripts.
1. Installation Environment
The original Netsoftmate procedure used the following environment:
| Parameter | Configuration |
|---|---|
| Database version | Oracle 11.2.0.4 |
| Installation type | Single instance (Non-RAC) |
| Operating system | Linux |
| Hostname | lnx-nsm-prod |
| Database environment | NSMDB |
| Installation mode | Silent |
| Oracle Base | /u01/app/oracle |
| Oracle Home | /u01/app/oracle/product/11.2.0.4/db |
| Oracle Inventory | /u01/app/oraInventory |
The hostname and directory paths are examples from the original procedure. Replace them with values appropriate for your server.
2. Download Oracle Database 11.2.0.4 Software
Obtain the Oracle Database 11.2.0.4 patch-set installation files from My Oracle Support or an authorized Oracle software distribution source.
The original installation used three archive files:
p13390677_112040_Linux-x86-64_1of7.zipp13390677_112040_Linux-x86-64_2of7.zipp13390677_112040_Linux-x86-64_3of7.zip
Create a staging directory and place the downloaded archives inside it.
3. Create Oracle Groups and User
Oracle Database installation requires an operating-system account and appropriate groups.
In this example, the installation uses:
- oinstall: Oracle Inventory group.
- dba: Database administration group.
- oracle: Oracle software owner.
Create the groups and user using the commands provided in Code Widget 1.
Use unused group and user IDs appropriate to your Linux environment. If the account or groups already exist, verify their membership instead of creating duplicates.
4. Create Oracle Directories and Set Permissions
The Oracle directory structure separates the base directory, database software, installation inventory and staging files.
| Directory | Purpose |
|---|---|
/u01/app/oracle | Oracle Base |
/u01/app/oracle/product/11.2.0.4/db | Oracle Database Home |
/u01/app/oraInventory | Central Oracle Inventory |
/u01/app/oracle/software/11204 | Installation staging directory |
Create the required directories and assign ownership to the Oracle software owner.
Avoid applying broad permissions recursively to all Oracle directories. Grant only the ownership and access permissions required by the installation.
See Code Widget 1 for the directory preparation commands.
5. Configure the Oracle User Environment
Log in as the Oracle software owner and configure the .bash_profile file.
The environment variables required for this installation include:
- ORACLE_BASE: Oracle base directory.
- ORACLE_HOME: Oracle Database software location.
- PATH: Includes Oracle executable directories.
The original environment also defined Oracle Enterprise Manager Agent paths. These are optional and should only be included if the agent is installed separately.
Add the configuration shown in Code Widget 2 to the Oracle user's profile.
.bash_profile configuration was not provided.
After saving the file, reload the profile and verify the environment variables before proceeding.
6. Extract the Oracle Installation Files
Navigate to the staging directory and extract all three installation archives.
The extracted files should produce a database directory containing the Oracle Universal Installer and its supporting files.
Use Code Widget 3 to extract the archives.
Once extraction is complete, verify that the database directory contains runInstaller and the response-file templates.
7. Configure the Oracle Response File
Oracle Universal Installer supports silent installation through a response file. This file contains installation settings that would otherwise be entered through the graphical installer.
Locate the appropriate database installation response-file template supplied with the installation media. A common template is db_install.rsp.
Configure the required values, including:
- Oracle hostname
- Inventory location
- Oracle Base
- Oracle Home
- Installation edition
- DBA and operating-system groups
- Optional database components, if required and licensed
The original Netsoftmate configuration used Enterprise Edition and listed optional components such as Partitioning, OLAP, Data Mining, Database Vault, Label Security and Real Application Testing.
Save the completed response file at a known location. Code Widget 4 shows the relevant configuration structure.
8. Run Oracle Universal Installer in Silent Mode
After preparing the response file, start Oracle Universal Installer from the extracted installation directory.
Run the installer as the Oracle software owner.
The installer reads the response file and performs the software installation without requiring graphical interaction.
Use the command in Code Widget 5. Review the installation logs and wait for OUI to report completion.
Avoid using -ignoreSysPrereqs or -force as default options to bypass prerequisite checks. If a check fails, investigate the operating-system compatibility, required packages and patch documentation before proceeding.
9. Execute the Root Scripts
After successful software installation, Oracle Universal Installer prompts you to execute scripts with root privileges.
For the directory structure used in this example, the scripts are:
/u01/app/oraInventory/orainstRoot.sh/u01/app/oracle/product/11.2.0.4/db/root.sh
Execute them as the root user, in the order specified by the installer.
These scripts configure the required permissions and system-level components for the Oracle installation.
10. Verify the Oracle Database Software Installation
After the installation and root scripts complete, verify the Oracle Home and software installation.
Check that the expected Oracle executable files exist and that the Oracle user can access the installation directory.
You can also verify the Oracle software version using SQL*Plus if it is available in the installed Oracle Home.
Remember that installing the Oracle binaries does not automatically create the NSMDB database mentioned in the original environment example.
Database creation, listener configuration, initialization parameters and application connectivity must be completed separately.
Conclusion
Oracle Database 11.2.0.4 can be installed on a standalone Linux server using Oracle Universal Installer in silent mode. The process involves preparing the operating-system environment, creating Oracle directories, configuring environment variables, extracting installation files and supplying a response file to OUI.
Executing the required root scripts and verifying the Oracle Home complete the software installation process.
Because Oracle Database 11.2.0.4 is a legacy release, administrators should verify platform certification, required patches and support requirements before deploying it in production.
