InAIX5LSystem InstallationOracle 9iFor databases, you must first consider system resources, including hard disk space, and then install the Oracle 9i installation media, such as JDK environment installation and environment variable settings, this article describes this process in detail. Next, let's take a look at this installation process.
Environment preparation
1. System Resources
Ü/tmp or disks that can be used as temporary space must have more than 400 MB space.
Measure: $ df-k/tmp, u 256 MB or more physical memory of physical RAM memory
Measure: $/usr/sbin/lsattr-E-l sys0-a realmem
Ü at least two times of physical memory communication space
(On servers with a system physical memory larger than 2 GB, there are less requirements for communication/paging space, but it should not be less than the number of physical memory .)
Measure: $/usr/sbin/lsps & ndashzhengduan.com;
2. monopoly system environment
OS:
Check the host name with the following call: $ uname-
64-bit monopoly system: # bootinfo-y
Possible # bootinfo-K
Required monopoly system patches for Oracle:
IY22854http: // response.
Use the following call to check the PATCH installation: #/usr/sbin/instfix-a-ivk IY22854.
Please take a closer look at the patch situation. In case the OS patch has not been completed, it cannot guarantee Oracle availability.
In addition, you do not need to modify the central parameters when installing Oracle on AIX.
3. Install Media
Prepare the installation media for Oracle Version 9.2.0.1.0. If no media is installed at hand,
Download from OTN:
Http://otn.oracle.com/software/products/oracle9i/htdocs/aix5lsoft.html
Installation
1. Add Oracle users and dba groups
The root user ends up with the following monopoly.
Add oracle users and groups:
Can end with a manual call or "smit security. Create a related directory and change the corresponding permissions.
2. Create software installation points
3. Make sure that Asynchronous Input Output (AIO) is available.
Use the following call: # lsdev-Cc aio
If the output is "Available", it is okay. If it is "Defined", the traversal uses # smit chaio to change "STATE to be configured at system restart" to "Available ".
4. confirm that the math library has been installed in the system.
Use the following call; # lslpp-l boshttp: // www.ptpcn.info/gongsi/523.html.adt.libm
In case of installation failure, you need to use the following call to install bos. adt. libm fileset: # smit install_latest
The following filesets are also required for the AIX5L system:
- # lslpp -l bos.perf.perfstat
-
- # lslpp -l bos.perf.libperfstat
5. Install JDK.
Download: http: // om/developerworks/java/jdk/aix/index.html
6. Set Environment Variables
Set the following environment variables to the ". profile" file of the oracle user:
# The Oracle environment variables of the packettle are for reference. Please make another adjustment in the event of the event!
# ORACLE_SID = DW and Character Set should be selected scientifically
- 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
Manually set DISPLAY to local: export DISPLAY = 172.18.0.1: 0.0, and replace 172.18.0.1 with your local IP address.
Set umask: In the Oracle user's Russian. profile may. login file, set "022" umask: umask 022 to review the environmental variables once worked: % env | more.
Before enabling OUI, use the following call quiz to enable the graphic environment: %/usr/bin/X11/xclock.
8. Start Installation
Use the following call to mount CDROM: # mount-rv cdrfs/dev/cd0/cdrom
Run the rootpre. sh script.
- # /cdrom/rootpre.sh
-
- % cd /tmp
-
- % /cdrom/runInstaller
In case rootpre is not run in advance. sh script, there will be a reminder: Run rootpre as root. sh, and then select y for normal installation. A reminder will be sent to run orainstRoot. sh script. When link ends, a prompt will be sent to run root. sh script, as required.
The method for installing the Oracle 9i Database on AIX5L is described here. I hope this introduction will bring you some benefits. Thank you!