Moreover for a DBA, it is very cumbersome to sit and click buttons for installation. For automating purposes, Oracle Universal Installer (OUI) provides a silent mode of installation.
The runInstaller script which is used for calling the OUI has some switches which can be used to achieve this functionality.
./runInstaller -record -destinationFile
./runInstaller -silent -responseFile
Here is how:
First Step
./runInstaller -record -destinationFile ResponseFile.txt
The record parameter tells the installer to write to the response file and the destinationFile parameter defines the name of the response file. Once the response file is created you can run the installer in silent mode using the following command:
./runInstaller -record -destinationFile ResponseFile.txt
The record parameter tells the installer to write to the response file and the destinationFile parameter defines the name of the response file. Once the response file is created you can run the installer in silent mode using the following command:
Second Step
./runInstaller -silent -responseFile ResponseFile.txt
The silent parameter indicates the OUI to install the product using the parameters found in the file passed throught responseFile parameter.
Once the installer stops for executing root.sh as root user, the installation will be completed.
absolutely grate :-)
ReplyDelete