Under linux8.0, the configuration instructions for oracle9i

Source: Internet
Author: User
Tags copy mkdir root directory linux
Oracle
(upper part)

Recently did a project, and occasionally used to Linux, and tortured me for several days, in order to no longer let other people suffer the same torture, I decided to write all my configuration down for everyone's reference, oh, if there is a mistake, please forgive me AH!!!

First, System configuration

The following is my machine hardware configuration, only for reference only

Cpu:intel (R) Celeron (TM) CPU 1000MHz

Memory: 512Mbytes

Hard drive: 40GBytes

The above configuration, I think just can meet a Linux system, oracle9i operation, if there are other dongdong, that ... Oh

What about the other? Requires an OS (RedHat Linux8.0 Kernel 2.4.18-14 on a i686),

Also, it is oracle9i (oracle9i R9.2.01 Enterprise Edition).

Above it? is to configure the oracle9i under Linux all the stuff.

Second, oracle9i before installation

Then say, you install linux8.0, note that the root directory (/) partition is about 10G, swap partition for 1G or so (above is according to my hardware configuration)

1, before installation, create a copy oracle9i temporary folder, the contents of your Oracle9i installation disk on the Linux machine, so easy to install, not because of light body, and stop the installation, of course, if you are downloading the oracle9i will not use, the following figure



2, after the copy completes, creates the user group and the user name, the following figure





3, set up the installation directory, as follows:

Mkdir/opt/oracle

Mkdir/opt/oracle/product

mkdir/opt/oracle/product/9.2.0

4, the permissions are as follows:

Chown–r oracle.dba/opt/oracle

See the following figure in detail



5, open a new window and turn to Oracle permissions. and edit the. bash_profile file.





6, insert the following content into the. bash_profile file.

#. Bash_profile
#Oracle En
Export Oracle_base=/opt/oracle
Export oracle_home=/opt/oracle/product/9.2.0
Export ORACLE_SID=ORCL
Export Oracle_team=xteam
Export NLS_LANG=JAPANESE_JAPAN.JA16EUC
#export Nls_lang=japanese_japan.utf-8
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
Path= $PATH: $ORACLE _home/bin

#CLASSPATH
Classpath= $ORACLE _home/jre: $ORACLE _home/jlib: $ORACLE _home/rdbms/jlib: $ORACLE _home/network/jlib: $CLASSPATH
# User specific environment and startup programs

Path= $PATH: $HOME/bin

Export Lang=c

Export PATH
Unset USERNAME

(of which, Nls_lang,lang is because I do the Japanese system, so do, if it is Chinese do not have to write as I do) specific see the following figure



7, and then set the maximum shared memory value,

echo 419000000 >/proc/sys/kernel/shmmax

Cat/proc/sys/kernel/shmmax

The following diagram content




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.