Material necesario:
Se arranca el sistema y se abre sesión con SYSTEM
Si no está ya, se “introduce” la imagen de disco en el “lector virtual”.
$ (Pulsar Ctrl+E) Simulation stopped, PC: 834B4F43 (CMPL R4,R5) sim> attach -r rq3 extra.iso RQ: unit is read only sim> cont _
Se monta el CDROM
mount/over=id dua3: %MOUNT-I-WRITELOCK, volume is write locked %MOUNT-I-MOUNTED, EXTRA mounted on _VAX$DUA3: $ _
Si está instalado e iniciado TCP/IP se detiene con
$ @sys$startup:tcpip$shutdown
Se realiza la instalación
$ @sys$update:vmsinstal modula031 dua3:[modula031.kit] OpenVMS VAX Software Product Installation Procedure V7.3 It is DD-MMM-YYYY at HH:MM. Enter a question mark (?) at any time for help. * Are you satisfied with the backup of your system disk [YES]? (Pulsar ENTER) The following products will be processed: MODULA V3.1 Beginning installation of MODULA V3.1 at HH:MM %VMSINSTAL-I-RESTORE, Restoring product save set A ... +---------------------------------+ | MODULA-2 Installation Procedure | +---------------------------------+ * Do you want to purge files replaced by this installation [YES]? (Pulsar ENTER) * Install MODULA documentation [NO]? y * Install the MODULA library symbol files [YES]? (Pulsar ENTER) * Install sources for MODULA library symbol files [NO]? y %VMSINSTAL-I-SYSDIR, This product creates system directory [SYSLIB.MODULA]. If you intend to execute this layered product on other nodes in your OpenVMS Cluster, and you have the appropriate software license, you must prepare the system-specific roots on the other nodes by issuing the following command on each node (using a suitably privileged account): $ CREATE /DIRECTORY SYS$SPECIFIC:[SYSLIB.MODULA]/protection=w:re The following files have been added to your VMS system: SYS$SYSTEM:MODULA.EXE [new] - MODULA compiler executable SYS$LIBRARY:HELPLIB.HLB [modified] - MODULA help added SYS$LIBRARY:DCLTABLES.EXE [modified] - MODULA command added SYS$HELP:MODULA.DOC [new] - MODULA manual SYS$LIBRARY:MODULA.OLB [new] - MODULA object library SYS$SYSROOT:[SYSLIB.MODULA]*.SYM [new] - Symbol files for MODULA library SYS$SYSROOT:[SYSLIB.MODULA]*.DEF [new] - Sources for above files %VMSINSTAL-I-MOVEFILES, Files will now be moved to their target directories... Installation of MODULA V3.1 completed at HH:MM Adding history entry in VMI$ROOT:[SYSUPD]VMSINSTAL.HISTORY VMSINSTAL procedure done at HH:MM $ _
Si se ha detenido TCP/IP se puede volver a inciar con
$ @sys$startup:tcpip$startup
Por último, es necesario crear un par de definiciones (logical):
DEFINE/SYSTEM “MOD$LIBRARY” “SYS$SYSROOT:[SYSLIB.MODULA]”
link
busque en las bibliotecas de modula, con la orden DEFINE/SYSTEM “LNK$LIBRARY” “SYS$LIBRARY:MODULA”
.
Con LNK$LIBRARY
se pueden incluir más bibliotecas, en caso de instalar otros productos que también lo necesiten. Basta definir las variables LNK$LIBRARY_1
, LNK$LIBRARY_2
, …, LNK$LIBRARY_999
. Pero hay que destacar que deben ir en orden (comenzando con la variable sin ordinal), y sin saltar ninguna.
Como estas definiciones deben ser permanentes, un sitio para incluir los comandos puede ser al final de sys$manager:systartup_vms.com
:
$ set term/vt100 $ edit sys$manager:systartup_vms.com
Se pulsa [AvPág] hasta el final, y se añade la línea indicada en rojo.
$! $! Remove the comment delimiter ($!) from the following line to have $! Monitor run with TCP/IP. $! $!$ @SYS$STARTUP:VPM$STARTUP.COM $! $! $! Remove the comment delimiter ($!) from the following line to start $! RPC services. $! $!$ @SYS$STARTUP:DCE$RPC_STARTUP.COM $! $ MOUNT/SYSTEM DUA1 DATA1 $ @SYS$MANAGER:STARTNET $ @SYS$STARTUP:CCXX$STARTUP $ @SYS$STARTUP:PASCAL$STARTUP $ @SYS$STARTUP:ADA$STARTUP $ @SYS$STARTUP:LISP$STARTUP $ DEFINE/SYSTEM/NOLOG "MOD$LIBRARY" "SYS$SYSROOT:[SYSLIB.MODULA]" $ DEFINE/SYSTEM/NOLOG "LNK$LIBRARY" "SYS$LIBRARY:MODULA" $ EXIT Buffer: SYSTARTUP_VMS.COM | Write | Insert | Forward 414 lines read from file SYS$COMMON:[SYSMGR]SYSTARTUP_VMS.COM;7
Se pulsa [Ctrl+Z] para salir y guardar, y a está listo, se puede probar algún programa de ejemplo o seguir instalando otros lenguajes.