Physical Server

Installing Oracle Database

2024-12-17 07:01:35

Database Installation Package

Unzip the database installation package to the /u01/app/grid_home/ directory and refresh the file properties in the oracle_home/ directory.

cd /u01/app/oracle_home/unzip   LINUX.X64_193000_db_home.zipcd ..chown -R oracle:oinstall   oracle_home/    

Silent Installation

The default response file for database installation is located in:

/u01/app/oracle_home/install/response/db_install.rsp. The following shows some configurations:

l  oracle.install.option=INSTALL_DB_SWONLY: Only install the database software.

l  oracle.install.db.InstallEdition=EE: Software version.

l  oracle.install.db.CLUSTER_NODES=rac-node01,rac-node02: Specify the cluster node on which the software is installed.

Prepare the response file, and perform checks before installation (switching to the Oracle user and then to the /u01/app/oracle_home directory).

[oracle@rac-node01   oracle_home]$ ./runInstaller -executePrereqs -silent -responseFile   install/response/db_install.rsp    

Then, install the database software using the response file. The installation may still fail. Check the execution log file and handle failed items. If non-critical failed items still exist, add the -ignorePrereqFailure parameter to ignore dependencies.

l  Directly install the software:

[oracle@rac-node01   oracle_home]$ ./runInstaller -silent -responseFileinstall/response/db_install.rsp    

l  Ignore non-critical failed items:

[oracle@rac-node01   oracle_home]$ ./runInstaller -silent -ignorePrereqFailure -responseFile   install/response/db_install.rsp    

Executing Script After Installation

Upon completion of installation, the execution output will ask you to execute the script as the root account. Execute the script on each node:

[root@rac-node01 ~]#   /u01/app/oracle_home/root.sh    


D3GHqEO_rzea