Oracle 9i installation on AIX

zhaozj2021-02-08  236

Oracle 9i installation on AIX

Operating environment: RS6000 / AIX 4.3.3 / Shell: Korn (KSH) / Virtual X-Window

Installation media: CD, total four, file name is AIX64_901_Disk (1-5) .cpio

Installation method: hard disk installation method

installation steps:

1. Prepare before installation

■ Establish a directory / oratMP, this directory is used to save the installation file, in order to understand the pressure, this directory should have at least 3G

■ 5. CPIO files in some directories, separately decompressed in the following command:

$ cpio -idcmv

■ You can delete the original .CPIO file to make the remaining space

2, check system requirements

Check the contents of the table system configuration requirements of Appendix 1

3, pre-installation

■ Complete the root user installation task

□ Log in with root users

□ Create a directory / oracle, at least 3G or more disk space under this directory, see Appendix 1

□ Run $ SMIT to establish the following three groups

DBO

Oper

Oinstall

□ Run $ SMIT to build users

Oracle This account is just used to install and update Oracle software, the following is its properties:

PRIMARY Group: Oinstall

Group set: OinsTall, DBA

Home Directory: / HOME / ORACLE

Initial Program: / usr / bin / ksh

□ Set environment variables

Set the following environment variables to the launch script of Oracle users. Profile and .dtprofile, the content is as follows:

# Oracle Environment

Oracle_base = / oracle; export oracle_base

Oracle_Home = $ Oracle_Base / Product / 9.0.1; Export Oracle_home

Oracle_sid = xmedi; export oracle_sid

Oracle_Term = xterm; Export Oracle_Term

TNS_ADMIN = $ ORACLE_BASE / CONFIG / 9.0.1; Export TNS_ADMIN

NLS_LANG = American-America.utf8; Export NLS_LANG

ORA_NLS33 = $ Oracle_Home / Ocommon / NLS / Admin / Data; Export ORA_NLS33

LD_LIBRARY_PATH = $ ORACLE_HOME / LIB: / LIB: / USR / LIB: / USR / OpenWIN / LIB

LD_LIBRARY_PATH = $ LD_LIBRARY_PATH: / USR / TD / LIB: / USR / UCBLIB: / USR / LOCAL / LIB

Export ld_library_path

#Classpath Must Include The Following Jre Locations:

ClassPath = $ oracle_home / jre: $ oracle_home / jlib: $ ORACLE_HOME / RDBMS / JLIB

ClassPath = $ ClassPath: $ Oracle_Home / Network / Jlib

# Set shell search paths:

PATH = / usr / bin: / USR / USB: / USR / UCB: $ HOME / BIN: / USR / BIN / X11: / SBIN:

Path = $ path: / bin: / OPT / bin: / usr / ccs / bin: / usr / openwin / bin: / opt / local / gnu / bin

PATH = $ path: / opt / local / bin: / OPT / NSCPNAV / BIN: $ ORACLE_HOME / BINPATH = $ PATH: / USR / local / Samba / BIN: / USR / UCB:

Export Path

# set TMP

Temp = / TMP; Export Temp

TMPDIR = / TMP; Export Tmpdir

Display = 192.168.13.14: 0.0; Export Display

■ Start installation

□ Log in with Oracle User

□ Run Oracle Universal Install

Run the following command to start (Note: Can't run in the Oracle9i directory, otherwise you will fail)

$ / ORATMP / DISK1 / RUNINSTALLER

□ The "Welcome" dialog box appears, select "Next"

□ The "Inventory Location" dialog box appears, specified as "/ Oracle" Click "OK"

□ A "Unix Group Name" dialog box appears, enter Oinstall, click "Next"

□ At this time, if there is no operation in the pre-installation, it will be prompted to execute ORAINSTROOT.SH.

□ "File Locations", click "Next"

□ The "Available Products" dialog box appears, select the component you want to install, click "Next"

□ The "Installation Types" dialog box appears, select "Enterprise Edition", click "Next"

□ The "Component Locations" dialog box appears, click "Next"

□ The "Database Configuration" dialog box appears, select "General Purpose" Click "Next"

□ The "Database Identification" dialog box appears, enter the global database name "EB.EDIB" and SID (EB), click "Next"

Note: Oracle recommendation, SID does not exceed 4 letters

If the machine domain name: abc.com, SID is TEST, the global database is eb.domain.com

□ The "Database File Location" dialog box appears, select the Mount Point established in front, determine, click "Next"

□ A "Database Character SET" dialog box appears, select the character set

□ The "Summary" dialog appears, check if everything is OK, click "Install", start the installation, insert the corresponding disk according to the prompt

□ The "Setup Privileges" dialog box appears, follow the prompt to run "root.sh" script, run the method:

# CD $ ORACLE_HOME

# ./root.sh

When prompted in the run, specify the location established in the pre-installation location

□ A "Configuration Tools", "Apache Web Server Configuration Assistant", "Oracle Net Configuration Assistant" dialog box, which does not require artificial processes in these operations

□ The "Database Configuration Assistant" dialog box appears, press the prompt to enter SYS and System password

□ Complete the installation

Appendix 1 System Installation Minimum Configuration Checklist

System installation minimum configuration checklist

Note

Claim

Auxiliary command

carry out

Hardware requirements

Minimum 256MB of memory

$ / usr / bin / lsattr - E -l sys0 -a realmem

Not less than 2 times memory or 400M SWAP Space or

$ / usr / bin / lsps -a

CD-ROM

Operating system software requirements

Operating system: AIX 4.3.3

$ usr / bin / oslevel

Operating system patch, see Appendix 2

View all patch

$ / usr / sbin / instfix -a

View some patch

$ / usr / sbin / instfix -ik maintenance_level

oral

$ / usr / sbin / instfix -a -ivk apar_number

View some patch example

/ usr / sbin / instfix -ik 4330-07_aix_ml

or

/ usr / sbin / instfix -a -ivk iY15138

3GB or more disk space

Database software (2.5G)

Basic (SEED) database (1G)

SHELL FILE file limit

$ ulimit -f

This should be changed when establishing a file system

Temporary disk space in more than 400M

/ TMP directory

$ / usr / bin / df -k / tmp

This is the requirements of Oracle Universal Installer, if not enough, can create / TMP on additional file systems, set TEMP and TMPDIR environment variables, examples:

$ MKDIR / U03 / TMP

$ TEMP = / U03 / TMP; Export Temp

$ TMPDIR = / U03 / TMP; Export Tmpdir

JRE PATCHES

$ JRE

Oracle requires at least JRE 1.1.8.5.

JDK PATCHES

$ java -version

Oracle HTTP Server needs to use JDK, at least 1.2.2.04, will be prompted during the process of installing this

Guaranteed that the following two files can be written for Oracle users

/etc/orainst.loc

/ etc / oracab

The following command guarantees this item

Log in to Oracle User

Touch /etc/orainst.loc / etc / oracab

Then delete these two files

These two files are automatically created by Oracle at installation

Operation system file set (FileSets)

View all FileSets

$ lslpp -l

View a filesets

$ lslpp -l [fileset_name]

View X-Window

$ xClock

All required files collection Appendix 3

server information

CPU name

IP address

domain name

Appendix 2 AIX 4.3.3 Operating System Patch Requirements Status

Patch name

Note

IY01050

Required

IY03478

Required for Oracle Parallel Server

IY04109

Required for Oracle Parallel Server

IY04109

Required for Oracle Parallel Server

IY04149

Required for Oracle Parallel Server

IY04767

Required for Oracle Parallel Server

IY07276

Required

IY6749

Required for Oracle Parallel Server

Appendix 3 Operating System File Set Requirements

Patch name

Note

Filesets

Bos.Adt.base

Bos.Adt.lib

Bos.Adt.libm

X11.apps.rte

X11.apps.xterm

X11.base.rte

X11.Motif.lib

X11.Motif.mwm

Required Executables

The following executable files Make, Ar, LD, NM

转载请注明原文地址:https://www.9cbs.com/read-1212.html

New Post(0)