46Chapter 6

The upgrade directory contains the scripts necessary for upgrading local-boot terminals from one release to another.

The admin directory contains an ever-growing set of scripts that administrators can use or refer to for managing their terminals via NFS. The remaining directories contain the runtime environments for the various supported platforms, including TCL and TK binaries (tclsh and wish, respectively), shared libraries to guarantee a compatible environment (Linux), and other utilities that are used for the installation and are not normally part of the system being installed on (such as tar for NT). Any software that is not part of the standard release of the server OS will be installed as needed. At the ROOT directory of the CD, there are shell scripts for Windows (install.bat) and UNIX-like systems (install) that do minimal platform determination, set up the environment to run Tcl, and then change to the directory for the installation.

If you are going to rework the standard installation for your server, you will need to expand (“untar”) the two source files somewhere on your system, build them per the instructions in the tar file, and install them (per the instructions). You will need a C compiler to do this.

You first need to copy the CD contents to somewhere on your system. The following is a sample UNIX command:

mkdir /cdcopy; cd /cdrom; tar cvf - . (cd /cdcopy; tar xpvf - )

On most UNIX systems, this will copy the CD to the /cdcopy directory. Assuming you have a uname command, run it to determine the name of your system. Modify the install shell script (in /cdcopy) by adding an entry to the switch statement for your platform. Make a directory (off /cdcopy) for your server OS. Copy the TCL and TK binaries into that directory.

Now, go into the scripts directory (/cdcopy/scripts) and modify common.tcl (add a variable for your platform at the beginning variable block, add an entry to the switch for your platform), and fix the read_tftp_dir procedure.

If you are operating in a windowing environment and your window manager forces the installed windows to appear behind the background window, modify gui.tcl, and do the same operations as if $unixware != 0.

If your tar program performs in a non-standard manner, you will need to modify the full.tcl, help.tcl, netsvc.tcl, and nfsupgrade.tcl files accordingly.

Page 60
Image 60
Compaq T1500 manual Mkdir /cdcopy cd /cdrom tar cvf . cd /cdcopy tar xpvf