8i | 9i | 10g | 11g | 12c | 13c | 18c | 19c | 21c | 23c | Misc | PL/SQL | SQL | RAC | WebLogic | Linux

Home » Articles » 9i » Here

Oracle9iAS (9.0.2.0.1) Portal Installation On Tru64 5.1b

Oracle 9iAS Portal is a web-based development tool allowing rapid development of portal style web applications. In this article I'll briefly describe the installation of Oracle Infrastructure, a prerequisite, and Oracle Portal.

Download Software

Download Sun's Java Development Kit (JDK 1.3.1).

Download the Oracle installation files from Oracle Technology Network.

Unpack Files

First unzip the files.

gunzip tru64_iasv90201_Disk1.cpio.gz
gunzip tru64_iasv90201_Disk2.cpio.gz
gunzip tru64_iasv90201_Disk3.cpio.gz
gunzip tru64_iasv90201_Disk4.cpio.gz

Next unpack the contents of the files.

cpio -idcmv < tru64_iasv90201_Disk1.cpio
cpio -idcmv < tru64_iasv90201_Disk2.cpio
cpio -idcmv < tru64_iasv90201_Disk3.cpio
cpio -idcmv < tru64_iasv90201_Disk4.cpio

You should now have four directories (Disk1, Disk2, Disk3 and Disk4) containing installation files.

Hosts File

The "/etc/hosts" file must contain a fully qualified name for the server.

<IP-address>  <fully-qualified-machine-name>  <machine-name>

Set Kernel Parameters

The following table contains minimum kernel settings. If the current settings exceed these figures then do not alter them.

Parameter Minimum Setting
SHM_MAX 4278190080
SHM_MIN 1
SHM_MNI 256
SHM_SEG 128
MAX_PER_PROC_STACK_SIZE 33554432
PER_PROC_STACK_SIZE 33554432
PER_PROC_DATA_SIZE 201326592

The current settings can be viewed using the following commands.

/sbin/sysconfig -q ipc
/sbin/sysconfig -q proc

If any settings need to be altered they can be added to the end of the "/etc/sysconfigtab" file. The typical alterations are shown below.

ipc:
  shm_max = 4278190080
  shm_mni = 256
  shm_seg = 128

proc:
  per_proc_stack_size = 33554432
  per_proc_data_size = 201326592

Once the file is altered the server must be rebooted to take on the new settings. This can be done using the following command.

shutdown -r now

Setup

Install the Java development kit.

tar -xvjf your_JDK_version -C /usr/opt/

Create the new groups and users.

groupadd oinstall
groupadd dba
groupadd oper

useradd -g oinstall -G dba oracle
passwd oracle

Create the directories in which the Oracle software will be installed.

mkdir /u01/app
mkdir /u01/app/oracle
mkdir /u01/app/oracle/product
mkdir /u01/app/oracle/product/infra
mkdir /u01/app/oracle/product/portal
chown -R oracle.oinstall /u01/app

Login as root and issue the following command.

xhost +<machine-name>

Login as the oracle user and add the following lines at the end of the ".profile" file.

TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR

# Oracle Infrastructure
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/infra; export ORACLE_HOME
ORACLE_SID=iasdb; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_HOME/dcm/bin; export PATH
PATH=$PATH:$ORACLE_HOME/Apache/Apache/bin
PATH=$PATH:/usr/opt/java131:/usr/opt/java131/bin; export PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH

DISPLAY=<machine-name>:0.0; export DISPLAY

stty erase ^H    # ^H added using [Ctrl + V] [Backspace]
ksh -o emacs
set filec

Infrastructure Installation

Log into the oracle user. If you are using X emulation then set the DISPLAY environmental variable.

DISPLAY=<machine-name>:0.0; export DISPLAY

Start the Oracle Universal Installer (OUI) by issuing the following command in the Disk1 directory.

./runInstaller

During the installation select the appropriate ORACLE_HOME for infrastructure (infra) and select the infrastructure installation.

Post Infrastructure Installation

On completion of the infrastructure installation perform the following tasks.

Portal Installation

Log into the oracle user. If you are using X emulation then set the DISPLAY environmental variable.

DISPLAY=<machine-name>:0.0; export DISPLAY

Start the Oracle Universal Installer (OUI) by issuing the following command in the Disk1 directory.

./runInstaller

During the installation select the appropriate ORACLE_HOME for portal (portal) and select the application server installation, with the portal and wireless option.

Post Portal Installation

On completion of the portal installation perform the following tasks.

Portal Usage

With all the services running you can start using portal at the following URL.

http://<fully-qualified-machine-name>:7778/pls/portal

The port number for portal can vary depending on the installation but it is recorded in the "portal-home/Apache/Apache/setupinfo.txt" file.

Once at this page you can login using either "portal", the portal DBA user, or "portal_admin", the portal administrator user. The passwords will be the value assigned during the installation.

Starting and Stopping Services

It is recommended that the services are always started and stopped using Enterprise Manager Website. If this cannot be done for some reason they can be started and stopped manually as follows.

# Start everything
dbstart
lsnrctl start
agentctl start
oidmon start
oidctl server=oidldapd instance=1 configset=1 start
dcmctl start -cl
emctl start

# Stop everything
emctl stop
dcmctl shutdown
oidctl server=oidldapd instance=1 configset=1 stop
oidmon stop
agentctl stop
lsnrctl stop
dbshut

Once the services are started up they should be restarted using Enterprise Manager.

It should be noted that the Enterprise Manager Website does not function properly unless the X Session that started it is still present. This means every time you need to use the EM website you must start an X Session, export the DISPLAY variable correctly and restart EM.

Hope this helps. Regards Tim...

Back to the Top.