23 Temmuz 2013 Salı

Oracle Database 12c Installation and Creating Database


22 Temmuz 2013 Pazartesi

Oracle Database 12c Release 1 Installation Pre- Requirements / Manual Setup

This post prepearing for Oracle Linux 6 (OEL6) and Oracle Database 12c Release 1 database software. If you prefer automatic setup please refer this document

Oracle Database 12c Release 1 Installation Pre- Requirements / Automatic Setup



       Oracle simplified 12c database installation at Oracle Linux 6 by donwloading and installing oracle-rdbms-server-12cR1-preinstall package from  Public Yum repository.  While installing this package server try to connect on internet yum repository and run wget command neccessary rpms.

http://public-yum.oracle.com/




1- Information :



When it is installed, the Oracle Pre-Install RPM does the following:

■ Automatically downloads and installs any additional RPM packages needed for installing Oracle Grid Infrastructure and Oracle Database, resolves any dependencies
 
■ Creates an oracle user and creates oraInventory(oinstall) and OSDBA (dba) groups for that user.
■ As needed, sets sysctl.conf settings , system startup parameters, driver parameters to values based on recommandations from Oracle RDBMS Pre-Install program.

■Sets hard and soft resource limits
■ Sets other recommended parameters and depending on your kernel version
 

2- Installation :

[root@server rpm]# yum install oracle-rdbms-server-12cR1-preinstall-1.0-8.el6.x86_64.rpm

Loaded plugins: refresh-packagekit, security


Trying other mirror.

Setting up Install Process

Examining oracle-rdbms-server-12cR1-preinstall-1.0-8.el6.x86_64.rpm: oracle-rdbms-server-12cR1-preinstall-                                                                                                                                   1.0-8.el6.x86_64

Marking oracle-rdbms-server-12cR1-preinstall-1.0-8.el6.x86_64.rpm to be installed

Resolving Dependencies

--> Running transaction check

---> Package oracle-rdbms-server-12cR1-preinstall.x86_64 0:1.0-8.el6 will be installed

--> Processing Dependency: compat-libcap1 for package: oracle-rdbms-server-12cR1-preinstall-1.0-8.el6.x86_                                                                                                                                   64

--> Processing Dependency: compat-libstdc++-33 for package: oracle-rdbms-server-12cR1-preinstall-1.0-8.el6                                                                                                                                   .x86_64

--> Processing Dependency: gcc-c++ for package: oracle-rdbms-server-12cR1-preinstall-1.0-8.el6.x86_64

--> Processing Dependency: ksh for package: oracle-rdbms-server-12cR1-preinstall-1.0-8.el6.x86_64

--> Processing Dependency: libaio-devel for package: oracle-rdbms-server-12cR1-preinstall-1.0-8.el6.x86_64

--> Processing Dependency: libstdc++-devel for package: oracle-rdbms-server-12cR1-preinstall-1.0-8.el6.x86                                                                                                                                   _64

--> Running transaction check

---> Package compat-libcap1.x86_64 0:1.10-1 will be installed

---> Package compat-libstdc++-33.x86_64 0:3.2.3-69.el6 will be installed

---> Package gcc-c++.x86_64 0:4.4.7-3.el6 will be installed

---> Package ksh.x86_64 0:20100621-19.el6 will be installed

---> Package libaio-devel.x86_64 0:0.3.107-10.el6 will be installed

---> Package libstdc++-devel.x86_64 0:4.4.7-3.el6 will be installed

--> Finished Dependency Resolution

 

Dependencies Resolved

 

==========================================================================================================

 Package              Arch   Version         Repository                                              Size

==========================================================================================================

Installing:

 oracle-rdbms-server-12cR1-preinstall

                      x86_64 1.0-8.el6       /oracle-rdbms-server-12cR1-preinstall-1.0-8.el6.x86_64  37 k

Installing for dependencies:

 compat-libcap1       x86_64 1.10-1          OL64                                                    17 k

 compat-libstdc++-33  x86_64 3.2.3-69.el6    OL64                                                   183 k

 gcc-c++              x86_64 4.4.7-3.el6     OL64                                                   4.7 M

 ksh                  x86_64 20100621-19.el6 OL64                                                   686 k

 libaio-devel         x86_64 0.3.107-10.el6  OL64                                                    13 k

 libstdc++-devel      x86_64 4.4.7-3.el6     OL64                                                   1.6 M

 

Transaction Summary

==========================================================================================================

Install       7 Package(s)

 

Total size: 7.2 M

Total download size: 7.2 M

Installed size: 23 M

Is this ok [y/N]:y

 

Error Downloading Packages:

  gcc-c++-4.4.7-3.el6.x86_64: failure: Packages/gcc-c++-4.4.7-3.el6.x86_64.rpm from OL64: [Errno 256] No more mirrors to try.

  libstdc++-devel-4.4.7-3.el6.x86_64: failure: Packages/libstdc++-devel-4.4.7-3.el6.x86_64.rpm from OL64: [Errno 256] No more mirrors to try.

  ksh-20100621-19.el6.x86_64: failure: Packages/ksh-20100621-19.el6.x86_64.rpm from OL64: [Errno 256] No more mirrors to try.

  compat-libstdc++-33-3.2.3-69.el6.x86_64: failure: Packages/compat-libstdc++-33-3.2.3-69.el6.x86_64.rpm from OL64: [Errno 256] No more mirrors to try.

  compat-libcap1-1.10-1.x86_64: failure: Packages/compat-libcap1-1.10-1.x86_64.rpm from OL64: [Errno 256] No more mirrors to try.

  libaio-devel-0.3.107-10.el6.x86_64: failure: Packages/libaio-devel-0.3.107-10.el6.x86_64.rpm from OL64: [Errno 256] No more mirrors to try.

 

[root@gckvt287 pr]# yum  install libstdc++-devel-4.4.7-3.el6.x86_64.rpm

Loaded plugins: refresh-packagekit, security


Trying other mirror.

Setting up Install Process

Examining libstdc++-devel-4.4.7-3.el6.x86_64.rpm: libstdc++-devel-4.4.7-3.el6.x86_64

Marking libstdc++-devel-4.4.7-3.el6.x86_64.rpm to be installed

Resolving Dependencies

--> Running transaction check

---> Package libstdc++-devel.x86_64 0:4.4.7-3.el6 will be installed

--> Finished Dependency Resolution

 

Dependencies Resolved

 

=============================================================================================================================================================================================================================================

 Package                                                Arch                                          Version                                               Repository                                                                  Size

=============================================================================================================================================================================================================================================

Installing:

 libstdc++-devel                                        x86_64                                        4.4.7-3.el6                                           /libstdc++-devel-4.4.7-3.el6.x86_64                                        9.3 M

 

Transaction Summary

=============================================================================================================================================================================================================================================

Install       1 Package(s)

 

Total size: 9.3 M

Installed size: 9.3 M

Is this ok [y/N]: y

Downloading Packages:

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

  Installing : libstdc++-devel-4.4.7-3.el6.x86_64                                                                                                                                                                                        1/1

 

  Verifying  : libstdc++-devel-4.4.7-3.el6.x86_64                                                                                                                                                                                        1/1

 

Installed:

  libstdc++-devel.x86_64 0:4.4.7-3.el6

 

Complete!

 

 

[root@server pr]# yum install gcc-c++-4.4.7-3.el6.x86_64.rpm

Loaded plugins: refresh-packagekit, security


Trying other mirror.

Setting up Install Process

Examining gcc-c++-4.4.7-3.el6.x86_64.rpm: gcc-c++-4.4.7-3.el6.x86_64

Marking gcc-c++-4.4.7-3.el6.x86_64.rpm to be installed

Resolving Dependencies

--> Running transaction check

---> Package gcc-c++.x86_64 0:4.4.7-3.el6 will be installed

--> Finished Dependency Resolution

 

Dependencies Resolved

 

=============================================================================================================================================================================================================================================

 Package                                            Arch                                              Version                                                   Repository                                                              Size

=============================================================================================================================================================================================================================================

Installing:

 gcc-c++                                            x86_64                                            4.4.7-3.el6                                               /gcc-c++-4.4.7-3.el6.x86_64                                             11 M

 

Transaction Summary

=============================================================================================================================================================================================================================================

Install       1 Package(s)

 

Total size: 11 M

Installed size: 11 M

Is this ok [y/N]: y

Downloading Packages:

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

  Installing : gcc-c++-4.4.7-3.el6.x86_64                                                                                                                                                                                                1/1

  Verifying  : gcc-c++-4.4.7-3.el6.x86_64                                                                                                                                                                                                1/1

 

Installed:

  gcc-c++.x86_64 0:4.4.7-3.el6

 

Complete!