|
RedHat AS 4.0最新安装Oracle9204手记
这是我在Metalink找到的一个说明,但是,我在CentOS4.1(相当于Redhat As 4 Update1)应用这个补丁的时候,出现了/usr/bin/ld:crti.o:No such file的错误。我在继续需求解决方法,希望有经验的人参与讨论,谢谢。
Requirements for Installing Oracle 9iR2 on RHEL4 X86_64
-------------------------------------------------------
1. Hardware:
=========
* Minimum Hardware Requirements
- 512 MB of physical RAM
- 1 GB of swap space (or twice the size of RAM)
On systems with 2 GB or more of RAM, the swap space can be between one and two times the size of RAM.
- 400 MB of disk space in the /tmp directory
- The following shows the approximate disk space requirements for software files for each installation type:
Enterprise Edition 2.5 GB (and 1.2 GB for the seed database)
Standard Edition 1.5 GB (and 1.2 GB for the seed database)
Custom (maximum) 2.5 GB
2. Software:
=========
* Red Hat Enterprise Linux AS 3 (Update 1)
* Required OS Components
- kernel-2.4.21-9.0.1.EL.x86_64
- glibc 2.3.2-95.x86_64
- gcc-3.2.3-24.x86_64
- gcc-c++-3.2.3-24.x86_64
- libstdc++-3.2.3-24.i386
- libstdc++-devel-3.2.3-24.x86_64
- libstdc++-3.2.3-24.x86_64
- glibc-devel-2.3.2-95.3.i386
- glibc-2.3.2-95.6.i686
- make-3.79.1.x86_64
- gnome-libs-1.4.1.2.90-34.1.i386
- ORBit-0.5.17-10.4.i386
- audiofile-0.2.3-7.1.i386
- esound-0.2.28-5.1.i386
- gtk+-1.2.10-27.1.i386
- imlib-1.9.13-12.i386
- libpng10-1.0.13-8.i386
- libungif-4.1.0-15.i386
- tcp_wrappers-7.6-34.i386
- setarch-1.3-1.x86_64
- libaio-0.3.96-3.x86_64
The x86_64 packages are on the Red Hat Enterprise Linux 3 x86-64 distribution.
The i386 packages are on the Red Hat Enterprise Linux 3 x86 distribution.
Or you download the required i386 packages from this note.
Attachment 308588.1:1 rpm_i386_for_9iR2_64bit.zip
glibc-devel-2.3.2-95.3.i386
This package might require the --force option during installation.
gnome-libs-1.4.1.2.90-34.1.i386
This package might require the --force option during installation if 64-bit gnome packages are installed.
Oracle recommends that you do not install 64-bit gnome packages if they are not required for other applications.
3. Environment:
============
* Required Environment Variable
- LD_ASSUME_KERNEL=2.4.19
* Modify your kernel settings in /etc/sysctl.conf (RedHat) as follows:
kernel.hostname = yourhost.yourdomain.com #<--- full qualified hostname !!
kernel.domainname = yourdomain #<--- correct domain name !!
fs.file-max = 65536
net.ip_local_port_range = 1024 65000
* Required memory related kernel parameters
(If the current value for any parameter is higher than the value listed in this table, do not change the value of that parameter.)
- SEMMNI 128 Defines the maximum number of semaphore sets in the entire system.
- SEMMNS 32000 Defines the maximum semaphores on the system.
This setting is a minimum recommended value, for initial installation only.
The SEMMNS parameter should be set to the sum of the PROCESSES parameter
for each Oracle database, adding the largest one twice, and then adding
an additional 10 for each database.
- SEMOPM 100 Defines the maximum number of operations for each semop call.
- SEMMSL 250 Defines the minimum recommended value, for initial installation only.
- SHMMAX Set this parameter to half the size of physical RAM available on your system.
This value cannot exceed 4294967295
- SHMMNI 4096 Defines the maximum number of shared memory segments in the entire system.
- SHMALL 2097152 Defines the maximum total shared memory system wide.
* Hostname command should return the fully qualified hostname as shown
below:
% hostname
hostname.domainname
* If any Java packages are installed on the system, unset the Java
environment variables, for example JAVA_HOME.
* The oracle account used to install Oracle 9.2.0.4, should not have
the Oracle install related variables set by default.
For example setting ORACLE_HOME, PATH, LD_LIBRARY_PATH to include
Oracle binaries in .profile, .login file and /etc/profile.d should
be completely avoided.
4. Following Patch 3423540 is required for invoking OUI
Bug 3423540 - RH3.0 AMD64: ERROR WHILE LOADING SHARED LIBRAIES:LIBCWAIT.SO
This patch must be installed on systems running Red Hat Enterprise Linux 3.0
AMD64/EM64T before running the Oracle Universal Installer (for any Oracle product).
Otherwise following errors might be encountered.
Initializing Java Virtual Machine from
/tmp/OraInstall2005-05-26_12-33-14PM/jre/bin/java.
Please wait... Error: can't find libjava.so.
Please select Linux Intel (64-bit) as the platform menu choice for downloading this patch.
This patch is required for 9.2.0.4.0 and above.
glibc-devel-2.3.2-95.3.i386.rpm is required for the successful compilation of the above patch.
If the above is not installed following error will be encountered.
/usr/bin/ld: cannot open crti.o: No such file or directory
5. Now You are ready to invoke your Oracle Universal Installer.
ADDITIONAL NOTES
----------------
1. Linux x86-64, support on AMD64/EM64T and Intel Processor Chips that adhere to the x86-64 architecture with supported Linux releases.
-- Oracle 32-bit running on AMD64/EM64T with 32-bit OS is supported.
-- Oracle 32-bit running on AMD64/EM64T with 64-bit OS is not supported .
2. To improve the performance of the software on Linux systems, you must increase the following shell limits for the oracle user:
* To increase the shell limits:
Add the following lines to /etc/security/limits.conf file:
* soft nproc 2047
* hard nproc 16384
* soft nofile 1024
* hard nofile 65536
Add or edit the following line in the /etc/pam.d/login file, if it does not already exist:
session required /lib64/security/pam_limits.so
Depending on the oracle user's default shell, make the following changes to the default shell startup file:
For the Bourne, Bash, or Korn shell, add the following lines to the /etc/profile file (or the /etc/profile.local file on SuSE systems):
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
For the C or tcsh shell, add the following lines to the /etc/csh.login file (or the /etc/csh.login.local file on SuSE systems):
if ( $USER == "oracle" ) then
limit maxproc 16384
limit descriptors 65536
endif
Also for SSH please add the following line in /etc/ssh/sshd_config
UsePrivilegeSeparation no
Restart the ssh service with "service ssh restart" command
3. Asynchronous I/O on ext2 and ext3 file systems is not supported for Red Hat Enterprise Linux 3.
This issue is tracked through Oracle bug number Bug 3592118.
Asynchronous I/O is supported on raw devices for Red Hat Enterprise Linux 3.
4. No extra patch is required for the DIRECTIO support for x86_64.
5. Following rpm command can be used to distinguish between a 32 bit or 64 bit package.
#rpm --query --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" glibc-devel
glibc-devel-2.3.4.2.9 (i386)
6. The correct name and part no of the CD are as follow.
Name Part #
----- ------
Oracle9i Database Release 2 (9.2.0.4.0) for Linux x86-64 CD 1 of 3 B14882-01
Oracle9i Database Release 2 (9.2.0.4.0) for Linux x86-64 CD 2 of 3 B14883-01
Oracle9i Database Release 2 (9.2.0.4.0) for Linux x86-64 CD 3 of 3 B14884-01
ATTACHMENTS
-----------
rpm_i386_for_9iR2_64bit.zip contains the 32 Bit packages required for Oracle Installation.
#md5sum rpm_i386_for_9iR2_64bit.zip
239483042e2a83b847cc121608a698b5 rpm_i386_for_9iR2_64bit.zip
Attachment 308588.1:1 rpm_i386_for_9iR2_64bit.zip
RELATED DOCUMENTS
-----------------
Oracle9i Release Notes
Release 2 (9.2.0.4) for Linux x86-64
Part No. B13848-02
http://download-west.oracle.com/docs/html/B13848_02/toc.htm
|