Installation of ORACLE 9I for aix 5L

Source: Internet
Author: User

Note: Because ORACLE 9I is 64-bit, the installed AIX platform must also be 64-bit. If it is not necessary to reinstall or use the Connection Library Function to change it to 64-bit
To change to 64 bit multi-processor mode:
# Ln-sf/usr/lib/boot/unix_64/unix
# Ln-sf/usr/lib/boot/unix_64/usr/lib/boot/unix
# Bosboot-ad/dev/ipldevice
# Shutdown-r

1. Confirm the system environment

1. host environment
Model: IBM P630
CPUs: 1000 MHz
MEM: 1g min 512 M)
$/Usr/sbin/lsattr-E-l sys0-a realmem
Realmem 12582912 Amount of usable physical memory in Kbytes False
/Tmp: 1000 m min 500 M)
$ Df-k/tmp
Filesystem 1024-blocks Free % Used Iused % Iused Mounted on
/Dev/hd3 655360 603088 8% 69 1%/tmp
?? SWAP: 6G is generally 2 times better than MEM, but because our memory is already very large, we do not follow the general rules
Then)
$/Usr/sbin/lsps-
Page Space Physical Volume
Group Size % Used Active Auto Type
Hd6 hdisk0 rootvg 6144 MB 1 yes
Lv
?? /Oracle: 38g min 3.5G. This directory is used to install software and Store source and oracle9 users.
)
$ Df-k/oracle

Filesystem 1024-blocks Free % Used Iused % Iused Mounted on
/Dev/oracle 38010880 28495268 26% 64272 1%/oracle

2. Operating System Environment
OS: AIX 5L 64bit and 64-bit kernel mode, host name ERP01
$ Uname-
AIX hawk3 1 5 000BD81A4C00
Hawk3:/# bootinfo-y
64
Hawk3:/# bootinfo-K
64
OS PATCH: Oracle requires PATCH:
IY22854, IY26778, IY28766, IY28949, IY29965, IY30150, etc.
You can use the following command to check the required PATCH, for example:
#/Usr/sbin/instfix-a-ivk IY22854
With X-window, 32bit JAVA Version1.3.1 is separately installed. You can download from here:
Http://www.ibm.com/developerworks/java/jdk/aix/index.html

3. Oracle version

1. Download jdk1.3.1 for aix from the ibm website. Download The liences of jdk1.3.1 and use the tar command to unpackage the two files in the same directory.
Http://www.ibm.com/developerworks/java/jdk/index.html
2. Use smitty installp for installation. Select jdk1.3.1 and jdk1.3.1license. Pay attention to Preview new LICENSE agreements? Select yes. Otherwise, an error occurs during installation.
3. As the bos. rte. libc version is prompted during installation, update to the ibm website to download the update package https://techsupport.services.ibm.com/server/aix.fixsearch51. Other update packages can also be downloaded.
4. Install the downloaded five update packages and reinstall jdk.
5. Change/etc/environment path to/usr/jdk13 and relogin
View the current java version
Oracle Version 9.2.0.1.0. If you do not have any oracle media, download from here:
Http://otn.oracle.com/software/products/oracle9i/htdocs/aix5lsoft.html
It is usually used to copy files to the hard disk and decompress the package using gunzip and cpio-idmv.

Ii. Installation Steps

1. Use the root user to complete the following operations
Add oracle users and groups: You can use commands or smit. Generally, I only create dba groups.
Create related directories and change related permissions.

2. Set Environment Variables

Set the following environment variables to the. profile of the oracle user:
# Oracle Environment
ORACLE_BASE =/oracle/app; export ORACLE_BASE
ORACLE_HOME = $ ORACLE_BASE/product/9.2.0; export ORACLE_HOME
ORACLE_SID = ora9; export ORACLE_SID
ORACLE_TERM = vt100; export ORACLE_TERM
TNS_ADMIN = $ ORACLE_HOME/network/admin; export TNS_ADMIN
NLS_LANG = american_america.zhs16cgb231280; export NLS_LANG
ORA_NLS33 = $ ORACLE_HOME/ocommon/nls/admin/data; export ORA_NLS33
LD_LIBRARY_PATH = $ ORACLE_HOME/lib:/usr/lib; export LD_LIBRARY_PATH
LIBPATH = $ ORACLE_HOME/lib: $ ORACLE_HOME/ctx/lib; export LIBPATH
ORA_DB = $ ORACLE_HOME/dbs; export ORA_DB
CLASSPATH = $ ORACLE_HOME/JRE/lib: $ ORACLE_HOME/JRE/lib/rt. jar: $ ORACLE_HOME/jlib:
$ ORACLE_HOME/rdbms/jlib; export CLASSPATH
PATH = $ ORACLE_HOME/bin: $ PATH; export PATH
Manually set DISPLAY to local:
Export DISPLAY = 10.16.98.16: 0.0

3. Start Installation

After runInstaller is run, the system prompts you to run rootpre as root. sh, and then select y for normal Installation. We recommend that you select custom for "Installation Types" to install components. Generally, you do not need to create a database during the Installation process, this can be completed separately after the installation is complete. A prompt will be displayed to run orainstRoot. sh script. When link is about to end, the system will prompt you to run root. sh, as required.


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.