Database Reference
In-Depth Information
In case of a database-only installation you would be prompted for the execution of the orainstRoot.sh script in
addition to the root.sh script. The root script is “silent”, as it creates a log file only:
[root@server1 ~]# /u01/app/oracle/product/12.1.0.1/dbhome_1/root.sh
Check /u01/app/oracle/product/12.1.0.1/dbhome_1/install/root_server1.example.com_2013-09-
09_12-44-10.log for the output of root script
The database installation is complete with the execution of the root script.
Automatic Installation of the Database Software RPM
Creating an RPM for the database is easier than for Grid Infrastructure. The concept will remain the same though:
the installer is given the response file to perform a silent installation, and a loop will poll for the completion of
the software transfer. Then it is just a matter of executing the root.sh script at the end. If you haven't created the
environment to build the RPM yet, refer back to the “Automatic Installation of Oracle Restart” section above. The
SPEC file is shown here, it expects the db.rsp and oraInst.loc files to be present in the BUILD directory.
Name: Database
Version: 12.1.0.1
Release: 0%{?dist}
Summary: installation of the Oracle Database for Enterprise Linux 6.x
Group: Applications/Databases
License: Commercial
URL: http://engineering.example.com/builds/
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Requires: oracle-rdbms-server-12cR1-preinstall
%description
This RPM checks for the required RPMs for the Oracle database
on Oracle Linux 6.x and adds them as dependencies if necessary.
If necessary, an /etc/oraInst.loc file will be deployed, that is unless a
previous Oracle installation has done so already. The central inventory is
defined as /u01/app/oraInventory as per the standard document
This RPM is not suitable for a RAC installation. An Enterprise Edition database
home will be created.
After deploying the files the Oracle Universal Installer is going to be
invoked with the silent response file from /opt/oracle/db.rsp, and needed
configuration files are executed.
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/etc
mkdir -p $RPM_BUILD_ROOT/opt/oracle
cp oraInst.loc $RPM_BUILD_ROOT/etc/
cp db.rsp $RPM_BUILD_ROOT/opt/oracle
 
Search WWH ::




Custom Search