Skip to content
Home » Oracle Database » Installation and Upgrade » How to Install Oracle Database 11.2.0.1 on Enterprise Linux 5 - 1 of 4 - Server Preparation

How to Install Oracle Database 11.2.0.1 on Enterprise Linux 5 - 1 of 4 - Server Preparation

There're 4 phases that we install Oracle database 11.2.0.1 on CentOS 5.7.

  1. Server Preparation
  2. Oracle Software Installation
  3. Oracle Listener Installation
  4. Oracle Database Creation

A. Server Preparation

  1. Install Required Packages
  2. Name Resolution
  3. Security
  4. System Resource
  5. Prepare User Oracle
  6. Prepare Installation Sources

1. Install Required Packages

Please make sure the following packages are installed in this server.

  • binutils-2.17.50.0.6
  • compat-libstdc++-33-3.2.3
  • compat-libstdc++-33-3.2.3 (32 bit)
  • coreutils-5.97-23.el5_4.1
  • elfutils-libelf-0.125
  • elfutils-libelf-devel-0.125
  • gcc-4.1.2
  • gcc-c++-4.1.2
  • glibc-2.5-24
  • glibc-2.5-24 (32 bit)
  • glibc-common-2.5
  • glibc-devel-2.5
  • glibc-devel-2.5 (32 bit)
  • glibc-headers-2.5
  • ksh
  • ksh-20060214
  • libaio-0.3.106
  • libaio-0.3.106 (32 bit)
  • libaio-devel-0.3.106
  • libaio-devel-0.3.106 (32 bit)
  • libgcc-4.1.2
  • libgcc-4.1.2 (32 bit)
  • libstdc++-4.1.2
  • libstdc++-4.1.2 (32 bit)
  • libstdc++-devel-4.1.2
  • make-3.81
  • sysstat-7.0.2
  • unixODBC
  • unixODBC (32 bit)
  • unixODBC-devel
  • unixODBC-devel (32 bit)
  • unzip
  • xorg-x11-utils
  • xorg-x11-xauth

In which, 32 bit means that the architecture is i386.

Then we verify all required packages are installed.

Package List

[root@primary01 ~]# rpm -q binutils compat-libstdc++-33 coreutils elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers ksh libaio libaio-devel libgcc libstdc++ libstdc++-devel make sysstat unixODBC unixODBC-devel unzip xorg-x11-utils xorg-x11-xauth
binutils-2.17.50.0.6-14.el5
compat-libstdc++-33-3.2.3-61
compat-libstdc++-33-3.2.3-61
coreutils-5.97-34.el5
elfutils-libelf-0.137-3.el5
elfutils-libelf-0.137-3.el5
elfutils-libelf-devel-0.137-3.el5
gcc-4.1.2-51.el5
gcc-c++-4.1.2-51.el5
glibc-2.5-65
glibc-2.5-65
glibc-common-2.5-65
glibc-devel-2.5-65
glibc-devel-2.5-65
glibc-headers-2.5-65
ksh-20100202-1.el5_6.6
libaio-0.3.106-5
libaio-0.3.106-5
libaio-devel-0.3.106-5
libaio-devel-0.3.106-5
libgcc-4.1.2-51.el5
libgcc-4.1.2-51.el5
libstdc++-4.1.2-51.el5
libstdc++-4.1.2-51.el5
libstdc++-devel-4.1.2-51.el5
make-3.81-3.el5
sysstat-7.0.2-11.el5
unixODBC-2.2.11-7.1
unixODBC-2.2.11-7.1
unixODBC-devel-2.2.11-7.1
unixODBC-devel-2.2.11-7.1
unzip-5.52-3.el5
xorg-x11-utils-7.1-2.fc6
xorg-x11-xauth-1.0.1-2.1

Package Count

[root@primary01 ~]# rpm -q binutils compat-libstdc++-33 coreutils elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers ksh libaio libaio-devel libgcc libstdc++ libstdc++-devel make sysstat unixODBC unixODBC-devel unzip xorg-x11-utils xorg-x11-xauth | wc -l
34

We see 34 packages installed.

Package Details

[root@primary01 ~]# rpm -qi binutils compat-libstdc++-33 coreutils elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers ksh libaio libaio-devel libgcc libstdc++ libstdc++-devel make sysstat unixODBC unixODBC-devel unzip xorg-x11-utils xorg-x11-xauth
Name        : binutils                     Relocations: (not relocatable)
Version     : 2.17.50.0.6                       Vendor: CentOS
Release     : 14.el5                        Build Date: Wed 31 Mar 2010 06:07:52 PM CST
Install Date: Wed 20 Apr 2022 04:26:34 PM CST      Build Host: builder17.centos.org
Group       : Development/Tools             Source RPM: binutils-2.17.50.0.6-14.el5.src.rpm
Size        : 7411037                          License: GPL
Signature   : DSA/SHA1, Tue 27 Apr 2010 07:40:57 AM CST, Key ID a8a447dce8562897
URL         : http://sources.redhat.com/binutils
Summary     : A GNU collection of binary utilities.
Description :
Binutils is a collection of binary utilities, including ar (for
creating, modifying and extracting from archives), as (a family of GNU
assemblers), gprof (for displaying call graph profile data), ld (the
GNU linker), nm (for listing symbols from object files), objcopy (for
copying and translating object files), objdump (for displaying
information from object files), ranlib (for generating an index for
the contents of an archive), size (for listing the section sizes of an
object or archive file), strings (for listing printable strings from
files), strip (for discarding symbols), and addr2line (for converting
addresses to file and line).
Name        : compat-libstdc++-33          Relocations: (not relocatable)
Version     : 3.2.3                             Vendor: CentOS
Release     : 61                            Build Date: Tue 09 Jan 2007 06:05:22 AM CST
Install Date: Wed 20 Apr 2022 04:27:11 PM CST      Build Host: builder6.centos.org
Group       : System Environment/Libraries   Source RPM: compat-gcc-32-3.2.3-61.src.rpm
Size        : 825400                           License: GPL
Signature   : DSA/SHA1, Wed 04 Apr 2007 08:22:11 AM CST, Key ID a8a447dce8562897
URL         : http://gcc.gnu.org
Summary     : Compatibility standard C++ libraries
Description :
The compat-libstdc++ package contains compatibility standard C++ library
from GCC 3.3.4.
Name        : compat-libstdc++-33          Relocations: (not relocatable)
Version     : 3.2.3                             Vendor: CentOS
Release     : 61                            Build Date: Tue 09 Jan 2007 06:02:03 AM CST
Install Date: Wed 20 Apr 2022 04:27:49 PM CST      Build Host: builder6.centos.org
Group       : System Environment/Libraries   Source RPM: compat-gcc-32-3.2.3-61.src.rpm
Size        : 733168                           License: GPL
Signature   : DSA/SHA1, Wed 04 Apr 2007 08:20:39 AM CST, Key ID a8a447dce8562897
URL         : http://gcc.gnu.org
Summary     : Compatibility standard C++ libraries
Description :
The compat-libstdc++ package contains compatibility standard C++ library
from GCC 3.3.4.
Name        : coreutils                    Relocations: (not relocatable)
Version     : 5.97                              Vendor: CentOS
Release     : 34.el5                        Build Date: Fri 22 Jul 2011 09:17:55 AM CST
Install Date: Wed 20 Apr 2022 04:28:03 PM CST      Build Host: builder10.centos.org
Group       : System Environment/Base       Source RPM: coreutils-5.97-34.el5.src.rpm
Size        : 9045698                          License: GPLv2+
Signature   : DSA/SHA1, Sat 13 Aug 2011 05:26:34 AM CST, Key ID a8a447dce8562897
URL         : http://www.gnu.org/software/coreutils/
Summary     : The GNU core utilities: a set of tools commonly used in shell scripts
Description :
These are the GNU core utilities.  This package is the combination of
the old GNU fileutils, sh-utils, and textutils packages.
Name        : elfutils-libelf              Relocations: (not relocatable)
Version     : 0.137                             Vendor: CentOS
Release     : 3.el5                         Build Date: Wed 21 Jan 2009 01:03:47 PM CST
Install Date: Wed 20 Apr 2022 04:26:33 PM CST      Build Host: builder10.centos.org
Group       : Development/Tools             Source RPM: elfutils-0.137-3.el5.src.rpm
Size        : 76000                            License: GPLv2 with exceptions
Signature   : DSA/SHA1, Tue 17 Mar 2009 07:31:25 PM CST, Key ID a8a447dce8562897
URL         : https://fedorahosted.org/elfutils/
Summary     : Library to read and write ELF files.
Description :
The elfutils-libelf package provides a DSO which allows reading and
writing ELF files on a high level.  Third party programs depend on
this package to read internals of ELF files.  The programs of the
elfutils package use it also to generate new ELF files.
Name        : elfutils-libelf              Relocations: (not relocatable)
Version     : 0.137                             Vendor: CentOS
Release     : 3.el5                         Build Date: Wed 21 Jan 2009 01:03:44 PM CST
Install Date: Wed 20 Apr 2022 04:27:44 PM CST      Build Host: builder10.centos.org
Group       : Development/Tools             Source RPM: elfutils-0.137-3.el5.src.rpm
Size        : 87508                            License: GPLv2 with exceptions
Signature   : DSA/SHA1, Mon 09 Mar 2009 09:45:26 AM CST, Key ID a8a447dce8562897
URL         : https://fedorahosted.org/elfutils/
Summary     : Library to read and write ELF files.
Description :
The elfutils-libelf package provides a DSO which allows reading and
writing ELF files on a high level.  Third party programs depend on
this package to read internals of ELF files.  The programs of the
elfutils package use it also to generate new ELF files.
Name        : elfutils-libelf-devel        Relocations: (not relocatable)
Version     : 0.137                             Vendor: CentOS
Release     : 3.el5                         Build Date: Wed 21 Jan 2009 01:03:47 PM CST
Install Date: Wed 20 Apr 2022 04:28:38 PM CST      Build Host: builder10.centos.org
Group       : Development/Tools             Source RPM: elfutils-0.137-3.el5.src.rpm
Size        : 31304                            License: GPLv2 with exceptions
Signature   : DSA/SHA1, Tue 17 Mar 2009 07:31:25 PM CST, Key ID a8a447dce8562897
URL         : https://fedorahosted.org/elfutils/
Summary     : Development support for libelf
Description :
The elfutils-libelf-devel package contains the libraries to create
applications for handling compiled objects.  libelf allows you to
access the internals of the ELF object file format, so you can see the
different sections of an ELF file.
Name        : gcc                          Relocations: (not relocatable)
Version     : 4.1.2                             Vendor: CentOS
Release     : 51.el5                        Build Date: Fri 22 Jul 2011 05:08:01 PM CST
Install Date: Wed 20 Apr 2022 04:27:30 PM CST      Build Host: builder10.centos.org
Group       : Development/Languages         Source RPM: gcc-4.1.2-51.el5.src.rpm
Size        : 10425496                         License: GPL
Signature   : DSA/SHA1, Sat 13 Aug 2011 05:26:36 AM CST, Key ID a8a447dce8562897
URL         : http://gcc.gnu.org
Summary     : Various compilers (C, C++, Objective-C, Java, ...)
Description :
The gcc package contains the GNU Compiler Collection version 4.1.
You'll need this package in order to compile C code.
Name        : gcc-c++                      Relocations: (not relocatable)
Version     : 4.1.2                             Vendor: CentOS
Release     : 51.el5                        Build Date: Fri 22 Jul 2011 05:08:01 PM CST
Install Date: Wed 20 Apr 2022 04:27:31 PM CST      Build Host: builder10.centos.org
Group       : Development/Languages         Source RPM: gcc-4.1.2-51.el5.src.rpm
Size        : 7824450                          License: GPL
Signature   : DSA/SHA1, Sat 13 Aug 2011 05:26:36 AM CST, Key ID a8a447dce8562897
URL         : http://gcc.gnu.org
Summary     : C++ support for GCC
Description :
This package adds C++ support to the GNU Compiler Collection.
It includes support for most of the current C++ specification,
including templates and exception handling.
Name        : glibc                        Relocations: (not relocatable)
Version     : 2.5                               Vendor: CentOS
Release     : 65                            Build Date: Fri 22 Jul 2011 11:19:54 PM CST
Install Date: Wed 20 Apr 2022 04:26:26 PM CST      Build Host: builder10.centos.org
Group       : System Environment/Libraries   Source RPM: glibc-2.5-65.src.rpm
Size        : 11674856                         License: LGPL
Signature   : DSA/SHA1, Sat 13 Aug 2011 05:26:37 AM CST, Key ID a8a447dce8562897
Summary     : The GNU libc libraries.
Description :
The glibc package contains standard libraries which are used by
multiple programs on the system. In order to save disk space and
memory, as well as to make upgrading easier, common system code is
kept in one place and shared between programs. This particular package
contains the most important sets of shared libraries: the standard C
library and the standard math library. Without these two libraries, a
Linux system will not function.
Name        : glibc                        Relocations: (not relocatable)
Version     : 2.5                               Vendor: CentOS
Release     : 65                            Build Date: Sat 13 Aug 2011 01:49:31 AM CST
Install Date: Wed 20 Apr 2022 04:27:29 PM CST      Build Host: builder10.centos.org
Group       : System Environment/Libraries   Source RPM: glibc-2.5-65.src.rpm
Size        : 12971036                         License: LGPL
Signature   : DSA/SHA1, Sat 13 Aug 2011 05:24:55 AM CST, Key ID a8a447dce8562897
Summary     : The GNU libc libraries.
Description :
The glibc package contains standard libraries which are used by
multiple programs on the system. In order to save disk space and
memory, as well as to make upgrading easier, common system code is
kept in one place and shared between programs. This particular package
contains the most important sets of shared libraries: the standard C
library and the standard math library. Without these two libraries, a
Linux system will not function.
Name        : glibc-common                 Relocations: (not relocatable)
Version     : 2.5                               Vendor: CentOS
Release     : 65                            Build Date: Fri 22 Jul 2011 11:19:54 PM CST
Install Date: Wed 20 Apr 2022 04:26:21 PM CST      Build Host: builder10.centos.org
Group       : System Environment/Base       Source RPM: glibc-2.5-65.src.rpm
Size        : 66728991                         License: LGPL
Signature   : DSA/SHA1, Sat 13 Aug 2011 05:26:38 AM CST, Key ID a8a447dce8562897
Summary     : Common binaries and locale data for glibc
Description :
The glibc-common package includes common binaries for the GNU libc
libraries, as well as national language (locale) support.
Name        : glibc-devel                  Relocations: (not relocatable)
Version     : 2.5                               Vendor: CentOS
Release     : 65                            Build Date: Fri 22 Jul 2011 11:19:54 PM CST
Install Date: Wed 20 Apr 2022 04:26:57 PM CST      Build Host: builder10.centos.org
Group       : Development/Libraries         Source RPM: glibc-2.5-65.src.rpm
Size        : 7339287                          License: LGPL
Signature   : DSA/SHA1, Sat 13 Aug 2011 05:26:38 AM CST, Key ID a8a447dce8562897
Summary     : Object files for development using standard C libraries.
Description :
The glibc-devel package contains the object files necessary
for developing programs which use the standard C libraries (which are
used by nearly all programs).  If you are developing programs which
will use the standard C libraries, your system needs to have these
standard object files available in order to create the
executables.

Install glibc-devel if you are going to develop programs which will
use the standard C libraries.
Name        : glibc-devel                  Relocations: (not relocatable)
Version     : 2.5                               Vendor: CentOS
Release     : 65                            Build Date: Fri 22 Jul 2011 11:18:28 PM CST
Install Date: Wed 20 Apr 2022 04:28:02 PM CST      Build Host: builder10.centos.org
Group       : Development/Libraries         Source RPM: glibc-2.5-65.src.rpm
Size        : 5172352                          License: LGPL
Signature   : DSA/SHA1, Sat 13 Aug 2011 05:24:56 AM CST, Key ID a8a447dce8562897
Summary     : Object files for development using standard C libraries.
Description :
The glibc-devel package contains the object files necessary
for developing programs which use the standard C libraries (which are
used by nearly all programs).  If you are developing programs which
will use the standard C libraries, your system needs to have these
standard object files available in order to create the
executables.

Install glibc-devel if you are going to develop programs which will
use the standard C libraries.
Name        : glibc-headers                Relocations: (not relocatable)
Version     : 2.5                               Vendor: CentOS
Release     : 65                            Build Date: Fri 22 Jul 2011 11:19:54 PM CST
Install Date: Wed 20 Apr 2022 04:26:57 PM CST      Build Host: builder10.centos.org
Group       : Development/Libraries         Source RPM: glibc-2.5-65.src.rpm
Size        : 2035916                          License: LGPL
Signature   : DSA/SHA1, Sat 13 Aug 2011 05:26:38 AM CST, Key ID a8a447dce8562897
Summary     : Header files for development using standard C libraries.
Description :
The glibc-headers package contains the header files necessary
for developing programs which use the standard C libraries (which are
used by nearly all programs).  If you are developing programs which
will use the standard C libraries, your system needs to have these
standard header files available in order to create the
executables.

Install glibc-headers if you are going to develop programs which will
use the standard C libraries.
Name        : ksh                          Relocations: (not relocatable)
Version     : 20100202                          Vendor: CentOS
Release     : 1.el5_6.6                     Build Date: Mon 18 Jul 2011 09:50:31 PM CST
Install Date: Wed 20 Apr 2022 04:29:20 PM CST      Build Host: builder10.centos.org
Group       : Applications/Shells           Source RPM: ksh-20100202-1.el5_6.6.src.rpm
Size        : 3271227                          License: Common Public License Version 1.0
Signature   : DSA/SHA1, Tue 19 Jul 2011 06:02:06 AM CST, Key ID a8a447dce8562897
URL         : http://www.kornshell.com/
Summary     : The Original ATT Korn Shell
Description :
KSH-93 is the most recent version of the KornShell by David Korn of
AT&T Bell Laboratories.
KornShell is a shell programming language, which is upward compatible
with "sh" (the Bourne Shell).
Name        : libaio                       Relocations: (not relocatable)
Version     : 0.3.106                           Vendor: CentOS
Release     : 5                             Build Date: Wed 31 Mar 2010 05:34:43 PM CST
Install Date: Wed 20 Apr 2022 04:27:10 PM CST      Build Host: builder17.centos.org
Group       : System Environment/Libraries   Source RPM: libaio-0.3.106-5.src.rpm
Size        : 34190                            License: LGPL
Signature   : DSA/SHA1, Tue 27 Apr 2010 07:41:10 AM CST, Key ID a8a447dce8562897
Summary     : Linux-native asynchronous I/O access library
Description :
The Linux-native asynchronous I/O facility ("async I/O", or "aio") has a
richer API and capability set than the simple POSIX async I/O facility.
This library, libaio, provides the Linux-native API for async I/O.
The POSIX async I/O facility requires this library in order to provide
kernel-accelerated async I/O capabilities, as do applications which
require the Linux-native async I/O API.
Name        : libaio                       Relocations: (not relocatable)
Version     : 0.3.106                           Vendor: CentOS
Release     : 5                             Build Date: Wed 31 Mar 2010 05:32:48 PM CST
Install Date: Wed 20 Apr 2022 04:27:50 PM CST      Build Host: builder10.centos.org
Group       : System Environment/Libraries   Source RPM: libaio-0.3.106-5.src.rpm
Size        : 31918                            License: LGPL
Signature   : DSA/SHA1, Tue 27 Apr 2010 03:59:48 AM CST, Key ID a8a447dce8562897
Summary     : Linux-native asynchronous I/O access library
Description :
The Linux-native asynchronous I/O facility ("async I/O", or "aio") has a
richer API and capability set than the simple POSIX async I/O facility.
This library, libaio, provides the Linux-native API for async I/O.
The POSIX async I/O facility requires this library in order to provide
kernel-accelerated async I/O capabilities, as do applications which
require the Linux-native async I/O API.
Name        : libaio-devel                 Relocations: (not relocatable)
Version     : 0.3.106                           Vendor: CentOS
Release     : 5                             Build Date: Wed 31 Mar 2010 05:32:48 PM CST
Install Date: Wed 20 Apr 2022 05:00:20 PM CST      Build Host: builder10.centos.org
Group       : Development/System            Source RPM: libaio-0.3.106-5.src.rpm
Size        : 18944                            License: LGPL
Signature   : DSA/SHA1, Tue 27 Apr 2010 03:59:48 AM CST, Key ID a8a447dce8562897
Summary     : Development files for Linux-native asynchronous I/O access
Description :
This package provides header files to include and libraries to link with
for the Linux-native asynchronous I/O facility ("async I/O", or "aio").
Name        : libaio-devel                 Relocations: (not relocatable)
Version     : 0.3.106                           Vendor: CentOS
Release     : 5                             Build Date: Wed 31 Mar 2010 05:34:43 PM CST
Install Date: Wed 20 Apr 2022 05:00:29 PM CST      Build Host: builder17.centos.org
Group       : Development/System            Source RPM: libaio-0.3.106-5.src.rpm
Size        : 23122                            License: LGPL
Signature   : DSA/SHA1, Tue 27 Apr 2010 07:41:10 AM CST, Key ID a8a447dce8562897
Summary     : Development files for Linux-native asynchronous I/O access
Description :
This package provides header files to include and libraries to link with
for the Linux-native asynchronous I/O facility ("async I/O", or "aio").
Name        : libgcc                       Relocations: (not relocatable)
Version     : 4.1.2                             Vendor: CentOS
Release     : 51.el5                        Build Date: Fri 22 Jul 2011 05:08:01 PM CST
Install Date: Wed 20 Apr 2022 04:26:12 PM CST      Build Host: builder10.centos.org
Group       : System Environment/Libraries   Source RPM: gcc-4.1.2-51.el5.src.rpm
Size        : 84728                            License: GPL
Signature   : DSA/SHA1, Sat 13 Aug 2011 05:26:42 AM CST, Key ID a8a447dce8562897
URL         : http://gcc.gnu.org
Summary     : GCC version 4.1 shared support library
Description :
This package contains GCC shared support library which is needed
e.g. for exception handling support.
Name        : libgcc                       Relocations: (not relocatable)
Version     : 4.1.2                             Vendor: CentOS
Release     : 51.el5                        Build Date: Fri 22 Jul 2011 04:12:35 PM CST
Install Date: Wed 20 Apr 2022 04:27:30 PM CST      Build Host: builder10.centos.org
Group       : System Environment/Libraries   Source RPM: gcc-4.1.2-51.el5.src.rpm
Size        : 73168                            License: GPL
Signature   : DSA/SHA1, Sat 13 Aug 2011 05:25:00 AM CST, Key ID a8a447dce8562897
URL         : http://gcc.gnu.org
Summary     : GCC version 4.1 shared support library
Description :
This package contains GCC shared support library which is needed
e.g. for exception handling support.
Name        : libstdc++                    Relocations: (not relocatable)
Version     : 4.1.2                             Vendor: CentOS
Release     : 51.el5                        Build Date: Fri 22 Jul 2011 05:08:01 PM CST
Install Date: Wed 20 Apr 2022 04:26:26 PM CST      Build Host: builder10.centos.org
Group       : System Environment/Libraries   Source RPM: gcc-4.1.2-51.el5.src.rpm
Size        : 973680                           License: GPL
Signature   : DSA/SHA1, Sat 13 Aug 2011 05:26:44 AM CST, Key ID a8a447dce8562897
URL         : http://gcc.gnu.org
Summary     : GNU Standard C++ Library
Description :
The libstdc++ package contains a rewritten standard compliant GCC Standard
C++ Library.
Name        : libstdc++                    Relocations: (not relocatable)
Version     : 4.1.2                             Vendor: CentOS
Release     : 51.el5                        Build Date: Fri 22 Jul 2011 04:12:35 PM CST
Install Date: Wed 20 Apr 2022 04:27:33 PM CST      Build Host: builder10.centos.org
Group       : System Environment/Libraries   Source RPM: gcc-4.1.2-51.el5.src.rpm
Size        : 925520                           License: GPL
Signature   : DSA/SHA1, Sat 13 Aug 2011 05:25:01 AM CST, Key ID a8a447dce8562897
URL         : http://gcc.gnu.org
Summary     : GNU Standard C++ Library
Description :
The libstdc++ package contains a rewritten standard compliant GCC Standard
C++ Library.
Name        : libstdc++-devel              Relocations: (not relocatable)
Version     : 4.1.2                             Vendor: CentOS
Release     : 51.el5                        Build Date: Fri 22 Jul 2011 05:08:01 PM CST
Install Date: Wed 20 Apr 2022 04:27:01 PM CST      Build Host: builder10.centos.org
Group       : Development/Libraries         Source RPM: gcc-4.1.2-51.el5.src.rpm
Size        : 11194801                         License: GPL
Signature   : DSA/SHA1, Sat 13 Aug 2011 05:26:45 AM CST, Key ID a8a447dce8562897
URL         : http://gcc.gnu.org
Summary     : Header files and libraries for C++ development
Description :
This is the GNU implementation of the standard C++ libraries.  This
package includes the header files and libraries needed for C++
development. This includes rewritten implementation of STL.
Name        : make                         Relocations: /usr
Version     : 3.81                              Vendor: CentOS
Release     : 3.el5                         Build Date: Sun 25 May 2008 09:33:35 AM CST
Install Date: Wed 20 Apr 2022 04:26:39 PM CST      Build Host: builder15.centos.org
Group       : Development/Tools             Source RPM: make-3.81-3.el5.src.rpm
Size        : 1050444                          License: GPL
Signature   : DSA/SHA1, Sun 15 Jun 2008 09:57:22 PM CST, Key ID a8a447dce8562897
URL         : http://www.gnu.org/software/make/
Summary     : A GNU tool which simplifies the build process for users.
Description :
A GNU tool for controlling the generation of executables and other
non-source files of a program from the program's source files. Make
allows users to build and install packages without any significant
knowledge about the details of the build process. The details about
how the program should be built are provided for make in the program's
makefile.

The GNU make tool should be installed on your system because it is
commonly used to simplify the process of installing programs.
Name        : sysstat                      Relocations: (not relocatable)
Version     : 7.0.2                             Vendor: CentOS
Release     : 11.el5                        Build Date: Fri 22 Jul 2011 01:59:34 PM CST
Install Date: Wed 20 Apr 2022 05:02:35 PM CST      Build Host: builder10.centos.org
Group       : Applications/System           Source RPM: sysstat-7.0.2-11.el5.src.rpm
Size        : 427355                           License: GPL
Signature   : DSA/SHA1, Sat 13 Aug 2011 05:26:52 AM CST, Key ID a8a447dce8562897
URL         : http://perso.orange.fr/sebastien.godard/
Summary     : The sar and iostat system monitoring commands.
Description :
This package provides the sar and iostat commands for Linux. Sar and
iostat enable system monitoring of disk, network, and other IO
activity.
Name        : unixODBC                     Relocations: (not relocatable)
Version     : 2.2.11                            Vendor: CentOS
Release     : 7.1                           Build Date: Sun 07 Jan 2007 03:22:10 PM CST
Install Date: Wed 20 Apr 2022 05:03:12 PM CST      Build Host: builder6.centos.org
Group       : System Environment/Libraries   Source RPM: unixODBC-2.2.11-7.1.src.rpm
Size        : 1834884                          License: LGPL
Signature   : DSA/SHA1, Wed 04 Apr 2007 08:27:47 AM CST, Key ID a8a447dce8562897
URL         : http://www.unixODBC.org/
Summary     : A complete ODBC driver manager for Linux.
Description :
Install unixODBC if you want to access databases through ODBC.  This
package includes low-level drivers for MySQL, PostgreSQL, and local files.
However, the included drivers are not as up-to-date as the ones distributed
separately.  It is recommended that you install and use the MyODBC package
if you need a driver for MySQL, and/or the postgresql-odbc package for
PostgreSQL.
Name        : unixODBC                     Relocations: (not relocatable)
Version     : 2.2.11                            Vendor: CentOS
Release     : 7.1                           Build Date: Sun 07 Jan 2007 07:03:10 PM CST
Install Date: Wed 20 Apr 2022 05:03:13 PM CST      Build Host: builder1.centos.org
Group       : System Environment/Libraries   Source RPM: unixODBC-2.2.11-7.1.src.rpm
Size        : 1835164                          License: LGPL
Signature   : DSA/SHA1, Wed 04 Apr 2007 08:28:13 AM CST, Key ID a8a447dce8562897
URL         : http://www.unixODBC.org/
Summary     : A complete ODBC driver manager for Linux.
Description :
Install unixODBC if you want to access databases through ODBC.  This
package includes low-level drivers for MySQL, PostgreSQL, and local files.
However, the included drivers are not as up-to-date as the ones distributed
separately.  It is recommended that you install and use the MyODBC package
if you need a driver for MySQL, and/or the postgresql-odbc package for
PostgreSQL.
Name        : unixODBC-devel               Relocations: (not relocatable)
Version     : 2.2.11                            Vendor: CentOS
Release     : 7.1                           Build Date: Sun 07 Jan 2007 07:03:10 PM CST
Install Date: Wed 20 Apr 2022 05:03:13 PM CST      Build Host: builder1.centos.org
Group       : Development/Libraries         Source RPM: unixODBC-2.2.11-7.1.src.rpm
Size        : 3051301                          License: LGPL
Signature   : DSA/SHA1, Wed 04 Apr 2007 08:28:13 AM CST, Key ID a8a447dce8562897
URL         : http://www.unixODBC.org/
Summary     : Development files for programs which will use the unixODBC library.
Description :
The unixODBC package can be used to access databases through ODBC
drivers. If you want to develop programs that will access data through
ODBC, you need to install this package.
Name        : unixODBC-devel               Relocations: (not relocatable)
Version     : 2.2.11                            Vendor: CentOS
Release     : 7.1                           Build Date: Sun 07 Jan 2007 03:22:10 PM CST
Install Date: Wed 20 Apr 2022 05:03:13 PM CST      Build Host: builder6.centos.org
Group       : Development/Libraries         Source RPM: unixODBC-2.2.11-7.1.src.rpm
Size        : 4012565                          License: LGPL
Signature   : DSA/SHA1, Wed 04 Apr 2007 08:27:47 AM CST, Key ID a8a447dce8562897
URL         : http://www.unixODBC.org/
Summary     : Development files for programs which will use the unixODBC library.
Description :
The unixODBC package can be used to access databases through ODBC
drivers. If you want to develop programs that will access data through
ODBC, you need to install this package.
Name        : unzip                        Relocations: (not relocatable)
Version     : 5.52                              Vendor: CentOS
Release     : 3.el5                         Build Date: Thu 12 Mar 2009 04:43:14 AM CST
Install Date: Wed 20 Apr 2022 04:26:45 PM CST      Build Host: chamkaur.karan.org
Group       : Applications/Archiving        Source RPM: unzip-5.52-3.el5.src.rpm
Size        : 293449                           License: BSD
Signature   : DSA/SHA1, Tue 17 Mar 2009 07:39:34 PM CST, Key ID a8a447dce8562897
Packager    : Karanbir Singh <[email protected]>
URL         : http://www.info-zip.org/pub/infozip/UnZip.html
Summary     : A utility for unpacking zip files.
Description :
The unzip utility is used to list, test, or extract files from a zip
archive.  Zip archives are commonly found on MS-DOS systems.  The zip
utility, included in the zip package, creates zip archives.  Zip and
unzip are both compatible with archives created by PKWARE(R)'s PKZIP
for MS-DOS, but the programs' options and default behaviors do differ
in some respects.

Install the unzip package if you need to list, test or extract files from
a zip archive.
Name        : xorg-x11-utils               Relocations: (not relocatable)
Version     : 7.1                               Vendor: CentOS
Release     : 2.fc6                         Build Date: Sat 06 Jan 2007 05:41:22 PM CST
Install Date: Wed 20 Apr 2022 04:28:16 PM CST      Build Host: builder3.centos.org
Group       : User Interface/X              Source RPM: xorg-x11-utils-7.1-2.fc6.src.rpm
Size        : 259990                           License: MIT/X11
Signature   : DSA/SHA1, Wed 04 Apr 2007 08:28:10 AM CST, Key ID a8a447dce8562897
URL         : http://www.x.org
Summary     : X.Org X11 X client utilities
Description :
A collection of client utilities which can be used to query the X server
for various information, view and select fonts, etc.
Name        : xorg-x11-xauth               Relocations: (not relocatable)
Version     : 1.0.1                             Vendor: CentOS
Release     : 2.1                           Build Date: Sun 07 Jan 2007 02:47:48 PM CST
Install Date: Wed 20 Apr 2022 04:26:55 PM CST      Build Host: builder6.centos.org
Group       : User Interface/X              Source RPM: xorg-x11-xauth-1.0.1-2.1.src.rpm
Size        : 55206                            License: MIT/X11
Signature   : DSA/SHA1, Wed 04 Apr 2007 08:28:10 AM CST, Key ID a8a447dce8562897
URL         : http://www.x.org
Summary     : X.Org X11 X authority utilities
Description :
xauth is used to edit and display the authorization information
used in connecting to an X server.

2. Name Resolution

Make sure the hostname is in /etc/hosts.

[root@primary01 ~]# vi /etc/hosts
...
192.168.1.11 primary01.example.com primary01

3. Security

Make sure selinux has been disabled.

[root@primary01 ~]# vi /etc/selinux/config
...
SELINUX=disabled

4. System Resource

Set System Parameters

[root@primary01 ~]# vi /etc/sysctl.conf
...
# Added for Oracle Database Installation
fs.file-max = 6815744
kernel.sem = 250 32000 100 128
kernel.shmmni = 4096
kernel.shmall = 1073741824
kernel.shmmax = 4398046511104
kernel.panic_on_oops = 1
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
net.ipv4.conf.all.rp_filter = 2
net.ipv4.conf.default.rp_filter = 2
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500

Reload System Parameters

[root@primary01 ~]# sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 68719476736
kernel.shmall = 4294967296
fs.file-max = 6815744
kernel.sem = 250 32000 100 128
kernel.shmmni = 4096
kernel.shmall = 1073741824
kernel.shmmax = 4398046511104
kernel.panic_on_oops = 1
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
net.ipv4.conf.all.rp_filter = 2
net.ipv4.conf.default.rp_filter = 2
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500

5. Prepare User Oracle

Create Groups and User

[root@primary01 ~]# groupadd -g 54321 oinstall
[root@primary01 ~]# groupadd -g 54322 dba
[root@primary01 ~]# groupadd -g 54323 oper
[root@primary01 ~]# useradd oracle -u 54321 -g oinstall -G dba,oper
[root@primary01 ~]# id oracle
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54323(oper)
[root@primary01 ~]# passwd oracle
Changing password for user oracle.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.

Set User Resource Limitation

[root@primary01 ~]# vi /etc/security/limits.conf
...
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft stack 10240
oracle hard stack 32768
oracle soft memlock unlimited
oracle hard memlock unlimited

Create Prodcut Directory

[root@primary01 ~]# mkdir -p /u01/app/oracle/product/11.2.0/db_1
[root@primary01 ~]# mkdir /oradata
[root@primary01 ~]# chown -R oracle:oinstall /u01
[root@primary01 ~]# chown -R oracle:oinstall /oradata
[root@primary01 ~]# chmod -R 775 /u01
[root@primary01 ~]# chmod -R 775 /oradata

Set User's Profile

[root@primary01 ~]# su - oracle
[oracle@primary01 ~]$ vi .bash_profile
...
umask 022
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1
ORACLE_SID=ORCL
LD_LIBRARY_PATH=$ORACLE_HOME/lib
TMP=/tmp
TMPDIR=/tmp

PATH=$PATH:$HOME/.local/bin:$HOME/bin:$ORACLE_BASE/bin:$ORACLE_HOME/bin

export PATH ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH TMP TMPDIR

6. Prepare Installation Sources

Make a Directory for Sources

[oracle@primary01 ~]$ mkdir sources

Upload Sources

Here we upload two zip files, linux.x64_11gR2_database_1of2.zip and linux.x64_11gR2_database_2of2.zip to the above directory.

Unzip Sources

[oracle@primary01 ~]$ cd sources
[oracle@primary01 sources]$ chmod 775 *
[oracle@primary01 sources]$ unzip -q linux.x64_11gR2_database_1of2.zip
[oracle@primary01 sources]$ unzip -q linux.x64_11gR2_database_2of2.zip
[oracle@primary01 sources]$ exit
[root@primary01 ~]# exit

We are ready for next phase, Oracle software installation.

Leave a Reply

Your email address will not be published. Required fields are marked *