As in the installation of the Oracle RDBMS, the install of the OAS on
unix systems must be done as a non-root user. Typically this user
is called 'oracle'
Also, prior to running the Oracle
Installer on UNIX , the following environment variables must be set.
Unix
Environment Variable Settings
| $ORACLE_TERM |
Set this to be the TERM used in your session. Most times this
will be something like 'vt220'. If you are using xterm, CDE, or Motif,
set this value to 'xterm' |
| $ORACLE_SID |
You won't need this unless to database is on the same machine as the
Web Server (generally not a good idea). If this is the case then set it
to point to the Database you want to attach. |
| $ORACLE_HOME |
Set this to be the top-level directory that the Oracle Web Software
will be installed in. In general, you DO NOT want to install this into
the same directory as your Oracle RDBMS software. |
| $ORAWEB_HOME |
Set this to be $ORACLE_HOME/ows/3.0 (in general) |
| $PATH |
$ORAWEB_HOME/bin:$ORACLE_HOME/bin:$PATH |
Mount the OAS CD and run the Oracle
Installer Executable. On NT systems, this will be an executable called
orainst.exe.
On Unix systems this will be a file called orainst.
During the installation, the program will prompt you for several bits
of information. The following are used in most default installations:
| INSTALLATION TYPE |
select ‘Install new product’ |
| Single or Multi Node Install |
select ‘Single node install’ |
| Simple or Custom Install |
select ‘simple install’ |
| site name |
website30 |
| hostname |
fully qualified domain name or Web server |
| UDP Service Port |
2649 |
| Shared Key |
No |
| SQL*NET Adapters |
TCPIP |
| Admistrative Port |
8888 |
| Administrative Password |
<password for administrative port> |
Update .cshrc or .profile
(for Unix systems only) |
YES |
Install should be done at this point.
Before continuing on to the next step, you'll need to create a tnsnames.ora
file
that will define the network locations of remote databases. As with other
Oracle network configuration files, drop this file in the $ORACLE_HOME/network/admin
directory or in the directory defined by the TNS_ADMIN environment variable
or registry string.
3. Starting
OAS
Once the application server is installed,
make sure to initialize all environmental settings before continuing. On
NT systems, this usually means a cold-reboot. On Unix-Based systems, this
usually means logging off and logging back on as the oracle userid.
Once the above has been done, type
the following:
(On NT this is done so in a DOS-SHELL)
$ owsctl start wrb
$ owsctl start admin
You can check on the status of these
processes via 'ps -ef | grep oracle' or by issuing a
$ owsctl status admin
If all is well, your web server should now be running and you are ready
to configure the Oracle PL/SQL cartridges.