Pages

Wednesday, July 10, 2013

Software only installation of Oracle Database 12c release 1

In this post I'm going to install only the software of the Oracle Database 12c release 1.

Download from Oracle website and extract it into the home directory of the oracle user.
[oracle@localhost ~]$ pwd
/home/oracle
[oracle@localhost ~]$ cd database/
[oracle@localhost database]$ ./runInstaller &
The GUI of the installer is similar to the previous version.

On the first step "Configure Security Update" you have to specify your email to be informed on security issue;
on next step "Software Updates" it asks to download any PSU available;
on next step "Installation Option" it asks what kind of installation you want to perform. I'm going to choose "Install database software only";
on next step "Grid Installation Options" it asks if you want to install a single instance, a RAC or a RAC One Node database installation. I'm selecting "Single instance database installation";
on next step "Product Languages" choose the one you need or leave the English default language like I do;
on next step "Database Edition" I'm going to choose "Enterprise Edition" instead of "Standard Edition" or "Standard Edition One";

Before proceeding on next step execute the following commands:
[root@localhost /]# mkdir -p /app/oracle
[root@localhost /]# chonw oracle.oinstall /app/oracle
[root@localhost /]# chown oracle.oinstall /app/oracle
on next step "Installation Location" I'm going to use "/app/oracle/" as Oracle base and "/app/oracle/product/12.1.0/dbhome_1" as software location;

Before proceeding on next step execute the following commands:
[root@localhost /]# mkdir -p /app/oraInventory
[root@localhost /]# chown oracle.oinstall /app/oraInventory
on next step "Create Inventory" I'm going to use "/app/oraInventory" as Inventory Directory and oinstall as oraInventory Group Name;

on next step "Operating Sytem Groups" I selected dba group;
on the next step "Summary" I first saved the response file and the clicked the Install button.

When asked execute the suggested scripts as root user: /app/oraInventory/orainstRoot.sh and /app/oracle/product/12.1.0/dbhome_1/root.sh
[root@localhost /]# /app/oraInventory/orainstRoot.sh
Changing permissions of /app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /app/oraInventory to oinstall.
The execution of the script is complete.
[root@localhost /]# /app/oracle/product/12.1.0/dbhome_1/root.sh
Performing root user operation for Oracle 12c 

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /app/oracle/product/12.1.0/dbhome_1

Enter the full pathname of the local bin directory: [/usr/local/bin]: 
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...


Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
The installation of Oracle Database was successful.

That's all.