Logging the Installation Session
You can log your installation session. UNIX provides several different ways to capture a session.
- If you are using a Telnet or SSH client to connect to the installation host, you can use the logging capabilities of that client to capture the session.
- You can use a terminal that supports logging, such as dtterm. The command /usr/dt/bin/dtterm -l -lf /tmp/dtterm.log enables output logging to the file /tmp/dtterm.log. You must exit the dtterm terminal before it flushes all the output to the file.
- You can use the UNIX tee command to redirect the standard out and standard error to a specified file. For example:
pkgadd -d /cdrom/cdrom0/solaris 2>&1 | tee -a sessionlogYou can use the UNIX script command. The following command sequence captures a pkgadd session to the file capture.txt; pressing Ctrl+d exits the script: script capture.txtpkgadd -d /cdrom/cdrom0/solaris<Ctrl+d>See the UNIX man pages for dtterm, tee, and script for more information.
When you use the SRC GUI installation program for installation on a Solaris platform, all the installation session output is captured and appended to the log file for the GUI installation program in /opt/UMC/var/InstallerData/solpkg_Install.log. This file is created if it does not already exist.