Installation of Oracle9204forRHAS3

Source: Internet
Author: User
Welcome to the Oracle community forum and interact with 2 million technical staff. 1. system requirements: The minimum memory size is 256 MB. We recommend that you install 512 MB and 5 Gb hard disk space (AS3 custom installation, the operating system is about 2 GB, oracle9204 is about 2.5 GB). If you copy the oracle Installation File to the hard disk and then install it, you need 7 GB. The swap partition is twice the memory.

Welcome to the Oracle community forum and interact with 2 million technical staff> Entry 1. system requirements: The minimum memory size is 256 MB. We recommend that you install 512 MB and 5 Gb hard disk space (AS3 custom installation, the operating system is about 2 GB, oracle9204 is about 2.5 GB). If you copy the oracle Installation File to the hard disk and then install it, you need 7 GB. The swap partition is twice the memory.

Welcome to the Oracle community forum and interact with 2 million technical staff> enter

I. system requirements:

 
The minimum memory size is 256 MB. It is recommended that the disk space be 512 MB and 5 GB (AS3 custom installation, the operating system is about 2 GB, and oracle9204 is about 2.5 GB ), if the oracle Installation File is copied to the hard disk and then installed, it requires 7 GB. The swap partition is twice the memory size. If the memory is 1 GB or larger, check the physical memory with the same memory size: # grep MemTotal/proc/meminfo view swap partition size: #/sbin/swapon? S

2. Preparations before installation:

 
Oracle9204 install software (a total of three disks, can download to the http://www.oracle.com), oracle9204 Patch: license is the agent patch, if you do not play these two patches agent can not start normally. Because the patch p3095277_9204_linux.zip is directly installed, it is unnecessary.

3. Check whether the following software packages are installed:

 
Compat-db-4.0.14-5.i386.rpm compat-gcc-7.3-2.96.122.i386.rpm compat-gcc-c ++-7.3-2.96.122.i386.rpm compat-libstdc ++-7.3-2.96.122.i386.rpm compat-libstdc ++-devel-7.3-2.96.122.i386.rpm openmotif21-2.1.30-8.i386.rpm setarch-1.3-1.i386.rpm tcl-8.3.5-92.i386.rpm check package # rpm? Qa | grep compat compat-db-4.0.14-5.i386 compat-gcc-7.3-2.96.122.i386 compat-gcc-c ++-7.3-2.96.122.i386 compat-libstdc ++-7.3-2.96.122.i386 compat-libstdc ++-devel-7.3-2.96.122.i386 # rpm? Qa | grep openmotif21 openmotif21-2.1.30-8.i386

# Rpm? Qa | grep setarch setarch-1.3-1.i386

# Rpm? Qa | grep tcl tcl-8.3.5-92.i386 on the third AS3 and other CD has installed software packages, for example: # rpm? Ihv compat-compat-gcc-7.3-2.96.122.i386.rpm note: the installation of software packages is sequential.

Iv. Set System Parameters

 
1. modify gcc, g ++ version mv/usr/bin/gcc/usr/bin/gcc323 ln-s/usr/bin/gcc296/usr/bin/gcc mv/usr/bin /g ++/usr/bin/g ++ 323 ln-s/usr/bin/g ++ 296/usr/bin/g ++ note: if gcc296, g ++ 296 is not installed, install this package first. set Kernel Parameter Modification/etc/sysctl. conf,/etc/security/limits. conf files # vi/etc/sysctl. add the following kernel Parameter to conf. shmmax = 2147483648 (in bytes, physical memory x 1024x1024x2, twice the physical memory)

Kernel. shmmni = 4096 kernel. shmall = 2097152 kernel. sem = 250 32000 100 128 fs. file-max = 65536. net. ipv4.ip _ local_port_range = 1024 save and exit. Execute the following command to make the configuration take effect immediately # sysctl-p # vi/etc/security/limits. add the following parameter to conf: oracle hard nofile 65536 oracle soft nofile 65536 oracle hard nproc 16384 oracle soft nproc 16384

  5. Create and run oracle Data

 
System Management users and setting their environment variables 1. Creating groups and users # groupadd oinstall # groupadd dba # useradd-g oinstall-G dba oracle # passwd oracle

2. Set the user environment variable to open a new terminal window in oracle or on the root terminal window # su? Oracle $ vi $ HOME/bash_profile add export LD_ASSUME_KERNEL = 2.4.1 export ORACLE_BASE =/u01/app/oracle export ORACLE_HOME = $ ORACLE_BASE/product/9.2.0 export ORACLE_SID = myora export ORACLE_TERM = xterm # export TNS_ADMIN = Set if sqlnet. ora, tnsnames. ora, etc. are not in $ ORACLE_HOME/network/admin-this is the location where the parameter file is set, for example, tnsnames. ora, sqlnet. ora, spfilexxx. ora export NLS_LANG = "Simplified Chinese_china ". ZHS16GBK export ORA_NLS33 = $ ORACLE_HOME/ocommon/nls/admin/data export LD_LIBRARY_PATH = $ LD_LIBRARY_PATH ORACLE_HOME/lib:/usr/lib: /usr/local/lib export PATH = $ PATHORACLE_HOME/bin $ source $ HOME /. bash_profile-make the settings take effect immediately or log on to the system again. create an oracle installation directory and open another terminal window as the root user # mkdir-p/u01/app/oracle # chown? R oracle. oinstall/u01/app/oracle # chmod? R 775/u01/app/oracle # mkdir/var/opt/oracle # chown? R oracle. dba/var/opt/oracle # chmod? R 775/var/opt/oracle

6. Install the oracle Database System(The current user is root)

1. Unpack # unzip ship_9204_linux_disk1.cpio.gz # unzip ship_9204_linux_disk2.cpio.gz # unzip ship_9204_linux_disk3.cpio.gz # cpio? Idmv <-The graphical interface for oracle installation is started in English. When the export runInstaller fails, the graphic installation interface cannot be started on the terminal of another oracle user identity $. #-This step is critical. If you do not execute this step, run the + xhost rhel3_pre_install.sh 3006854 cd Patch # unzip 2.unzip patch package p3006854_9204_linux.zip Disk3 oracle. oinstall? R chown Disk2 Disk1? Idmv

Enter the Disk1 directory $./runInstaller Database User Group as "dba"

During installation, remember to select the multi-language core character set (AL32UTF). During installation, the system will prompt you to run/tmp/orainstRoot with root. sh,/u01/app/oracle/product/9.2.0/root. sh. The agent fails to be started when the two scripts are installed, and the next step is skipped ....

Patch the agent to fix the bug that the agent cannot be started normally (or the oracle user identity)

First stop some background services in oracle $ sqlplus "sys/as sysdba"-prompt to enter the password of the oracle sys user, and press enter to access SQL>; shutdown immediate SQL>; lsnrctl stop $ unzip restart $ cp p2617419_210_GENERIC.zip/tmp $ cd/tmp $ unzip p2617419_210_GENERIC.zip $ export PATH = $ PATH:/tmp/Opatch $ export PATH = $ PATH: /sbin $ cd ...... /...... /3238244 $ opatch apply $ cd $ ORACLE_HOME/network/lib $ make? F ins_oemagent.mk install $ sqlplus "sys/as sysdba"-prompt to enter the password and press enter to skip SQL>; startup SQL>; exit $ lsnrctl start run $ agentctl start test whether the agent works properly $ agentctl start if the database cannot be started normally, run $ dbca to delete the old database and create a new database. 7. After installation enter/u01/app/oracle/product/9.2.0/network/admin/sqlnet. add SQLNET. AUTHENTICATION_SERVICE = (CNT)

If you run sqlplus on a local host and Log On As A Database System Administrator, you must enter a password to access the oracle database system.

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.