oracle9.2 installed in redhad2.1

Source: Internet
Author: User
Tags dba mkdir
Oracle oracle9.2 installed in redhad2.1




1. Create Oracle Users

Su-root



Groupadd dba



Groupadd Oinstall



USERADD-G oinstall-g dba Oracle



passwd Oracle



2. Create installation directory

Su-root



Mkdir/opt/oracle



Mkdir/opt/oracle/product



mkdir/opt/oracle/product/9.2.0



Chown-r oracle.oinstall/opt/oracle







Mkdir/var/opt/oracle



Chown oracle.dba/var/opt/oracle



chmod 755/var/opt/oracle



3. Set environment variables. Change Oracle's. bash_profile file



Su–oracle



VI. bash_profile



Change to the following:

#. Bash_profile







# get the aliases and functions



If [f ~/.BASHRC]; Then



. ~/.bashrc



Fi







# User specific environment and startup programs







Path= $PATH: $HOME/bin



Export Oracle_base=/opt/oracle



Export oracle_home=/opt/oracle/product/9.2.0



Export ORACLE_SID=ACCMS



Export Oracle_term=xterm



Export Nls_lang=american_america. Zhs16gbk



Export ora_nls33= $ORACLE _home/ocommon/nls/admin/data



Ld_library_path= $ORACLE _home/lib:/lib:/usr/lib



Ld_library_path= $LD _library_path:/usr/local/lib



Export Ld_library_path



Export path= $PATH: $ORACLE _home/bin



Classpath= $ORACLE _home/jre: $ORACLE _home/jlib: $ORACLE _home/rdbms/jlib



Classpath= $CLASSPATH: $ORACLE _home/network/jlib



Export CLASSPATH







Exit after saving. Execution: source. bash_profile



4. Change memory Parameters:

Su–root



echo ' expr 1024 \* 1024 \* 1024 ' >/proc/sys/kernel/shmmax



To view the results of changes:



Cat/proc/sys/kernel/shmmax



See if it is:



1073741824

5. View RPM Package

Rpm-q gcc cpp compat-libstdc++ glibc-devel glibc-kernheaders binutils



Whether there are

Gcc



Cpp

Glibc-devel

Compat-libstdc++

Kernel-headers (for RH 7.1, 7.2, 2.1AS)

Glibc-kernheaders (for RH 7.3, 8.0, 9)

Binutils





6. Copy files

Su–root



Mount/mnt/cdrom



cp/mnt/cdrom/*/bak/



A total of 3 pieces of disk

7. Decompression

Gunzip 1th Disk File name



Gunzip 2nd Disk File name



Gunzip 3rd Disk File name



CPIO-IDMV < Ship_9204_linux_disk1.cpio



CPIO-IDMV < Ship_9204_linux_disk2.cpio



CPIO-IDMV < Ship_9204_linux_disk3.cpio





8. Installation

Su-oracle

cd/bak/disk1/

./Runinstaller

Follow the prompts to install






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.