Install Oracleamd64_db_9204 on Redhat-Linux-Enterprise-AS4-Up2

Source: Internet
Author: User
1. Check whether the system information meets the Oracle Installation Requirements of df-k | greptmp # gt; 521Mmoreprocmeminfo | grepMemTotal # gt; 512 MBmor

1. Check whether the system information meets Oracle installation requirements. df-k | grep tmp # gt; 521 Mmore/proc/meminfo | grep MemTotal # gt; 512 MBmor

1. Check whether the system information meets the Oracle installation requirements.
Df-k | grep tmp # & gt; 521 M
More/proc/meminfo | grep MemTotal # & gt; 512 MB
More/proc/swaps #> 1024 MB
More/proc/sys/kernel/sem #> = 250 32000 100 128
More/proc/sys/kernel/shmmax #> = 2*1024*1024*1024
More/proc/sys/kernel/shmmni #>= 4096
More/proc/sys/kernel/shmall #> = 2*1024*1024
More/proc/sys/file-max #>= 65536
More/proc/sys/net/ipv4/ip_local_port_range # = 1024 65000
I can't do anything to change the physical memory!
The command for adding a temporary swap space is as follows:
Su-root
Dd if =/dev/zero of = tmpswap bs = 1 k count = 900000
Chmod 600 tmpswap
Mkswap tmpswap
Swapon tmpswap
Run the following command to uninstall a temporary swap:
Su-root
Swapoff tmpswap
Rm tmpswap
Run the following command to add a temporary/tmp space:
Su-root
Mkdir/ /Tmp
Chown root. root/ /Tmp
Chmod 1777/ /Tmp
Export TEMP =/ # Used by Oracle
Export TMPDIR =/ # Used by Linux programs like the linker "ld"
Run the following command to detach a temporary/tmp space:
Su-root
Rmdir/ /Tmp
Unset TEMP
Unset TMPDIR

If other parameters do not meet the preceding requirements, change them as follows:
Echo 250 32000 100 128>/proc/sys/kernel/sem
The rest are done in the same way.
2. Check the packeg required for oracle installation.
Make
Compat-db
Compat-gcc-32
Compat-gcc-32-c ++
Compat-libcwait
Compat-libgcc-296
Compat-libstdc ++-296
Compat-libstdc ++-33
Compat-gcc-32-3.2.3-47.3
Compat-gcc-32-c + +-3.2.3-47.3
Gcc
Gcc-c ++
Gnome-libs
Gnome-libs-devel
Libaio-devel
Libaio
Make
Openmotif21
Xorg-x11-deprecated-libs-devel
Xorg-x11-deprecated-libs
Run the rpm-q packeg_name command to check whether the above-mentioned packeg is installed and the version must be 64-bit;
If an uninstalled packeg exists, run the rpm-qpR rpm_packeg_name command to query the dependency of the package to be installed;
Use rpm-ivh rpm_packeg_name to install packeg.
3. Create users and groups
Groupadd dba
Groupadd oinstall
Useradd-d/home/oracle-g oinstall-G dba oracle
Passwd oracle
4. Create an oracle home
Mkdir/opt/oracle
Chown-R oracle: oinstall/opt/oralce
Make sure that the tablespace size is greater than 3.5 GB.
5. Set oracle user environment variables
Edit/home/oracle/. bash_profile and add the following content:
Export LD_ASSUME_KERNEL = 2.4.1
Export ORACLE_BASE =/opt/oracle
Export ORACLE_HOME = $ ORACLE_BASE/product/9.2.0
Export ORACLE_SID = ntgis
Export ORACLE_TERM = xterm
Export NLS_DATE_FORMAT = 'yyyy-MM-DD HH24: MI: ss'
Export ORA_NLS33 = $ ORACLE_HOME/ocommon/nls/admin/data
Export LD_LIBRARY_PATH = $ ORACLE_HOME/lib:/usr/local/lib:/usr/lib64
Export PATH = $ PATH: $ ORACLE_HOME/bin
Umask 022
Ulimit-n 65536
Ulimit-u 16384
6. Install oracle
Copy the downloaded ISO file to the/opt directory and run the following command:
Unzip amd64_db_9204_Disk *. gz
Cpio-idmv <Linux9i_Disk1.cpio
Cpio-idmv <Linux9i_Disk2.cpio
Cpio-idmv <Linux9i_Disk3.cpio
Find a virtual machine or another system, install the glibc-devel-2.3.4-2.13.i386.rpm,
Copy the/usr/lib/crt *. */usr/lib/libc_nonshared.a file to the/usr/lib/directory of the current system.
Use Xmanager and other tools to log on to the desktop.
Su oracle
Cd
../. Bash_profile
Export DISPLAY = HOSTIP: 0.0
Cd/opt/Disk1
./RunInstaller
The rest is the familiar Oracle Installation interface!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.