|
| 以 PDF 格式下载本书
Installing the Direct Xlib 3.1 Software
2
- This chapter shows you how to install Direct Xlib 3.1 software. The supported system configurations include a SPARC-based standalone or server workstation. The installation procedures include installing Direct Xlib on systems with Volume Management installed, as well as for systems without Volume Management.
- The Direct Xlib package requires about three megabytes of disk space. Make sure you have enough disk space before you attempt to install Direct Xlib.
- Install Direct Xlib using pkgadd after you have successfully installed Solaris 2.4 or later software.
File Locations
- The installation script installs the specific product's subdirectories in a standard directory (/opt). You can change the standard directory by providing a new location at the appropriate prompt. The subdirectories are then installed under the specified location.
Installation Overview
- The following is an overview of the basic installation steps:
-
- Determine if your system is running Volume Management.
- Mount the CD-ROM.
- Install Direct Xlib 3.1.
- Eject the CD-ROM.
Determining If Volume Management Is Running
- You must first determine if Volume Management is running on the system with the CD-ROM drive attached. If Volume Management is running, the system automatically mounts the CD-ROM when you insert it into the CD-ROM drive. If the system is not running Volume Management, then you must manually mount the CD-ROM.
- To determine if Volume Management is running
-
-
Log in as root on the system with the CD-ROM drive attached.
-
Enter the following to run the grep program for locating Volume Management (vold), and press Return:
-

- If you find vold, then Volume Management is running on your system. Proceed to "Installing Direct Xlib Using Volume Management" on page 7 in this chapter.
- If you do not find vold, then Volume Management is not running on your system. Proceed to "Installing Direct Xlib without Volume Management" on page 11 in this chapter.
Installing Direct Xlib Using Volume Management
- This procedure describes how to install Direct Xlib on a system using Volume Management. You can install Direct Xlib on either your local workstation or on your system from a remote workstation.
Local Installation
- To install Direct Xlib 3.1 on your local system
-
-
Place the Solaris 2.4 CD-ROM disc into its caddy and insert the caddy into the drive.
-
Caution - The CD drive is not the same as a CD player for audio discs that you may be accustomed to from home. Never put the CD-ROM into the drive without first placing it in the caddy. When you place the CD-ROM in the caddy, make sure that it fits securely under the lip before you insert the caddy into the drive.
-
-
Log in as root. Enter the following, and press Return after each entry:
-

-
-
Verify that you have mounted the CD-ROM. To do this, enter the following, and press Return:
A line similar to the following should appear after you enter mount:
-

-
-
Execute pkgadd to install the Direct Xlib software. Enter the following, and press Return:
-

-
-
Follow the instructions that then appear on the screen.
When asked to select a package to add, select the SUNWdxlib package.
-
Note - To remove SUNWdxlib at any time, use pkgrm.
-
-
Specify the default installation path, /opt, or any path that contains enough disk space for the installation.
Direct Xlib installation requires approximately three megabytes of space.
-
Eject the CD-ROM to unmount and retrieve the CD-ROM. To do this, enter the following, and press Return:
-

-
-
Log out.
Installation is now complete.
Remote Installation
- To install Direct Xlib 3.1 from a CD-ROM attached to a remote system
-
-
On the remote system, place the Solaris 2.4 CD-ROM disc into its caddy and insert the caddy into the drive.
-
Caution - The CD drive is not the same as a CD player for audio discs that you may be accustomed to from home. Never put the CD-ROM into the drive without first placing it in the caddy. When you place the CD-ROM in the caddy, make sure that it fits securely under the lip before you insert the caddy into the drive.
-
-
Log in to the remote system as root. Enter the following, and press Return after each entry:
-

-
-
Export the CD-ROM filesystem. To do this, enter the following, and press Return:
-

-
-
Log out of the remote system.
-
Log in to the local system as root, create /cdrom, and mount the CD-ROM. To do this, enter the following on the local system and press Return after each entry:
-

-
-
Verify that you have mounted the CD-ROM. To do this, enter the following, and press Return:
A line similar to the following should appear after you enter mount:
-

-
-
Execute pkgadd to install the Direct Xlib software. Enter the following, and press Return:
-

-
-
Follow the instructions that then appear on the screen.
When asked to select a package to add, select the SUNWdxlib package.
-
Note - To remove SUNWdxlib at any time, use pkgrm.
-
-
Specify the default installation path, /opt, or any path that contains enough disk space for the installation.
Direct Xlib installation requires approximately three megabytes of space.
-
-
Unmount the CD-ROM. To do this, enter the following, and press Return:
-

-
-
Log out of the local system.
-
Log in to the remote system as root.
-
-
Eject the CD-ROM to unmount and retrieve the CD-ROM. To do this, enter the following on the remote system, and press Return:
-

-
-
Log out.
Installation is now complete.
Installing Direct Xlib without Volume Management
- This procedure describes how to install Direct Xlib 3.1 on a system that does not use Volume Management. You can install Direct Xlib on either your local workstation or on your system from a remote workstation.
Local Installation
- To install Direct Xlib on your local system
-
-
Place the Solaris 2.4 CD-ROM disc into its caddy and insert the caddy into the drive.
-
Caution - The CD drive is not the same as a CD player for audio discs that you may be accustomed to from home. Never put the CD-ROM into the drive without first placing it in the caddy. When you place the CD-ROM in the caddy, make sure that it fits securely under the lip before you insert the caddy into the drive.
-
-
Log in as root, create the directory /cdrom, and mount the CD-ROM. To do this, enter the following, and press Return after each entry:
-

-
-
Verify that you have mounted the CD-ROM. To do this, enter the following, and press Return:
A line similar to the following should appear after you enter mount:
-

-
-
Execute pkgadd to install the Direct Xlib software. To do this, enter the following, and press Return:
-

-
-
Follow the instructions that then appear on the screen.
When asked to select a package to add, select the SUNWdxlib package.
-
Note - To remove SUNWdxlib at any time, use pkgrm.
-
-
Specify the default installation path, /opt, or any path that contains enough disk space for the installation.
Direct Xlib installation requires approximately three megabytes of space.
-
Unmount the CD-ROM. To do this, enter the following, and press Return:
-

-
-
Eject and retrieve the CD-ROM. To do this, enter the following, and press Return:
-

-
-
Log out.
Installation is now complete.
Remote Installation
- To install Direct Xlib 3.1 from a CD-ROM attached to a remote system
-
-
On the remote system, place the Solaris 2.4 CD-ROM disc into its caddy and insert the caddy into the drive.
-
Caution - The CD drive is not the same as a CD player for audio discs that you may be accustomed to from home. Never put the CD-ROM into the drive without first placing it in the caddy. When you place the CD-ROM in the caddy, make sure that it fits securely under the lip before you insert the caddy into the drive.
-
-
Log in as root, create the directory /cdrom, and mount the CD-ROM. To do this, enter the following, and press Return after each entry:
-

-
-
Export the CD-ROM filesytem. To do this, enter the following, and press Return:
-

-
-
Log out of the remote system.
-
-
Log in on the local system as root, create /cdrom, and mount the CD-ROM. To do this, enter the following on the local system, and press Return after each entry:
-

-
-
Verify that the CD-ROM has been mounted. To do this, enter the following, and press Return:
A line similar to the following should appear after you enter mount:
-

-
-
Execute pkgadd to install the Direct Xlib software. To do this, enter the following, and press Return:
-

-
-
Follow the instructions that then appear on the screen.
When asked to select a package to add, select the SUNWdxlib package.
-
Note - To remove SUNWdxlib at any time, use pkgrm.
-
-
Specify the default installation path, /opt, or any path that contains enough disk space for the installation.
Direct Xlib installation requires approximately three megabytes of space.
-
-
Unmount the CD-ROM. To do this, enter the following, and press Return:
-

-
-
Log out of the local system.
-
Log in to the remote system as root.
-
Unmount and eject the CD-ROM to retrieve the CD-ROM. To do this, enter the following on the remote system, and press Return after each entry:
-

-
-
Log out.
Installation is now complete.
|
|