Installing HP-UX 11.0 and Updating HP-UX 10.x to 11.0 HP 9000 Computers Edition 1

274 Appendix C
Ignite-UX System Administration
Section 10: Installing NetScape as a Post-Configuration Step
* Attached below we have supplied a sample “run-netscape”. * You will
also need to create a default configuration file. Merely take an existing
one and remove all user and host specific information.
Step 2) Write an install and customization script
Attached below is a script we used for installing Netscape in our
environment. You will note that the script does the following:
Remote copies from a server to the local target netscape, a
default-preferences file, and the special run-netscape script.
Unpacks netscape.
Makes /usr/local/bin/netscape a link to “run-netscape” to
ensure user defaults will be installed.
Performs the special netscape customization.
Cleans up.
We named and placed our script under the following:
/var/opt/ignite/scripts/install_netscape
Step 3) Add the install script to Ignite-UX customization
Add a line similar to the following to one of your config files (not in a
clause):
post_config_script += “/var/opt/ignite/scripts/install_netscape”
For details of adding a post configuration script, see Section 5 in this
appendix. This script will need to be accessible using tftp.
Example post install script for Netscape
# !/usr/bin/ksh
#
# Post Ignite-UX installation script used to install Netscape
version 3.0.
# This installation assumes HP-UX 11.00 because it depends on gzip
# already loaded on the system.
#
PATH=${PATH}:/usr/sbin:/sbin:/usr/contrib/bin
IUX_SERVER=interop1.fc.hp.com
IUX_ARCHIVE_DIR=/var/opt/ignite/archives/Netscape
NETSCAPE_GZIP=netscape-v30-export.hppa1.1-hp-hpux.tar.gz
NETSCAPE_INSTALL_DIR=/opt/Netscape NETSCAPE_RUN_DIR=/usr/local