Installation Guide 8.4

Installing and Activating Without an Internet Connection

Before You Install

Before you run the installer:

  • Windows Systems
    Get the name and password of the administrator account on your computer. The installer modifies the system registry during installation.

  • Linux Systems
    Get the root password. You can install MATLAB software without superuser privileges, however, it limits certain installation options. For example, if you want to setup symbolic links to the matlab command, install product files in a protected folder, or edit the system boot script, you must have superuser status.

  • Macintosh Systems
    Get the name and password of the administrator account on your computer. The administrator account is the user account you set up when you configured your Macintosh system; this is not your MathWorks Account. During installation, you must enter this name and password in the Authenticate dialog box, shown below.

Consider disabling virus-checking software and Internet security applications on your system for the duration of the installation process. These applications can slow down the installation process or cause it to appear unresponsive (or to hang).

Step 1: To Start the Installation

  • Insert the DVD into your DVD drive and use WINRAR to extract to a folder.
  • As soon as the first DVD is over it will ask you to insert the second DVD.
  • Once everything is copied, go to the folder and double click on “setup.exe”.
  • The installation will start.

The next steps are as given below.

To install from DVD’s obtained from SERC
For Windows
Installation of Matlab on Windows
For Mac

Installation of Matlab on Mac OS

    • Insert the DVD into the DVD drive connected to your system.
    • The DVD icon appears on the desktop.
    • Double-click the icon to display the DVD contents.
    • Double-click the InstallForMacOSX icon to begin the installation.

The next steps are same.

For Linux

Installation guide for Mathlab in linux

    • Make sure you have unrar installed in your pc. If not please follow the following
    • commands and install unrar
    • # yum install unrar (redhat, fedora)
    • # apt-get install unrar (ubuntu)
    • Use the following command to extract the Packages.
    • # unrar x filename.rar
    • After extracting make sure executable permission is given to java and install file.
    • # sudo chmod +x java/
    • # sudo chmod +x install
    • # chmod +x sys/java/jre/glnxa64/jre/bin
    • # chmod +x java ( which is located in sys/java/jre/glnxa64/jre/bin)
    • For installing the matlab go to the folder where you have extracted Matlab and use the following command :
    • #./install

The next steps are as given below.

To install through network from SERC

For Windows

Installation of Matlab through network

  • Go to Start -> Run
  • type \\10.16.4.96\share and click on OK
  • A window will open. All the versions of matlab have been dumped and shared for network access here.

  • Click on “Matlab-R2014b” folder. Inside this folder you will find the following.
    • From here copy the “Matlab-R2014b_Windows32 / Matlab-R2014b_Windows64” folder depending on your choice and the file “license.dat” to your machine and then open the Matlab folder. (You can also directly install from the network directory also.)
    • [Once you copy the “license.dat” file you need not download the file again as given in “Step 7 “. You can skip that part.]
    • Double click on “setup.exe” and the installation will start.

The next steps are as given below in the installation section.

Installation of Matlab through network
Follow either of the methods below, Terminal or GUI

    • Through Terminal:
      Login as superuser into your Mac system and make a directory where you can mount the files. For example
    • # mkdir /opt/matlab8.4

    • Now open a terminal. At the prompt type
    • # mount -t smbfs //guest@10.16.4.96/share /opt/matlab8.4
      (or)
      # mount -t cifs //guest@10.16.4.96/share /opt/matlab8.4

OR

    • Through GUI:Go to finder and press (command + k) or click the option “connect to server”
    • Type the following”cifs://10.16.4.96/share” or “smbfs://10.16.4.96/share” and press enter

      In the pop up box, enter “guest” as username as registered user and press enter, password not required.

  • After successfully mounting, change to Matlab-R2014b directory. You will see four directories, one for linux, one for Mac, one for windows32 and one for windows 64. You will also find a file “license.dat” which you can copy to some other directory (/usr/local maybe) on your machine.
    In the terminal mode at the hash prompt

  • # cp license.dat /usr/local/ (please give path to the directory where you want to store this file.)

  • [Once you copy the “license.dat” file you need not download the file again as given in “Step 7”. You can skip that part.]

  • Now change directory to “\\10.16.4.96\share\Matlab-R2014b\Matlab-R2014b_Mac\InstallForMacOSX.app\Contents\MacOS”. Double click on InstallForMacOSX.
    The installation starts.

The next steps are as given below in the installation section.

Installation of Matlab through network

  • Login as superuser into your linux system and make a directory where you can mount the files.
  • # mkdir /opt/matlab8.4

  • # mount -t cifs //10.16.4.96/share /opt/matlab8.4 -o guest
  • # cd /opt/matlab8.4/

  • Now change to that directory. You will see four directories, one for linux, one for Mac, one for windows32 and one for windows 64. You will also find a file “license.dat” which you can copy to some other directory (/usr/local maybe) on your machine.
    #[opt/matlab8.4]# cp license.dat /usr/local/
    (please give path to the directory where you want to store this file.)

  • [Once you copy the “license.dat” file you need not download the file again as given in “Step 7”. You can skip that part.]

  • Now change directory to “Matlab-R2014b_Linux” and at the prompt type ./install and press enter.
  • #[Matlab-R2014b_Linux]# ./install
  • The installation starts.

The next steps are as given below in the installation section.

Step 2:Choose “Use a File Installation Key” and click on Next

Step 3: Review the License Agreement

Review the software license agreement and, if you agree with the terms, select Yes and click Next.

Step 4: Specify the File Installation Key

SERC NOTE:

For File Installation Key, Kindly send a mail to “symadmin@serc.iisc.in” using your Department Email-Id , with your Name and ID Card Number(SR Number).

Select the I have the File Installation Key for my license option, enter the File Installation Key, and click Next.

Step 5: Specify the Installation Folder

Specify the name of the folder where you want to install MathWorks products.Accept the default installation folder or click Browse to select a different one. If the folder doesn’t exist, the installer creates it.

On Macintosh systems, the installer puts the MATLAB application package, MATLAB_R2014a.app, in the Applications
folder, by default.

When specifying a folder name, you can use any alphanumeric character and some special characters, such as underscores. The installer will tell you if the name you specified includes any characters that are not permitted in file names. If you make a mistake while entering a folder name and want to start over, click Restore Default Folder.

After making your selection, click Next.

Step 6: Specify Products to Install

You can specify which products you want to install in the Product Selection dialog box. This dialog box lists all the products associated with the license you selected or with the File Activation Key you specified. In the dialog box, all the products are preselected for installation. If you do not want to install a particular product, clear the check box next to its name. After selecting the products you want to install, click Next to continue with the installation.
SERC NOTE:
Do not select License Manager

Step 7: Specify Path to License File

SERC NOTE:
Click here for downloading the license.dat file and save it as “license.dat”.
(Please ignore this step if you have already copied the license.dat file.)
Please do not modify this file in any way.
Users are required to update local DNS setting as indicated in
http://nitss.serc.iisc.ernet.in/docs/configuration/dns_settings/HowToChangeDNS.html
Specify the location of your License File and click Next.

Step 8: Confirm Your Choices and Begin Installation

Before it begins copying files to your hard disk, the installer displays a summary of your installation choices. To change a setting, click Back. To proceed with the installation, click Install.
As it copies files to your hard drive, the installer displays a status dialog box to show the progress of the installation.

Step 9: Complete the Installation

When the installation successfully completes, the installer displays the Installation Complete dialog box. Click on Finish.
SERC NOTE:
Make sure you are able to resolve sunlx2_17.serc.iisc.ernet.in <br
Command at the prompt is

#nslookup sunlx2_17.serc.iisc.ernet.in

Response you must get is

#Server: 10.16.25.15

Address: 10.16.25.15#53

sunlx2_17.serc.iisc.ernet.in.

Name: sunlx2_17.serc.iisc.ernet.in

Address: 10.16.4.40

Use following url for setting DNS.

http://nitss.serc.iisc.ernet.in/docs/configuration/dns_settings/HowToChangeDNS.html


Note : If you get license fetch error, please make the following entry in /etc/hosts

10.16.4.40    sunlx2_17   sunlx2_17.serc.iisc.ernet.in


For windows path is: C:\Windows\System32\drivers\etc\hosts
For Linux path is: /etc/hosts