System Administration Guide: Virtualization Using the Solaris Operating System

ProcedureHow to Install MATLAB 7.2 Using ISO Images

Before You Begin

Note that this method consumes considerable disk space.

  1. Obtain the MATLAB 7.2 CDs .

    There are three CDs in the MATLAB/Simulink package. Only discs 1 and 3 are needed for a simple MATLAB installation.

  2. Create and install an lx branded zone as described in How to Configure, Verify, and Commit the lx Branded Zone and Installing and Booting lx Branded Zones.

  3. Copy the data from each CD to a .iso file.

    global# /usr/bin/dd if=/dev/rdsk/c1d0s2 of=disk1.iso

    This copies the data from the first CD to the file disk1.iso. Repeat, using a different file name such as disk3.iso, for the third CD.

  4. From the global zone, lofi-mount the first .iso file in the lx zone.

    global# lofiadm -a /zpool/local/disk1.iso
    global# mount -F hsfs /dev/lofi/1 /zones/lx-zone/root/mnt
  5. Log in to the lx zone.

    global# zlogin lx-zone
  6. Use X forwarding to redirect the display to your desktop:

    lx-zone# ssh -X root@lx-zone
  7. Create the license file as described in the MATLAB documentation.

  8. Install the product as described in the product installation guide.

    lx-zone# /mnt/install
  9. When prompted to insert CD 3, go back to the global zone terminal window and mount disk3.isofile in place of the first.

    global# umount /zones/lx-zone/root/mnt
    	global# lofiadm -d /dev/lofi/1
    	global# lofiadm -a /zpool/local/disk3.iso
    	global# mount -F hsfs /dev/lofi/1 /zones/lx-zone/root/mnt

    The installation will finish.