HP-UX System Administrator's Guide: Routine Management Tasks
• With control scripts, further customize how the software is handled when installing
or removing it on the destination system.
• Validate the PSF against packaging policies to ensure successful installation with
the swpackage command and creation of an SD depot.
• Edit and validate the PSF automatically as part of the nightly build process using
SPB’s command line interface.
See Getting Started with Software Package Builder for more information.
Setting up a Network Host (Building a Depot)
Installation from a network host is faster than from tape or DVD, and it is more
convenient for users than having to transport tapes or disks.
A system connected to a network can act as a common software installation source for
other network clients and can contain one or more depots. To set up a network source
for software, do the following:
1. Copy software from a depot, DVD, or tape to the network server.
By default, the swcopy command “registers” newly created depots. A registered
depot makes software visible to other applications such as swinstall. Therefore,
one system can be the central repository where your users can obtain software.
See the swreg(1M) manpage.
• See “Copying Software From a Depot with the SD User Interface” (page 187)
• See “Copying Software From DVD” (page 187)
• See “Copying Software From Tape” (page 188)
2. Copy software from the network host to the systems as needed.
Copying Software From a Depot with the SD User Interface
To copy software from a depot, start the SD-UX graphical or terminal user interface.
Type:
/usr/sbin/swinstall
or
/usr/sbin/swcopy
swinstall automatically configures your system to run the software when it is
installed; configuration is not done with swcopy.
Copying Software From DVD
1. Make sure the DVD drive is mounted. You can use HP SMH or the mount (1M)
command to do this.
2. Register the DVD drive.
For example to register a DVD mounted at /cdrom, type:
Setting up a Network Host (Building a Depot) 187