在RHEL7 or OL7上安装oracle database 12c的要求

本文来自:

Requirements for Installing Oracle Database 12.1on RHEL7 or OL7 64-bit (x86-64) (文档 ID 1961997.1)

本文不做翻译,仅作原文转载:

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later

Linux x86-64

Purpose

This note explains the requirements that need to be met for a successful installation of Oracle Database 12.1 release on Red Hat Enterprise Linux  7.0  or Oracle Linux 7 (or higher 7.x version) 64-bit (x86-64)

It is NOT the purpose of this NOTE to repeat every "how-to" step that is presented in the Oracle Database 12.1 Installation Guide. For example this NOTE does not include how to create the Linux OS account named "oracle", nor does it cover how to set environment
variables. Both are adequately covered in "Oracle? Database Installation Guide 12c Release 1 (12.1) for Linux"

Scope

This procedure is meant for those Planning / Installing Oracle Database 12.1.0.2 on RHEL 7.0 on the 64-bit (x86-64) platform.   Since it is the expressed goal to keep Oracle Linux (OL) functionally IDENTICAL to RHEL, this NOTE is also completely applicable
to 64-bit (x86-64) OL 7.0

This procedure is not meant for those Planning / Installing Grid Infrastructure (GI) or any other Oracle products.

Details

Note that only Oracle db 12.1.0.2 is certified on RHEL 7 and Oracle Linux 7 (OL 7)

Requirements for installing Oracle Database 12.1 release 64-bit on RHEL 7 or OL 7  64-bit (x86_64)

Before you proceed with Installation, please take time to review every below requirement carefully to avoid any obvious issues during Installation of binaries.

1. Download the Oracle Database 12.1 Software

- Download the Oracle Database 12.1 software from My Oracle Support

Note 1194734.1 Where do I find that on My Oracle Support (MOS) [Video]

- After you download the Software, Verify the integrity of the Downloaded Software

Note 549617.1 How To Verify The Integrity Of A Patch/Software Download? [Video]

- If you have downloaded the Software on other Machine, please transfer the zip file on the Server being Installed using Binary Mode and unzip with the Oracle Software user.

I. Hardware:

1. Minimum Hardware Requirements

a.) Ensure that your system meets the following Physical Memory requirements:

Minimum: 1 GB of RAM

Recommended: 2 GB of RAM or more

b.) Swap disk space proportional to the system‘s physical memory as follows:


RAM


Swap Space


Between 1 GB and 2 GB


1.5 times the size of RAM


Between 2 GB and 16 GB


Equal to the size of RAM


More than 16 GB


16 GB

NOTE: The above recommendations (from the Oracle? Database Installation Guide 12c Release 1 (12.1) for Linux) are MINIMUM recommendations for installations. Further RAM and swap space may be required to tune/improve RDBMS performance.

c.) 1.0 GB (1024MB) of disk space (and less than 2TB of disk space) in the /tmp directory.

If the free space available in the /tmp directory is less than what is required, then complete one of the following steps:

- Delete unnecessary files from the /tmp directory to meet the disk space requirement.

- Set the TMP and TMPDIR environment variables when setting the oracle user‘s environment.

d.) Approximately 6.5 GB of local disk space for the Database Software Files.

e.) If you intend to create a preconfigured database during the installation, then the file system (or file systems) that you choose must have at least 2 GB of free disk space.

For production databases, you must estimate the disk space requirement depending on the use of the database.

2. Oracle Database is supported on ext2, ext3 and ext4 file systems (see Note:236826.1 for further information)

II. Software:

1. Certified Linux Operationg Systems

Oracle Linux 6, Oracle Linux 7

Red Hat Enterprise Linux 7

2. Oracle recommends that you install the Linux operating system with the default software packages (RPMs) (refer Figure 1) and do not customize the RPMs during installation. For additional  information on "default-RPMs", please see
Note 376183.1, "Defining a "default RPMs" installation of the RHEL OS" or Note 401167.1, "Defining a "default RPMs" installation of the Oracle Enterprise Linux (OEL) OS".

3. Linux Kernel Requirements

Oracle Linux 7

  • Oracle Linux 7 with the Unbreakable Enterprise kernel: 3.8.13-33.el7uek.x86_64 or later
  • Oracle Linux 7 with the Red Hat Compatible kernel: 3.10.0-54.0.1.el7.x86_64 or later

Red Hat Enterprise Linux 7 - 3.10.0-54.0.1.el7.x86_64 or later

Note 1508516.1 Is It Mandatory To Install UEK Kernel Under RHEL?

4. Required OS Components (per Release Notes, and Install Guide)

a.) The exact version number details of this list are based upon 64-bit (x86_64) RHEL 7.0. When a higher "update" level is used, the RPM release numbers (such as 4.4.4-13) may be slightly different. Since updates of RHEL 7 are certified, this is fine
so long as you are still using 64-bit Linux (x86_64) RHEL 7 RPMs.

b.) Some of the Install Guide requirements will already be present from the "default-RPMs" foundation of Linux that you started with:

binutils-2.23.52.0.1-12.el7.x86_64

compat-libcap1-1.10-3.el7.x86_64

gcc-4.8.2-3.el7.x86_64

gcc-c++-4.8.2-3.el7.x86_64

glibc-2.17-36.el7.i686

glibc-2.17-36.el7.x86_64

glibc-devel-2.17-36.el7.i686

glibc-devel-2.17-36.el7.x86_64

ksh

libaio-0.3.109-9.el7.i686

libaio-0.3.109-9.el7.x86_64

libaio-devel-0.3.109-9.el7.i686

libaio-devel-0.3.109-9.el7.x86_64

libgcc-4.8.2-3.el7.i686

libgcc-4.8.2-3.el7.x86_64

libstdc++-4.8.2-3.el7.i686

libstdc++-4.8.2-3.el7.x86_64

libstdc++-devel-4.8.2-3.el7.i686

libstdc++-devel-4.8.2-3.el7.x86_64

libXi-1.7.2-1.el7.i686

libXi-1.7.2-1.el7.x86_64

libXtst-1.2.2-1.el7.i686

libXtst-1.2.2-1.el7.x86_64

make-3.82-19.el7.x86_64

sysstat-10.1.5-1.el7.x86_64

OR

During OS installation select following two group and also add
ksh and libaio-devel (x86_64) packages

Figure 1 Default RPMs selection

5. Oracle Global Customer Support has noticed a recent trend with install problems that originates from installing too many RPMs. For example:

a.) Installing your own JDK version (prior to execute the Oracle Software runInstaller) is not needed on Linux, and is not recommended on Linux. A pre-existing JDK often interferes with the correct JDK that the Linux Oracle Software runInstaller will
place and use.

b.) Installing more than the required version of the gcc / g++ RPMs often leads to accidentally using (aka enabling or activating) the incorrect one. If you have multiple RDBMS versions installed on the same Linux machine, then you will likely have to
manage multiple versions of gcc /g++ . For more information, please see Note 444084.1, "Multiple gcc / g++ Versions in Linux"

6. All of the RPMs in section II. are on the Oracle Linux 7 / Red Hat Enterprise Linux 7 64-bit (x86_64) distribution media.

III. Environment:

1. Below are the Minmum Recommended Kernel Parameter settings required for Database Software Installation. Modify your kernel settings in /etc/sysctl.conf as follows.

NOTE: If the current value for any parameter is higher than the value listed, do not change the value of that parameter.

semmsl      250

semmns     32000

semopm     100

semmni      128

shmall         40 percent of the size of physical memory in pages

Note: If the server supports multiple databases, or uses a large SGA, then set this parameter to a value that is equal to the total amount of shared memory, in 4K pages, that the system can use at one time.

shmmax     Half the size of physical memory in bytes

See My Oracle Support  Note 567506.1

shmmni              4096

panic_on_oops     1

file-max              6815744

aio-max-nr          1048576

Note: This value limits concurrent outstanding requests and should be set to avoid I/O subsystem failures.

ip_local_port_range     Minimum: 9000

Maximum: 65500

rmem_default         262144

rmem_max            4194304

wmem_default        262144

wmem_max           1048576

2.  if the shell limits and kernel parameters are not set as recommended by Oracle, then during installation OUI will generate fixup script which does the following tasks:

  • If necessary sets kernel parameters to values required for successful installation, including:

    • Shared memory parameters.
    • Open file descriptor and UDP send/receive parameters.
  • Creates and sets permissions on the Oracle Inventory (central inventory) directory.
  • Creates or reconfigures primary and secondary group memberships for the installation owner, if necessary, for the Oracle Inventory directory and the operating system privileges groups.
  • Sets shell limits if necessary to required values.

In case if you would like to do these manually, using any text editor, create or edit the
/etc/sysctl.conf file, add above kernel parameter and its value. To activate these new settings into the running kernel space, run the "sysctl -p" command as root.

Set Shell Limits for the oracle User. Assuming that the "oracle" Unix user will perform the installation, do the following:

a.) Add the following settings to /etc/security/limits.conf configuration file for the installation owner.

oracle              soft    nproc    2047

oracle              hard   nproc   16384

oracle              soft    nofile    1024

oracle              hard   nofile    65536

oracle              soft    stack    10240

oracle              hard   stack    10240

NOTE: When the limits.conf file is changed, these changes take effect immediately. However, if the oracle users are logged in, then these changes do not take effect until you log these users out and log them back in. You must do this before
you use these accounts for installation.

b.) Verify the latest version of PAM is loaded, then add or edit the following line in the /etc/pam.d/login file, if it does not already exist:

session required pam_limits.so

c.) Verify the current ulimits, and raise if needed.  This can be done many ways...adding the following lines to /etc/profile is the recommended method:

if [ $USER = "oracle" ]; then

if [ $SHELL = "/bin/ksh" ]; then

ulimit -u 16384

ulimit -n 65536

else

ulimit -u 16384 -n 65536

fi

fi

The hostname command should return the fully qualified hostname as shown below:

% hostname

hostname.domainname

Log in as Oracle user and start the installation as follows:

./runInstaller

a.) It is best practice not to use any form of "su" to start the runInstaller, in order to avoid potential display-related problems.

b.) When performing the Oracle Database 12.1 installation, make sure to use the "runInstaller" version that comes with Oracle Database 12.1 software.

c.) When performing any subsequent 12.1.0.x patchset, make sure to use the "runInstaller" version that comes with the patchset.

ADDITIONAL NOTES

1. Starting from Oracle Database 12.1 32-bit Oracle Database Software is not available.

2. Supported distributions of the 32-bit (x86) Oracle Database Client Linux OS can run on on AMD64/EM64T and Intel Processor Chips that adhere to the x86_64 architecture. Oracle 32-bit Database Client running on AMD64/EM64T with 64-bit OS is expected to
be supported, but is NOT covered by this NOTE.

3. Asynchronous I/O on ext2 and ext3 file systems is supported if your scsi/fc driver supports that functionality.

Note : Asynchronous I/O on Ext4 file system is supported with Oracle 10g onwards on OEL5.6 and later.

Reference : Oracle Linux, Filesystem & I/O Type Supportability (Note 279069.1)

4. No extra patch is required for the DIRECTIO support for x86_64.

5. No LD_ASSUME_KERNEL value should be used with the Oracle Database 12.1 product.

6. The following rpm command can be used to distinguish between a 32-bit or 64-bit package.

# rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | grep glibc-devel

glibc-devel-2.12-1.7.el6 (x86_64)

glibc-devel-2.12-1.7.el6 (i686)

时间: 2025-01-21 20:45:54

在RHEL7 or OL7上安装oracle database 12c的要求的相关文章

Windows 7 64bit上安装Oracle Database 12c [INS-30131] 错误的解决方法

Windows 7 64bit上安装Oracle Database 12c,出现以下错误: 解决方法: 第一步:控制面板>所有控制面板项>管理工具>服务>SERVER  启动 第二步:控制面板>所有控制面板项>管理工具>计算机管理>系统工具>共享文件夹>共享   右键单击“共享”>新建共享> 点击“下一步”>   单击“浏览”> 选择"本地磁盘(C:)">确定   单击“下一步”:     单击“

【翻译自mos文章】在RHEL7或者OL7上安装11.2.0.4时遇到错误 “undefined reference to symbol ‘B_DestroyKeyObject’”

来源于: Installation of Oracle 11.2.0.4 on OL7 fails with "undefined reference to symbol 'B_DestroyKeyObject'" error (文档 ID 1965691.1) 适用于: Oracle Database - Enterprise Edition - Version 11.2.0.4 to 11.2.0.4 [Release 11.2] Oracle Database - Standar

【翻译自mos文章】在RHEL7 or OEL7上安装oracle 11.2.0.4 db时的要求

在RHEL7 or OEL7上安装oracle 11.2.0.4 db时的要求 来源于: Requirements for Installing Oracle 11.2.0.4 RDBMS on RHEL7 or OL7 64-bit (x86-64) (文档 ID 1962100.1) 适用于: Oracle Database - Standard Edition - Version 11.2.0.4 to 11.2.0.4 [Release 11.2] Oracle Database - E

Linux( rhel-server-7.0-x86_64)安装Oracle Database 12c Release 1

1.官方下载安装包:http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html linuxamd64_12102_database_1of2.zip linuxamd64_12102_database_1of2.zip 2.创建oracle用户和组 [[email protected]]# groupadd oinstall [[email protected]]# groupadd dba

Windows下安装Oracle Database 12c Release 1(12.1.0.2.0) - Enterprise Edition

Windows下安装Oracle Database 12c Release 1(12.1.0.2.0) 最近因需要在Oracle 数据库上建立ODI的资料档案库,需要安装Oracle Database 12c Release 1(12.1.0.2.0) - Enterprise Edition . 软件下载 http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html?ssSourceSite

转: Windows下安装Oracle Database 12c Release 1(12.1.0.2.0) - Enterprise Edition

http://www.cnblogs.com/xqzt/p/4395053.html Windows下安装Oracle Database 12c Release 1(12.1.0.2.0) - Enterprise Edition

在WINDOWS上安装oracle database 11

1:在CD-ROM中插入oracle database 11G安装盘会自动运行程序,打开[欢迎使用]窗口 2:弹出[选择安装类型] 3:弹出[制定主目录详细信息]‘oracle基目录’:用于设置环境变量ORACLE_BASE的值,‘软件位置的名称’:用于指定oracle软件的安装路径 4:弹出[产品特定的先决条件检查] 5:[选择配置选项],其中,‘创建数据库’用于建立常规数据库,‘配置自动存储管理’:建立ASM数据库,‘仅安装软件’只用于安装oracle database 11G软件. 6:[

在linux 上安装oracle database 对 32bit rpm 和64bit rpm的要求

摘自: Requirements for Installing Oracle 11gR2 RDBMS on RHEL (and OEL) 5 on AMD64/EM64T (文档 ID 880989.1) NOTE: Starting with Oracle Database 11g Release 2 (11.2.0.2), all the 32-bit packages, except for gcc-32bit-4.3, listed in the following sections a

Oracle Linux 下安装 Oracle database 12c

安装检查清单 硬件检查清单 略,后续更新. 操作系统检查清单 操作系统版本支持 支持的发行版本.内核等(distribution, release, kernels and packages) 对x86-64系统Linux 6 最低操作系统要求 OpenSSh 安装 Oracle Linux 6 Supported distributions: Oracle Linux 6 with the Unbreakable Enterprise kernel: 2.6.39-200.24.1.el6ue