(Page 7 of 7 in this chapter)
su
pkgadd -d devicename agaccessdevicename is the name of the floppy disk drive from which you are installing. For example, if you are installing from your first floppy disk drive, at your shell's command prompt enter:
pkgadd -d diskette1 agaccess Note: In order to use the diskette device, the vold process must be killed before performing installation from the command line. pkgadd displays the following prompt:
Insert diskette into Floppy Drive 1.
Installation of AG Access for Solaris was successful.
a. Open a Terminal window.b. Acquire root privileges by entering the following at your shell's command prompt:
su c. Enter the root password when prompted.For the Bourne and Korn shells, a sample PATH environment parameter assignment after your editing might look like:d. With your text editor, open the shell script file executed by the root user's login shell as part of the login sequence. If the root user's shell is the Bourne or Korn shell, you should edit the /.profile file. If the root user's shell is the C shell, you should edit the /.login file.
e. Append the following to the PATH environment parameter assignment:
/opt/nms/bin
PATH=$PATH:/opt/nms/bin
setenv PATH "$PATH":/opt/nms/bin f. Append the following to the LD_LIBRARY_PATH environment parameter assignment:
/opt/nms/lib For the Bourne and Korn shells, a sample LD_LIBRARY_PATH environment parameter assignment after your editing might look like
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/nms/lib
setenv LD_LIBRARY_PATH "$LD_LIBRARY_PATH":/opt/nms/lib g. Save the modified shell script file and exit your text editor.
su
name="aghw" class="sysbus" intr=7,12 ioaddr=0x02c0 reg=0x02c0,0,6 slotalias=1;
intr specifies the interrupt value. The first value is the priority. The second value is an interrupt level. If you have any interrupt conflicts modify the second value.
ioaddr is the start of I/O memory to be used by this board.
reg should be set to the value of ioaddr followed by 0,6.
slotalias is sequential from 1.
name="aghw" class="sysbus" intr=7,12 ioaddr=0x02c0 reg=0x02c0,0,6 slotalias=1;
name="aghw" class="sysbus" intr=7,12 ioaddr=0x22c0 reg=0x22c0,0,6 slotalias=2;
name="aghw" class="sysbus" intr=7,12 ioaddr=0x42c0 reg=0x42c0,0,6 slotalias=3;
name="aghw" class="sysbus" intr=7,12 ioaddr=0x62c0 reg=0x62c0,0,6 slotalias=4;
name="aghw" class="sysbus" intr=7,12 ioaddr=0x82c0 reg=0x82c0,0,6 slotalias=5;
name="aghw" class="sysbus" intr=7,12 ioaddr=0xa2c0 reg=0xa2c0,0,6 slotalias=6;
number-ports=200
ag-ports=200
ag-boards=6
add_drv aghwNote: The installation scripts add a table fragment to the /etc/devlink.tab file.
add_drv agsw
add_drv agmx
rem_drv aghw
rem_drv agsw
rem_drv agmx
a. With your text editor, open the shell script file executed by the root user's login shell as part of the login sequence. If the root user's shell is the Bourne or Korn shell, you should edit the /.profile file. If the root user's shell is the C shell, you should edit the /.login file.b. Contract the PATH environment parameter by removing the following from its assignment:
/opt/nms/bin c. Save the modified shell script file and exit your text editor.
pkgrm agaccesspkgrm displays the following prompt:
The following package is currently installed:
Removal of <agaccess> was successful.
exit
(Page 7 of 7 in this chapter)