Monday, 1 December 2014

How to install Oracle 10g/11g silent mode

1) update the database/response/enterprise.rsp
contents to update are
ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
ORACLE_HOME_NAME=oraclehome1

2) Create at OS level directories /u01/app/oracle/product/10.2.0/db_1

3)  custom.rsp     # Custom and Advance installation
dbca.rsp
emca.rsp
enterprise.rsp    # Enterprise Edition
netca.rsp
standard.rsp    # standard Ediation

cd /home/oracle/software/database
./runInstaller -silent -responsefile /home/oracle/software/database/response/enterprise.rsp     

Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-5, redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
 Passed

All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-02-05_11-30-08AM. Please wait ...
]0;oracle@db2:~/software/database

[oracle@db2 database]$ Oracle Universal Installer, Version 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.
You can find a log of this install session at:
 /home/oracle/oraInventory/logs/installActions2013-02-05_11-30-08AM.log
.................................................................................................... 100% Done.

Loading Product Information
..................................................................................................................... 100% Done.

Analyzing dependencies
.........................................................
Starting execution of Prerequisites...
Total No of checks: 11
Performing check for CertifiedVersions
Checking operating system requirements ...
Expected result: One of redhat-3,redhat-4,SuSE-9
Actual Result: redhat-Red Hat Enterprise Linux Server release 5.7 (Tikanga)
Check complete. The overall result of this check is: Failed <<<<

Check complete: Failed <<<<
Problem: Oracle Database 10g is not certified on the current operating system.
Recommendation: Make sure you are installing the software on the correct platform.
=======================================================================
Performing check for Packages
Checking operating system package requirements ...
Check complete. The overall result of this check is: Not executed <<<<

Check complete: Not executed <<<<
OUI-18001: The operating system 'Linux Version redhat-Red Hat Enterprise Linux Server release 5.7 (Tikanga)' is not supported.
Recommendation: Install the required packages before continuing with the installation.
=======================================================================
Performing check for Kernel
Checking kernel parameters
Check complete. The overall result of this check is: Not executed <<<<

Check complete: Not executed <<<<
OUI-18001: The operating system 'Linux Version redhat-Red Hat Enterprise Linux Server release 5.7 (Tikanga)' is not supported.
Recommendation: Perform operating system specific instructions to update the kernel parameters.
=======================================================================
Performing check for GLIBC
Checking Recommended glibc version
Check complete. The overall result of this check is: Not executed <<<<

Check complete: Not executed <<<<
OUI-18001: The operating system 'Linux Version redhat-Red Hat Enterprise Linux Server release 5.7 (Tikanga)' is not supported.
Recommendation: You may actually have installed packages which have obsoleted these,
in which case you can successfully continue with the install. If you have not,
it is recommended that you do not continue. Refer to the readme to find out how to get the missing packages.
=======================================================================
Performing check for TotalMemory
Checking physical memory requirements ...
Expected result: 922MB
Actual Result: 48100MB
Check complete. The overall result of this check is: Passed

Check complete: Passed
=======================================================================
Performing check for SwapSpace
Checking available swap space requirements ...
Expected result: 36075MB
Actual Result: 16383MB
Check complete. The overall result of this check is: Failed <<<<

Check complete: Failed <<<<
Problem: The system does not have the required swap space.
Recommendation: Make more swap space available to perform the install.
=======================================================================
Performing check for DetectIfDHCPAssignedIP
Checking Network Configuration requirements ...
Actual Result: Unknown Host Exception has Occurred :db2.wwhs.welcareworld.com: db2.wwhs.welcareworld.com.
Check complete. The overall result of this check is: Not executed <<<<

Check complete: Not executed <<<<
Recommendation: Oracle supports installations on systems with DHCP-assigned public IP addresses. However, the primary network interface on the system should be
configured with a static IP address in order for the Oracle Software to function properly.
See the Installation Guide for more details on installing the software on systems configured with DHCP.
=======================================================================
Performing check for OracleBase
Validating ORACLE_BASE location (if set) ...
Check complete. The overall result of this check is: Passed

Check complete: Passed
=======================================================================
Performing check for OracleHomeSpace
Checking Oracle Home path for spaces...
Check complete. The overall result of this check is: Passed

Check complete: Passed
=======================================================================
Performing check for DetectAnyInvalidASMHome
Checking for proper system clean-up....
Check complete. The overall result of this check is: Passed

Check complete: Passed
=======================================================================
Performing check for CompatibilityChecks
Checking for Oracle Home incompatibilities ....
Actual Result: NEW_HOME
Check complete. The overall result of this check is: Passed

Check complete: Passed
=======================================================================
PrereqChecks complete
........................................... 100% Done.

-----------------------------------------------------------------------------
Summary
Global Settings
 Source: /home/oracle/software/database/stage/products.xml
 Oracle Home: /u01/app/oracle/product/10.2.0/db_1 (oraclehome1)
 Installation Type: Enterprise Edition
Product Languages
 English
Space Requirements
 /home/ Required 213KB : Available 32.77GB
 /tmp/ Required 130MB (only as temporary space) : Available 14.44GB
 /u01/ Required 1.62GB : Available 46.53GB
New Installations (109 products)
 Oracle Database 10g 10.2.0.1.0
 Enterprise Edition Options 10.2.0.1.0
 Oracle Partitioning 10.2.0.1.0
 Oracle Spatial 10.2.0.1.0
 Oracle OLAP 10.2.0.1.0
 Oracle Enterprise Manager Console DB 10.2.0.1.0
 Oracle Net Services 10.2.0.1.0
 Oracle Database 10g 10.2.0.1.0
 Oracle Net Listener 10.2.0.1.0
 HAS Files for DB 10.2.0.1.0
 Oracle Internet Directory Client 10.2.0.1.0
 Oracle Call Interface (OCI) 10.2.0.1.0
 Oracle Programmer 10.2.0.1.0
 Oracle interMedia 10.2.0.1.0
 Enterprise Manager Agent Core 10.2.0.1.0
 Oracle JVM 10.2.0.1.0
 Database Configuration and Upgrade Assistants 10.2.0.1.0
 Oracle interMedia Locator 10.2.0.1.0
 Oracle XML Development Kit 10.2.0.1.0
 Oracle Text 10.2.0.1.0
 Oracle Database Utilities 10.2.0.1.0
 Generic Connectivity Common Files 10.2.0.1.0
 Oracle Advanced Security 10.2.0.1.0
 Enterprise Manager Repository Core 10.2.0.1.0
 PL/SQL 10.2.0.1.0
 Oracle Net 10.2.0.1.0
 Assistant Common Files 10.2.0.1.0
 Oracle Notification Service 10.1.0.3.0
 Enterprise Manager plugin Common Files 10.2.0.1.0 Beta
 Buildtools Common Files 10.2.0.1.0
 Installation Common Files 10.2.0.1.0
 Oracle LDAP administration 10.2.0.1.0
 Oracle Java Client 10.2.0.1.0
 Oracle Recovery Manager 10.2.0.1.0
 SQL*Plus 10.2.0.1.0
 iSQL*Plus 10.2.0.1.0
 Enterprise Manager plugin Common Files 10.2.0.1.0
 Oracle Help for the Web 1.1.10.0.0
 HAS Common Files 10.2.0.1.0
 Oracle Clusterware RDBMS Files 10.2.0.1.0
 Oracle Wallet Manager 10.2.0.1.0
 Enterprise Manager Minimal Integration 10.2.0.1.0
 Oracle Database User Interface 2.2.13.0.0
 Precompiler Common Files 10.2.0.1.0
 Secure Socket Layer 10.2.0.1.0
 Oracle ODBC Driver 10.2.0.1.0
 Database SQL Scripts 10.2.0.1.0
 OLAP SQL Scripts 10.2.0.1.0
 PL/SQL Embedded Gateway 10.2.0.1.0
 Required Support Files 10.2.0.1.0
 Character Set Migration Utility 10.2.0.1.0
 LDAP Required Support Files 10.2.0.1.0
 Oracle JDBC Thin Driver for JDK 1.4 10.2.0.1.0
 Oracle JDBC Thin Driver for JDK 1.2 10.2.0.1.0
 Oracle interMedia Client Option 10.2.0.1.0
 Oracle Required Support Files 32 bit 10.2.0.0.0
 Oracle Code Editor 1.2.1.0.0I
 Oracle Globalization Support 10.2.0.1.0
 JDBC Common Files 10.2.0.1.0
 Oracle Locale Builder 10.2.0.1.0
 Oracle Containers for Java 10.2.0.1.0
 Database Workspace Manager 10.2.0.1.0
 Oracle Core Required Support Files 10.2.0.1.0
 Platform Required Support Files 10.2.0.1.0
 Oracle interMedia Locator RDBMS Files 10.2.0.1.0
 Oracle JDBC/OCI Instant Client 10.2.0.1.0
 Oracle interMedia Annotator 10.2.0.1.0
 SQLJ Runtime 10.2.0.1.0
 Oracle interMedia Java Advanced Imaging 10.2.0.1.0
 Oracle Database 10g interMedia Files 10.2.0.1.0
 Oracle Data Mining RDBMS Files 10.2.0.1.0
 Enterprise Manager Baseline 10.2.0.1.0
 Oracle Help For Java 4.2.6.1.0
 Oracle UIX 2.1.22.0.0
 XML Parser for Java 10.2.0.1.0
 Precompiler Required Support Files 10.2.0.1.0
 XML Parser for Oracle JVM 10.2.0.1.0
 Oracle Database 10G 32 bit 10.2.0.1.0
 Oracle Message Gateway Common Files 10.2.0.1.0
 Oracle Starter Database 10.2.0.1.0
 Sample Schema Data 10.2.0.1.0
 Parser Generator Required Support Files 10.2.0.1.0
 Agent Required Support Files 10.2.0.1.0
 Oracle RAC Required Support Files-HAS 10.2.0.1.0
 RDBMS Required Support Files 10.2.0.1.0
 RDBMS Required Support Files for Instant Client 10.2.0.1.0
 XDK Required Support Files 10.2.0.1.0
 Oracle OLAP API 10.2.0.1.0
 Oracle OLAP RDBMS Files 10.2.0.1.0
 DBJAVA Required Support Files 10.2.0.1.0
 SQL*Plus Required Support Files 10.2.0.1.0
 Oracle JFC Extended Windowing Toolkit 4.2.33.0.0
 Oracle Ice Browser 5.2.3.6.0
 regexp 2.1.9.0.0
 Oracle Extended Windowing Toolkit 3.4.38.0.0
 Enterprise Manager Common Files 10.2.0.1.0
 Enterprise Manager Agent DB 10.2.0.1.0
 Oracle Net Required Support Files 10.2.0.1.0
 Enterprise Manager Repository DB 10.2.0.1.0
 Oracle Display Fonts 9.0.2.0.0
 SSL Required Support Files for InstantClient 10.2.0.1.0
 Bali Share 1.1.18.0.0
 Perl Interpreter 5.8.3.0.2
 Oracle Universal Installer 10.2.0.1.0
 Oracle One-Off Patch Installer 10.2.0.1.0
 Installer SDK Component 10.2.0.1.0
 Java Runtime Environment 1.4.2.0.8
 Java 2 SDK 1.4.2.0.8
 Sun JDK extensions 10.1.2.0.0
-----------------------------------------------------------------------------

Installation in progress (Tue Feb 05 11:30:31 GST 2013)
............................................................... 14% Done.
............................................................... 28% Done.
............................................................... 42% Done.
............................................................... 56% Done.
............................................................... 70% Done.
................ 74% Done.
Install successful
Linking in progress (Tue Feb 05 11:32:18 GST 2013)
. 74% Done.
Link successful
Setup in progress (Tue Feb 05 11:32:38 GST 2013)
.................. 100% Done.
Setup successful
End of install phases.(Tue Feb 05 11:32:41 GST 2013)
WARNING:A new inventory has been created in this session. However, it has not yet been registered as the central inventory of this system.
To register the new inventory please run the script '/home/oracle/oraInventory/orainstRoot.sh' with root privileges.
If you do not register the inventory, you may not be able to update or patch the products you installed.
The following configuration scripts
/u01/app/oracle/product/10.2.0/db_1/root.sh
need to be executed as root for configuring the system. If you skip the execution of the configuration tools,
 the configuration will not be complete and the product wont function properly. In order to get the product to function properly,
 you will be required to execute the scripts and the configuration tools after exiting the OUI.
The installation of Oracle Database 10g was successful.
Please check '/home/oracle/oraInventory/logs/silentInstall2013-02-05_11-30-08AM.log' for more details.

[oracle@db2 ~]$ su
Password:

[root@db2 oracle]# cd /home/oracle/oraInventory/
[root@db2 oraInventory]# ./orainstRoot.sh
Changing permissions of /home/oracle/oraInventory to 770.
Changing groupname of /home/oracle/oraInventory to oinstall.
The execution of the script is complete

[root@db2 oraInventory]#
[root@db2 oraInventory]# cd /u01/app/oracle/product/10.2.0/db_1/
[root@db2 db_1]# ./root.sh
Running Oracle10 root.sh script...
The following environment variables are set as:
 ORACLE_OWNER= oracle
 ORACLE_HOME= /u01/app/oracle/product/10.2.0/db_1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
 Copying dbhome to /usr/local/bin ...
 Copying oraenv to /usr/local/bin ...
 Copying coraenv to /usr/local/bin ...

Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.

[root@db2 db_1]#

Note: If you need more info see oracle doc type on > google > "silent mode oracle installation".

No comments: