Oracle silent install on Linux.
DB - Oracle 11gR2
OS - Oracle Linux 5.6
Sometimes it is required to install Oracle without the GUI. Oracle
provides silent install capability for this, where installation is totally
controlled by a response file.
Response files can be generated while performing a GUI installation
using OUI by starting the runInstaller
with –record and –destinationFile options as below,
./runInstaller -record -destinationFile <Path_to_Create_Response_File>
This will record whatever the options selected on GUI installation
and store them in response file in given path.
Also you can use sample response file and edit them. I have
attached the response file used for this example. The options on the file are self-explanatory
so you can edit them to match your environment.
Once you have a proper response file silent installation is
straight forward task. Also oracle provides some runInstaller options to manage
the setup as well.
So using the attached response file I have used the below command,
./runInstaller –silent –ignoreSysPrereqs –responsefile /SOFT/db.rsp
Here only addition option I have used is the ignoreSysPrereqs which ignores pre-request failures.
During a silent installation oracle will create 3 log files in
oraInventory/logs directory as shown in below image.
Here .err file list fatal errors which stops the process, .out
shows the warnings and .log is the common log file.
.log will include completion details in step wise until 100%. .out ends with a request run
the permission scripts as root upon successful installation.
Example response file - Download
Example response file - Download
Comments
Post a Comment