Installation Cookbooks: Installing Oracle Forms & Reports 6i - Page 3
January 8, 2004
Files edited or modified by the UNIX users root and oradev6
The user oracle (or oracle9) may have been created for installation of Oracle9i. You can use the same Oracle user for both 9i and 6i, but separating the users is a practical safeguard related to configuration issues and preventing the overwriting of important files.
1. Create a user called oradev6 who is a member of the dba and oinstall groups. As root, edit your /etc/passwd file and enter the following line:
2. As root, edit the /etc/group file and add the user oradev6 to the list of users under the dba group. For example, the entries for the dba and oinstall groups line could look like
3. When all changes have been made, execute pwconv as root at a UNIX prompt. Create the mount point and assign ownership for oradev6 by entering the following commands:
mkdir -p /opt1/ora6i chown oradev6:dba /opt1/ora6i
4. As root, edit root's .cshrc file and add the following environment variables:
setenv ORACLE_HOME <ex: /opt1/ora6i/app/oracle/product/6.0> setenv ORACLE_SID <name of a database>
The ORACLE_HOME environment variable should match the path you will be setting in oradev6's .cshrc file. The ORACLE_SID value does not have to be the name of an actual database.
5. Login as oradev6. Check to see that your home directory is automatically set to /opt1/ora6i. Copy a generic .cshrc file from /etc/skel by typing
cp /etc/skel/local.cshrc .cshrc
6. Using a text editor such as vi, edit the .cshrc file for oradev6. Modify the file so that the following settings and environment variables are set, and source the file (source .cshrc) when finished with the editing.
umask 022 setenv DISPLAY <machinename>:0.0 setenv ORACLE_TERM sun5 setenv ORACLE_SID <database name> setenv ORACLE_BASE /<mount point>/app/oracle setenv ORACLE_HOME $ORACLE_BASE/product/6.0 setenv TNS_ADMIN <as stated in the previous step> setenv LD_LIBRARY_PATH $ORACLE_HOME/lib: <img src="/img/return.gif" width=14 height=9 border=0 alt=""> $ORACLE_HOME/network/jre11/lib/sparc/native_threads setenv ORACLE_AUTOREG $ORACLE_HOME/guicommon6/tk60/admin setenv TK_PRINT_STATUS 'echo %n is valid' setenv TK_PRINTER <enter printer name> setenv PATH <should include $ORACLE_PATH, /usr/ccs/bin, /usr/bin, /etc, /usr/openwin, /usr/local/bin and .>
Note: Place $ORACLE_HOME/lib at the beginning of LD_LIBRARY_PATH. Otherwise, the patch installation will fail.
You are now ready to install the CD-ROM and begin using the Oracle Universal Installer.
Performing the installation
Insert the CD-ROM. Solaris Volume Management should automatically mount the CD-ROM for you. Minimize the "File Manager - oracle" window after the CD-ROM is mounted. Refer to the table below for actions to take in each window displayed by the Oracle Universal Installer. As the UNIX user oradev6, start the installation by typing
You may encounter other windows during the installation process for a variety of reasons (improper system setup, lack of file permissions, non-existent paths, etc.). The OUI windows are fairly self-explanatory as to what needs to be done to correct a problem.
In the windows that appear below, take the action(s) indicated.
The command line in the UNIX window where you initiated orainst should show