Quickly deploy Oracle on AIX 5L

zhaozj2021-02-16  50

Environmental preparation

1, system resources

ü / TMP or useful Disk to do 400 MB or more space

View method:

$ DF -K / TMP

ü 256 MB Physical memory of Physical Ram Memory

View method:

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

ü At least twice the exchange space of physical memory (on server physical memory greater than 2 GB, the space requirements for exchange / paging will be less, but should not be less than the number of physical memory.)

View method:

$ / usr / sbin / lsps -a

2, operating system environment

OS situation: View the host name as the following command:

$ uname -a

Whether a 64-bit operating system:

#bootinfo -y or #bootinfo -k Oracle needs to be required: IY22854, IY26778, IY28766, IY28949, IY29965, IY30150 can completely use the following command to check Patch installation:

# / usr / sbin / instfix -a -ivk iy22854

Please take care of the patch, if the os patch is not hit, it cannot guarantee Oracle available.

In addition, Oracle is installed on the AIX does not need to modify the core parameters.

3, installation media

Prepare the installation medium of Oracle Version 9.2.0.1.0. If there is no installation medium at hand, you can download it from OTN:

http://otn.racle.com/software/products/oracle9i/htdocs/aix5lsoft.html

installation steps

1, add Oracle users and DBA groups

Use the root user to complete the following. Add Oracle users and groups: You can do it with manual commands or "smit security". Create a relevant directory and change the appropriate permissions.

2, create a software installation point

3, make sure Asynchronous Input Output (AIO) is available.

Use the following command:

# lsdev -cc AIO

If the output is "available", it is no problem. If it is "defined",

# sit chaio

Change "State to Be Configured At System Restart to" Available "

4. Determine Math Library already installed in the system.

Use the following command;

# lslpp -l bos.com.Adt.libm

If you are not installed, you should also use the following command to install Bos.Adt.libm FileSet:

# Smit install_latest

The AIX5L system also needs FileSets as follows:

# lslpp -l bos.perf.Perfstat

# lslpp -l bos.perf.libPerfstat

5, install JDK.

Can be Download: http://www.ibm.com/developerworks/java/jdk/aix/index.html

6. Set the environment variable to set the following environment variables to the ".profile" file of the Oracle user: # Typical Oracle environment variables for reference, please adjust it in detail!

# ORACLE_SID = DW and character sets please make a reasonable choice ORACLE_BASE = u1 / oracle / app; export ORACLE_BASE ORACLE_HOME = $ ORACLE_BASE / product / 9.2.0; export ORACLE_HOME ORACLE_SID = DW; 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 Handmade DISPLAY to Local: Export Display = 172.18.0.1: 0.0

Change 172.18.0.1 to your local IP address.

Set umask:

Set "022" Umask in Oracle User Russia .profile or .login file:

Umask 022

Verify that environment variables have taken effect:

% ENV | More

Before starting OUI, you can use the following command to start the graphics environment:

% / USR / BIN / X11 / XCLOCK

8, start installation

Use the following command to mount CDROM:

# mount -rv CDRFS / DEV / CD0 / CDROM

Run the rootpre.sh script.

# / cdrom/rootpre.sh

% CD / TMP

% / CDROM / RUNINSTALLERERLER

If you don't run the rootpre.sh script in advance, you will be prompted: Run rootpre.sh with root, then choose Y,

Perform normal installation;

There will be a prompt to run an ORAINSTROOT.SH script, and it will be prompted to run the root.sh script at the end of Link, and it can be done as required.

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

New Post(0)