Oracle 9i installation on Red Hat Enterprise Linux 3 as U2

Source: Internet
Author: User
Tags dba linux
Enterprise|oracle
1) Hardware Environment
At least 512MB RAM, but 256MB due to test enough
Hard drive must be at least 6G (2G system +4g database)

2) Installation RHEL3ASU2
Choose the minimum installation, about 500 MB.
Turn off the firewall.
Fixed IP, no DHCP
Swap is twice times the ram and at least 400MB

3) Extract the installation files
Zcat ship_9204_linux_disk1.cpio.gz | Cpio-idmv
Zcat ship_9204_linux_disk2.cpio.gz | Cpio-idmv
Zcat ship_9204_linux_disk3.cpio.gz | Cpio-idmv

4) Environment setting
echo "kernel.shmmax=2147483648" >>/etc/sysctl.conf

5) Install the compilation package
RPM-UVH cpp-3.2.3-34.i386.rpm \
GCC-3.2.3-34.I386.RPM \
GLIBC-DEVEL-2.3.2-95.20.I386.RPM \
GLIBC-HEADERS-2.3.2-95.20.I386.RPM \
GLIBC-KERNHEADERS-2.4-8.34.I386.RPM \
compat-libstdc++-7.3-2.96.128.i386.rpm

6) Add Users
Groupadd dba
Groupadd Oinstall
USERADD-G oinstall-g dba Oracle
passwd Oracle

7) Set up the installation directory
Mkdir/u01/oracle/product/9.2.0-p
Chown-r oracle.oinstall/u01/oracle

8 Configure Environment variables
Edit/home/oracle/.bash_profile, add
# Use the ' Linuxthreads with floating stacks ' implementation instead of NPTL:
Export ld_assume_kernel=2.4.1

# Oracle Environment
Export Oracle_base=/u01/oracle
Export oracle_home=/u01/oracle/product/9.2.0
Export Oracle_sid=test
Export Oracle_term=xterm
Export Nls_lang=american_america. ZHS16GBK;
Export ora_nls33= $ORACLE _home/ocommon/nls/admin/data
Export Ld_library_path= $ORACLE _home/lib:/lib:/usr/lib:/usr/local/lib

# Set Shell Search paths
Export path= $PATH: $ORACLE _home/bin




Related Article

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.