Silent Oracle 11g R2 install using only the command line | Beyond Oracle
1. Add Oracle public yum repository.
[root@localhost ~]$ cd /etc/yum.repos.d [root@localhost ~]$ wget http://public-yum.oracle.com/public-yum-el5.repo
# edit the file public-yum-el5.repo and enable both the [el5_u5_base] and the [ol5_u5_base] repositories in the yum configuration file by changing enable=0 to enable=1 in those sections
2. Install Oracle validated packages
[root@localhost ~]$ yum install oracle-validated
3. Download and Install Oracle software on command line
[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