|
|
This appendix describes how to mount the Essentials CD-ROM on an HP-UX system and includes general information only. For more detailed instructions, consult your HP-UX system documentation.
This appendix contains the following sections:
To mount the Essentials CD-ROM on a local system, perform the following steps:
Step 1 Insert the Essentials CD-ROM into the CD-ROM drive.
Step 1 Become the superuser by entering su and the root password at the prompt, or log in as root. The prompt changes to the pound sign (#).
Step 2 If the /cdrom directory does not already exist, enter the following command:
# mkdir /cdrom
Step 3 Mount the CD-ROM drive by entering the following command:
# /usr/sbin/mount -rF cdfs device_name /cdrom
where -r mounts the CD-ROM in read-only mode, and -F cdfs indicates a CD filesystem. An example of a device name is /dev/dsk/c0t3d0.
You have now mounted the CD-ROM drive. See "Installing Essentials," for instructions on how to install Essentials.
This section is for users who plan to install Essentials remotely; for example, if your local workstation does not have a CD-ROM drive and you need to install Essentials using a remote CD-ROM drive.
To mount the remote machine and export the CD-ROM, follow these steps:
Step 1 Log in to the remote HP-UX workstation as root. The prompt changes to the pound sign (#).
Step 2 Mount the CD-ROM on the remote workstation by following the steps described in the "Mounting a Local CD-ROM Drive" section.
Step 3 Add the following line to the /etc/exports file. If the /etc/exports file does not exist, create it and add the following line:
/cdrom -anon=0,ro
Step 4 Make sure that the remote workstation is enabled as an NFS server.
(a) Determine if the remote workstation is enabled as an NFS server by entering the following command:
# ps -ef | grep nfsd | grep -v grep
(b) If the output indicates that no nfsd daemons are running, enter the following command to start the NFS server:
# /sbin/init.d/nfs.server start
Step 5 Make sure that the rpc.mountd daemon is running.
(a) Determine if the rpc.mountd daemon is running by entering the following command:
# ps -ef | grep rpc.mountd | grep -v grep
(b) If the rpc.mountd daemon is not running, enter the following command to start it:
# /usr/sbin/rpc.mountd -n
Step 6 On the remote workstation, enter the following command as root to export the mounted CD-ROM drive:
# /usr/sbin/exportfs -a
You have now mounted and exported the CD-ROM drive. For directions on mounting the exported CD-ROM on a local workstation, refer to the section "Mounting an Exported CD-ROM Filesystem to a Local Workstation." After mounting the CD-ROM on the local workstation, see "Installing Essentials," for instructions on how to install Essentials.
After you have finished installing Essentials and the necessary device packages, you might want to unexport the exported CD-ROM filesystem. To unexport the CD-ROM filesystem, follow these steps:
Step 1 Log in to the local HP-UX workstation as root.
Step 2 Unmount the directory (for example, /local_dir) for the local workstation by entering the following command:
# /usr/sbin/umount /local_dir
Step 3 Log in to the remote HP-UX workstation as root.
Step 4 Remove the following line from the /etc/exports file:
/cdrom -anon=0,ro
Step 5 Enter the following command to unexport the filesystem:
# /etc/exportfs -a
To mount the exported CD-ROM filesystem to a local workstation, follow these steps:
Step 1 Log in to the local workstation as root.
Step 2 Create a dummy directory, for example, /local_dir. If a directory by that name already exists, create a directory with a different name. The following steps use the filename /local_dir.
Step 3 Verify that the directory is not already a mounted filesystem by entering the following command:
# df /local_dir
If the output is similar to the following, the directory is not already a mounted file system.
/local_dir (/dev/dsk/c0t3d0s5):328614 blocks 586775 files
If the output of the command is similar to the following, a file system is already mounted on the local_dir directory.
/local_dir (remote:/tmp): 3139134 blocks -1 files
Step 4 If a file system is already mounted on the local_dir directory, unmount the existing directory by entering the following command:
# /usr/sbin/umount /local_dir
Step 5 Mount the exported CD-ROM drive on the local workstation by entering the following command:
# /usr/sbin/mount -r remote_machine:/cdrom /local_dir
To unmount the CD-ROM, follow these steps:
Step 1 Unmount the CD-ROM drive by entering the following command as superuser:
# cd / # umount /cdrom
Step 2 Press the eject button to eject the CD-ROM from the workstation.
Step 3 Remove the CD-ROM and store it in a safe place.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Thu Sep 30 10:06:48 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.