| Requirements For Installing Oracle10gR2 On RHEL 5/OEL 5 (x86_64) [ID 421308.1] | |||||
|
| |||||
| 修改时间 30-MAR-2011 类型 HOWTO 状态 PUBLISHED | |||||
In this Document
Goal
Solution
References
Installation requirements:
1. Hardware Requirements
i) Physical Memory
At least 1GB of physical RAM is required. To determine the physical RAM size, enter the following command
ii) Swap Space
The following table describes the relationship between installed RAM and the configured swap space requirement.
|
RAM |
Swap Space |
|---|---|
| Between 1024 MB and 2048 MB | 1.5 times the size of RAM |
| Between 2049 MB and 8192 MB | Equal to the size of RAM |
| More than 8192 MB | 0.75 times the size of RAM |
To determine the size of the configured swap space, enter the following command
iii) Disk space Requirement
To determine the amount of free disk space on the system, enter the following command
2. Kernel Requirements
a) Version
The system must be running the following kernel version (or a later version)
2.6.18-8
To determine whether the required kernel is installed, enter the following command:
b) SELinux
By default, RHEL 5 x86_64 Linux is installed with SELinux as "enforcing". This is fine for the 10gR2 installation process. However, to subsequently run "sqlplus", switch SELinux to the "Permissive" mode. See Note 454196.1, "./sqlplus: error on libnnz11.so: cannot restore segment prot after reloc" for more details.
3. Installing required packages
a) Oracle recommends that you install the Linux operating system with the default software packages (RPMs); 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"
b) The exact version number details of this list are based upon 64-bit (x86_64) RHEL Server 5.0. When a higher "update" level is used, the RPM release numbers (such as 4.1.1-52) may be slightly higher (such as 4.1.1-60 or 4.1.2). Since "update 0" and greater of RHEL 5 are certified, this is fine so long as you are still using 64-bit Linux (x86_64) RHEL Server 5 RPMs.
4. Set the kernel parameters
Add the following the lines in the file /etc/sysctl.conf
To place these changes into effect, execute the command
5. Create Oracle user and groups
6. Create the required directories for Oracle database and change the ownership
7. Set the session limits for Oracle user
Add the following lines to the /etc/security/limits.conf file
Add the following line in the /etc/pam.d/login file
Add the following lines to the /etc/profile. This assumes that oracle user is using bash shell which is given by default. Change this accordingly if the oracle user has a different shell
8. Configure the Oracle user's environment
Configuring the oracle User's Environment, using the appropriate section of the "Oracle® Database Quick Installation Guide 10g Release 2 (10.2) for Linux x86-64". Note that setting $ORACLE_BASE (not $ORACLE_HOME) in the environment will ease a couple of entries in the Oracle Universal Installer.
9. The gcc-4.1.1 and gcc-c++-4.1.1 RPM items above will ensure that the correct gcc / g++ versions are installed. It is also required that you ensure that these correct gcc / g++ versions are active, and in-use. Ensure that the commands "gcc --version" and "g++ --version" each return "4.1.x".
10. Invoking OUI
Log in as Oracle user and start installation as follow. This is required because Oracle 10.2 expects OS to be RHEL 3 or RHEL/OEL 4.
Additional explanation is available in Note 763143.1, "Explanation and options to handle "operating system version: must be" OUI errors
11. Warning at "Product-Specific Prerequisite Checks" screen
During the installation at the screen "Product-Specific Prerequisite Checks", OUI gives a warning that Oracle database 10g is not certified on the current operating system. If we still proceed to continue, OUI gives a dialog-box with a warning
"Some recommended prerequisite checks have failed. You might get errors during installation. Do you want to proceed?"
This warning can be ignored, if all the above requirements are satisfied.
ADDITIONAL NOTES
----------------
1. Supported distributions of the 32-bit (x86) Linux OS can run on on AMD64/EM64T and Intel Processor Chips that adhere to the x86_64 architecture
a.) Oracle 32-bit running on AMD64/EM64T with 32-bit OS is supported, but is NOT covered by this NOTE.
b.) Oracle 32-bit running on AMD64/EM64T with 64-bit OS is not certified and is not supported.
2. No LD_ASSUME_KERNEL value should be used with the 10gR2 product.
3. 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.5-12 (x86_64)
glibc-devel-2.5-12(i386)
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/23757700/viewspace-692366/ ,如需转载,请注明出处,否则将追究法律责任。