Script installs the entire toolkit, including middleware for all classes,
plus the XPAT daemons
Toolkit is installed with an appended version number, i.e., /foo/bar/dlxs-2.5
(where they supply /foo/bar/dlxs as the DLXSROOT and we tack on the -2.5)
Process:
gather general configuration information from user, based on choice
of components (try to preserve this information for a) re-running the
installation and maybe even b) future installs)
guess, ask for confirmation, and check platform and OS version
guess, ask for confirmation, and check location and version of Perl
binary to use
ask if this is a development or production installation
ask for preferred database store (CSV, MySQL, Oracle)
ask for and check writability of DLXS installation directory (DLXSROOT)
ask for and check location of Apache server root directory
(optional) ask for and check location of tif2gif installation directory
(optional) ask for and check location of c42pdf installation directory
(optional) ask for and check location of Mr.Sid installation directory
(optional) ask for and check location of XPAT installation directory
check requirements
required Perl modules (make sure this reflects choice of database
store above)
extract and install deliverables
customize shebangs in Perl scripts--check all executable files (!)
customize configuration files as needed
supply an Apache configuration file snippet that creates a DLXS virtual
host with all required settings
definition of DLXSROOT environment variable
definitions of AUTHZD_COLL and PUBLIC_COLL environment variables
definition of DLPS_DEV environment variable (make sure this reflects
choice of development or production above)
provide example scripts and configuration files that will need root
access for installation
crontab entries for cleaning gifcvtdir and sessions databases
services and inetd.conf entries for installing XPAT daemons
startup scripts to create /tmp-based directories with special permissions
(CSV databases)
command to create non-/tmp-based directories with special permissions
(gifcvtdir)
offer to display late-breaking information (dynamically, driven from
contents of media)
Remaining questions:
Where are all the places to make post-installation tweaks? Back then,
configuration files were not very well centralized, DLXSROOT was brand
new, Text Class was being born, and documentation was scant. Now we probably
have fewer places to make tweaks. What are they?