Search This Blog

Total Pageviews

Saturday, 17 December 2011

Oracle 11g R2 Silent install using only the command line



./runInstaller -silent -ignoreSysPrereqs -ignorePrereq ORACLE_BASE=/aptus/oracle ORACLE_HOME=/aptus/oracle/product/11.2.0/db_1 ORACLE_HOME_NAME=aptdb oracle.install.option=INSTALL_DB_SWONLY oracle.install.db.InstallEdition=EE oracle.install.db.DBA_GROUP=oinstall oracle.install.db.OPER_GROUP=oper DECLINE_SECURITY_UPDATES=true



$ tail -100f /aptus/oracle/oraInventory/logs/installActions2011-12-17_09-05-09AM.log




-bash-4.1$ cat oraInstall2011-12-17_09-05-09AM.out
The installation of Oracle Database 11g was successful.
Please check '/aptus/oracle/oraInventory/logs/silentInstall2011-12-17_09-05-09AM.log' for more details.

As a root user, execute the following script(s):
1. /aptus/oracle/product/11.2.0/db_1/root.sh


Successfully Setup Software.



 

 

 

 


====================================================



SECURITY_UPDATES_VIA_MYORACLESUPPORT=false DECLINE_SECURITY_UPDATES=true oracle.installer.autoupdates.option=SKIP_UPDATES

 




SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
DECLINE_SECURITY_UPDATES=true
oracle.installer.autoupdates.option=SKIP_UPDATES

other exmaple 


[root@localhost ~]$ su - oracle
[oracle@localhost ~]$ cd /software/11gr2/database
[oracle@localhost database]$ ./runInstaller -silent -force \
FROM_LOCATION=/software/11gr2/database/stage/products.xml \
oracle.install.option=INSTALL_DB_SWONLY \
UNIX_GROUP_NAME=oinstall \
INVENTORY_LOCATION=/home/oracle/oraInventory \
ORACLE_HOME=/u01/app/oracle/product/11.2/db_1 \
ORACLE_HOME_NAME="OraDb11g_Home1" \
ORACLE_BASE=/u01/app/oracle \
oracle.install.db.InstallEdition=SE \
oracle.install.db.isCustomInstall=false \
oracle.install.db.DBA_GROUP=dba \
oracle.install.db.OPER_GROUP=dba \
DECLINE_SECURITY_UPDATES=true
[oracle@localhost database]$ exit
# As a root user, execute the following script(s):
[root@localhost ~]$ /home/oracle/oraInventory/orainstRoot.sh
[root@localhost ~]$ /u01/app/oracle/product/11.2/db_1/root.sh

 

No comments:

Oracle DBA

anuj blog Archive