Installing Oracle 12c On Windows

Installing oracle 12c on windows 8.1
  1. Install Oracle 12c On Windows 7 32 Bit
  2. Install Oracle 12c On Windows 10 Step By Step
  3. Install Oracle 12c On Windows 10
  4. Installing Oracle 12c On Windows

Remove the OracleRemExecService before doing the Oracle Client 12c Release 1 32-bit or 64-bit installation on the same Microsoft Windows x64 (64-bit) server after installing the Oracle Client 64-bit or 32-bit software. – Go to the Windows Administrative Tools - Services – Stop OracleRemExecServiceV2. This is Chapter-1 of Oracle SOA 12c Step By Step Installation Series. In this post, I will show you step by step installation of Oracle SOA 12c on window 7. There are some prerequisites that you need to fulfill before installing Oracle SOA 12c. Your system should fulfill all the requirement.



    This tutorial shows you how to install the Oracle Database 12c software on Microsoft Windows along with a default instance of an Oracle Database that contains example schemas ( including the HR schema).

    Time to Complete

    Approximately 1 hour.


    The Oracle Universal Installer (OUI) is used to install the Oracle Database software. OUI is a graphical user interface utility that enables you to:

    • View the Oracle software that is installed on your machine
    • Install new Oracle Database software
    • Delete Oracle software that is no longer required

    During the installation process, OUI will start the Oracle Database Configuration Assistant (DBCA) which can install a precreated default database that contains example schemas or can guide you through the process of creating and configuring a customized database.
    If you do not create a database during installation, you can invoke DBCA after you have installed the software, to create one or more databases.

    Hardware and Software Requirements

    Before installing the software, OUI performs several automated checks to ensure that your computer fulfills the basic hardware and software requirements for an Oracle Database installation. If your computer does not meet the requirements, an error message is displayed. Some of the requirements to install the software are:

    • Minimum 2 GB of physical memory
    • Sufficient virtual memory (swap)
    • At least 10 GB of free disk space


    Before starting this tutorial, you should:

    • Have access to the Oracle Database 12c distribution media, or have an internet connection so that you can download the software
    • Have general knowledge of product installation

Downloading the Oracle Database Software

    In this section, you will be downloading the files required to install Oracle database on a Windows environment.

Installing the Oracle Database Software

    In this section, you will be installing the Oracle Database and creating an Oracle Home User account.

Verifying the Installation

    In this section, you will be performing steps to verify the installation of Oracle Database. If you had changed the default location to install the database, make sure to specify the correct location of the files in the following steps. Alternatively, you can also perform a quick search using the Windows Start Menu to locate files.

    View Oracle Services

    View Oracle Home on the File System

    View the tnsnames.ora File

Connecting to Oracle Database Using SQL*Plus

    In this section, you will be connecting to the pluggable database using the SQL*Plus utility.


    In this tutorial, you have learned how to:

    • Download the Oracle database software
    • Install the Oracle database software in a Windows environment
    • Create a database containing example schemas
    • Verify the database installation
    • Connect to an Oracle instance using the SQL*Plus utility
    • Unlock and query the HR schema


    • An Oracle White Paper entitled Introducing the Oracle Home User in Oracle Database 12c for Microsoft Windows
    • The documentation entitled Oracle® Database Installation Guide 12c Release 1 (12.1) for Microsoft Windows


    • Lead Curriculum Developer: Supriya Ananth
    • Other Contributors: Christian Shay

To navigate this Oracle by Example tutorial, note the following:

Hide Header Buttons:
Click the title to hide the buttons in the header. To show the buttons again, click the title again.
Topic List:
Click a topic to navigate to that section.
Expand All Topics:
Click the button to show or hide the details for the sections. By default, all topics are collapsed.
Hide All Images:
Click the button to show or hide the screenshots. By default, all images are displayed.
Click the button to print the content. The content that is currently displayed or hidden is printed.

To navigate to a particular section in this tutorial, select the topic from the list.


Oracle has only released 12C database for Linux and Solaris platforms. We have already covered how to install the newest database version on Linux here. In this article we will look at Installing Oracle 12C database on Solaris x86 64bit version. This article assumes that you already had Solaris 11 installed on Virtualbox.

Realted Articles
• Oracle 12c RAC: Installation on Oracle Linux 6 using VirtualBox
• Managing PDBs using Database Configuration Assistant

Using the Prebuilt VM

You can also download Oracle Solaris prebuilt VM from Oracle technology network. We used the same for installation purposes and it can be downloaded from here.

The link will open and you will have choice to either download the Solaris 11 VM or Solaris 10 VM. Download the latest Solaris 11.

Once it is downloaded, extract it using any tool like WinZip or TAR command on Linux. The extracted folder will have one ReadMe and one “OVA” file. Open the Virtual Box and go to File–>Import Appliance. Provide the path of OVA file and follow the onscreen instructions. The VM’s hard drive is supposed to grow up to 64GB in space, so make sure you have sufficient space available in destination folder.

Once the import process completes the VM will be ready to use. Next you will have to prepare this VM for Oracle install.

Preparing System for Installation

The first obvious step toward actual Oracle installation is to perform the pre installation tasks.

Configuring hosts file

First step is to properly name your host machine. The host name should properly be provided with IP address for installation to continue. Ideally your /etc/hosts file should look something like this. VST-SOL-12C localhost

Kernel Parameters

The default installation of Solaris is normally good enough for Oracle install. You just have to configure one parameter. You can use the below mentioned command to set the required Kernel parameter. Remember that though you will have to use the Root login to run this command but at least one “oracle” user session should be opened.

# projadd -K 'project.max-shm-memory=(privileged,4G,deny)'

To confirm that parameter has been changed you can view the contents of /etc/project file.

# cat /etc/project

Also add the following lines in /etc/inittab, immediately before the “startd” entry.

tm::sysinit:/usr/sbin/ndd -set /dev/tcp tcp_smallest_anon_port 9000 > /dev/console
tm::sysinit:/usr/sbin/ndd -set /dev/tcp tcp_largest_anon_port 65500 > /dev/console
tm::sysinit:/usr/sbin/ndd -set /dev/udp udp_smallest_anon_port 9000 > /dev/console
tm::sysinit:/usr/sbin/ndd -set /dev/udp udp_largest_anon_port 65500 > /dev/console

Required Packages

You can check if packages required for Oracle are installed or not using the following command.

# pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibC SUNWlibm SUNWlibms SUNWsprot SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt SUNWcsl
system SUNWarc Lint Libraries (usr)
system SUNWbtool CCS tools bundled with SunOS
system SUNWcsl Core Solaris, (Shared Libs)
system SUNWlibC Sun Workshop Compilers Bundled libC
system SUNWlibm Math & Microtasking Library Headers & Lint Files (Usr)
system SUNWlibms Math & Microtasking Libraries (Usr)
system SUNWsprot Solaris Bundled tools
system SUNWtoo Programming Tools
ERROR: information for 'SUNWhea' was not found
ERROR: information for 'SUNWi1of' was not found
ERROR: information for 'SUNWi1cs' was not found
ERROR: information for 'SUNWi15cs' was not found
ERROR: information for 'SUNWxwfnt' was not found

As you can see the last five packages are not installed. You can install these packages as below, one by one.

# pkg install SUNWhea
Packages to install: 1
Create boot environment: No
Create backup boot environment: No

Completed 1/1 1584/1584 3.2/3.2 74.8k/s

Installing new actions 1704/1704
Updating package state database Done
Updating image state Done
Creating fast lookup database Done

Creating Oracle user, groups and directories

The last step is to create oracle user groups and directories and set appropriate permissions and environment.

# groupadd oper
# groupadd dba
# groupadd oinstall
# usermod -g oinstall -G dba oper oracle
# mkdir -p /u01/app/oracle/product/12.0.1/db_1
# chown -R oracle:oinstall /u01
# chmod -R 775 /u01

Finally add the following lines at the end of .profile of Oracle user.

# Oracle Settings
TMP=/tmp; export TMP

# Select the appropriate ORACLE_BASE
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/12.0.1/db_1; export ORACLE_HOME

Installing Oracle 12C

You are now ready to install Oracle 12C database on your system. Log in as Oracle user, navigate to directory where you extracted the installation media and run the runInstaller command.

$ ./runInstaller
Starting Oracle Universal Installer..

Checking Temp space: must be greater than 180 MB. Actual 4369 MB Passed
Checking swap space: must be greater than 150 MB. Actual 4751 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-07-02_11-52-51AM. Please wait ..

The installer will start and you will see the screen like below.

You can skip this step and click Next.

Skip the software updates as well and click Next.

Choose Install and Configure database option and click Next.

Select on Server class and click Next.

Choose single instance installation and click Next.

Select the Typical install method and click Next.

Here you provide most of the options like Oracle base and home directories and also password for admin accounts. The last checkbox is important. If you check it then you will have to provide one PDB name. If you uncheck it then database will be created as Non Container database, the same as it would have been before 12C version. You obviously would want the database to be Container database. Click Next.

Provide the location of Oracle Inventory and also the OS group who will own it. Click Next.

This is the Install summary. Click Install once you are OK with all the options.

Find Strategy games tagged Real time strategy like Nomad, Attack on Toys, Zero-K, Widelands, Leadersheep on, the indie game hosting marketplace. Top free Strategy. Games Tools Game assets Comics Books Physical games Soundtracks Game mods Everything else. Tagged Real time strategy. Free Rts Games free download - TubeMate, TubeMate 3, System Mechanic Free, and many more programs. Free rts game downloadanimationsupport. Rts games free download - Warlords RTS, Saga MMO RTS, Crystal Encounter RTS, and many more programs. Free, Real-Time Strategy title actively being developed Still currently in development, 0 A.D. Is currently in Alpha stages and completely free. For those willing to wade through the multiple bugs, essentially testing the title, this game will scratch the itch of any RTS.

The installation normally takes sometime to complete.

Once installation is complete, you will be asked the run the scripts as Root.

# . /u01/app/oraInventory/
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.

# . /u01/app/oracle/product/12.0.1/db_1/
Performing root user operation for Oracle 12c

The following environment variables are set as:
ORACLE_HOME= /u01/app/oracle/product/12.0.1/db_1

Install Oracle 12c On Windows 7 32 Bit

Enter the full pathname of the local bin directory: [/usr/local/bin]:
Creating /usr/local/bin directory..
Copying dbhome to /usr/local/bin ..
Copying oraenv to /usr/local/bin ..
Copying coraenv to /usr/local/bin ..
Creating /var/opt/oracle/oratab file..
Entries will be added to the /var/opt/oracle/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.

Once you are done with that go back on Installer screen and click OK.

The installation will continue with configuration.

Once database has been created, you will be asked to do some password management. You can always do this later. Click OK to finish the installation.

Click Close to exit the Installer.

Oracle 12c Database Installation On Solaris is successful.

Post Installation

Install Oracle 12c On Windows 10 Step By Step

You now log into your database to confirm if database has been created and configured.

Installing Oracle 12c On Windows

$ sqlplus / as sysdba

SQL*Plus: Release Production on Tue Jul 2 13:01:01 2013

Install Oracle 12c On Windows 10

Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options

SQL> select instance_name from v$instance;


Installing Oracle 12c On Windows

You can check which PDBs are configured and also you can log into PDB from within CDB as well.

SQL> select name,open_mode from v$pdbs;

------------------------------ ----------

SQL> alter session set container=PDB1;

Session altered.

SQL> select file_name from dba_data_files;


Your Oracle 12c Database on Oracle Virtual Machine is ready for use!