# Installing Oracle Database 11.2.0.4 on AIX 7.2
Operating System: AIX 7200-03-03-1913
Oracle Database: p13390677_112040_AIX64-5L_{1..2}of7.zip
# Completing Preinstallation Tasks Manually
- Configuring host name resolution.
# vi /etc/hosts
192.168.3.113 oracle11g
# smit hostname
- Memory requirements:
# /usr/sbin/lsattr -E -l sys0 -a realmem
realmem 2097152 Amount of usable physical memory in Kbytes False
- Swap space recommendation:
# /usr/sbin/lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type Chksum
hd6 hdisk0 rootvg 512MB 1 yes yes lv 0
# chps -s 48 hd6
# /usr/sbin/lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type Chksum
hd6 hdisk0 rootvg 2048MB 0 yes yes lv 0
- At least 1 GB of space in the /tmp directory.
# df -m /tmp
Filesystem MB blocks Free %Used Iused %Iused Mounted on
/dev/hd3 608.00 606.46 1% 24 1% /tmp
# chfs -a size=1024M /tmp
- System architecture.
# /usr/bin/getconf HARDWARE_BITMODE
64
# bootinfo -K
64
- The following operating system filesets are required for AIX 7.2:
bos.adt.base
bos.adt.lib
bos.adt.libm
bos.perf.libperfstat
bos.perf.perfstat
bos.perf.proctools
xlC.aix61.rte.13.1.2.0 or later
xlC.rte.13.1.2.0 or later
# lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.perfstat \
bos.perf.libperfstat bos.perf.proctools xlC.aix61.rte xlC.rte
# Installing the Oracle Database Software
Create Oracle software owner user accounts.
mkgroup -'A' id='1000' adms='root' oinstall | |
mkgroup -'A' id='1100' adms='root' oper | |
mkgroup -'A' id='1200' adms='root' dba | |
mkuser id='1101' pgrp='oinstall' groups='dba,oper' home='/home/oracle' oracle | |
passwd oracle | |
chuser fsize=-1 oracle | |
chuser cpu=-1 oracle | |
chuser data=-1 oracle | |
chuser stack=-1 oracle | |
chuser nofiles=65536 oracle | |
chuser stack_hard=-1 oracle | |
chuser nofiles_hard=65536 oracle | |
chuser umask=022 oracle | |
chuser gecos=oracle@$(hostname -s) oracle | |
lsuser oracle |
Create Oracle software directories.
mkdir -p /u01/app/oracle | |
mkdir -p /u01/app/oraInventory | |
chown -R oracle:oinstall /u01/app | |
chmod -R 775 /u01/app |
Configure Oracle software owner user account environment.
cat >>/home/oracle/.profile <<"EOF" | |
export ORACLE_BASE=/u01/app/oracle | |
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1 | |
export ORACLE_SID=orcl | |
export PATH=/usr/sbin:$PATH | |
export PATH=$ORACLE_HOME/bin:$PATH | |
EOF |
Unzip database software files, login as the oracle user, run installer.
# chown -R oracle:oinstall /exp/soft | |
# chmod -R 775 /exp/soft | |
# Login as oracle user. | |
$ unzip -q -d /exp/soft/ /exp/soft/p13390677_112040_AIX64-5L_1of7.zip | |
$ unzip -q -d /exp/soft/ /exp/soft/p13390677_112040_AIX64-5L_2of7.zip | |
# /exp/soft/database/rootpre.sh | |
/exp/soft/database/rootpre.sh output will be logged in /tmp/rootpre.out_25-11-05.04:18:45 | |
Checking if group services should be configured.... | |
Nothing to configure. | |
$ /exp/soft/database/runInstaller |
# Reference
- https://www.howtosop.com/installation-guide-on-aix-for-all-releases-of-oracle-database/
- https://www.ibm.com/support/pages/aix-x11-how-enable-x11-forwarding-ssh