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:
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.
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 |
|
Make sure the DVD
drive is mounted. You can use HP SMH or the mount (1M) command to
do this.
Register
the DVD drive.
For example to register a
DVD mounted at /cdrom, type:
/usr/sbin/swreg -l depot /cdrom
Copy
all or part of the contents of the DVD to hard disk and use that as
a network software depot. (It is better to copy too much than too
little.)
For example, to copy all the software on a DVD
into a depot at /usr/main_depot and automatically
register it:
/usr/sbin/swcopy -s /cdrom
"*" @ /usr/main_depot
Or, using swcopy in interactive mode (using screens like those you see in snoop):
/usr/sbin/swcopy -i -s /cdrom
Copying Software From Tape |
|
To copy software on tape at /dev/rmt/0m to a depot at /usr/main_depot:
/usr/sbin/swcopy -i -s /dev/rmt/0m
@ /usr/main_depot
The program will pause if you need to change tapes.
Bring up the “Logfile” while in swcopy to see the tape-change messages.