Installing Oracle Unified Directory in silent mode
By Sylvain Duloutre-Oracle on Feb 08, 2012
By default, the OUD installer runs in GUI mode. Alternatively, it is possible to install and setup OUD in silent mode.
First, download the OUD bits, then run the installer in silent mode. Last but not least setup/configure OUD in silent mode as well.
To run the installer in silent mode, either run it in GUI mode on your laptop or any system with a GUI and record your answers so that you can replya them on another system in silent mode. Alternatively, you can build a response file manually for OUD.
To record your answers, run the installer with the option -record, e.g
./runInstaller -record -destinationFile /tmp/OUD.rspTo the installer with an existing response file (silent mode)
./runInstaller -silent -responseFile /tmp/OUD.rsp
A response file template is available at the end of this post. You need to change values for ORACLE_HOME and MIDDLEWARE_HOME.
After this install, you can setup oud in cli mode (oud-setup), either interactive or in batch.
oud-setup --cli --no-prompt -D "cn=directory manager" -j $PASS_FILE -p $PORT1 --adminConnectorPort $APORT1 --noPropertiesFile
More info available at http://docs.oracle.com/cd/E22289_01/html/821-1274/ds-cli-setup.html#scrolltoc
--- template file for the OUD installer
#DO NOT CHANGE THIS.
Response File Version=126.96.36.199.0
#Set this to true if you wish to specify a directory where latest updates are downloaded. This option would use the software updates from the specified directory
#If the Software updates are already downloaded and available on your local system, then specify the path to the directory where these patches are available and set SPECIFY_DOWNLOAD_LOCATION to true
#Provide the Oracle Home location. The location has to be the immediate child under the specified Middleware Home location. The Oracle Home directory name may only contain alphanumeric , hyphen (-) , dot (.) and underscore (_) characters, and it must begin with an alphanumeric character. The total length has to be less than or equal to 128 characters. The location has to be an empty directory or a valid SOA Oracle Home.
#Provide existing Middleware Home location.