首先要下载安装光盘.
Matlab801_MacUnix.iso
[root@db-172-16-3-150 mnt]# md5sum /ssd1/Matlab801_MacUnix.iso 
0d31a7ff79eaf48c0905f9845fa3e825  /ssd1/Matlab801_MacUnix.iso
mount -o loop,ro Matlab801_MacUnix.iso /mnt
光盘内容 : 
[root@db-172-16-3-150 ~]# cd /mnt
[root@db-172-16-3-150 mnt]# ll
total 4486
-r--r--r--. 1 root root    3371 Mar 23  2011 activate.ini
dr-xr-xr-x. 5 root root    2048 Feb 18  2013 archives
dr-xr-xr-x. 4 root root    2048 Feb 18  2013 bin
dr-xr-xr-x. 4 root root    2048 Feb 18  2013 etc
dr-xr-xr-x. 3 root root    2048 Feb 18  2013 help
-r-xr-xr-x. 1 root root   24293 Jan 17  2013 install
-r-xr-xr-x. 1 root root      31 Mar  7  2013 install_auto_linux
-r-xr-xr-x. 1 root root      31 Mar  7  2013 install_auto_macos
-r--r--r--. 1 root root    9304 Feb 13  2013 installer_input.txt
dr-xr-xr-x. 3 root root    2048 Feb 18  2013 InstallForMacOSX.app
dr-xr-xr-x. 3 root root    2048 Mar 16  2013 InstallForMacOSX_Auto.app
-r--r--r--. 1 root root 4261485 Jan 30  2013 install_guide.pdf
-r-xr-xr-x. 1 root root     150 Mar  7  2013 install.ini
-r-xr-xr-x. 1 root root    1984 Mar  7  2013 install_ini_linux.txt
-r-xr-xr-x. 1 root root     171 Mar  7  2013 install_ini_macos.txt
-r-xr-xr-x. 1 root root   24887 Mar  7  2013 install_linux
-r-xr-xr-x. 1 root root   24494 Mar  7  2013 install_macos
dr-xr-xr-x. 4 root root    2048 Feb 18  2013 java
-r--r--r--. 1 root root   77855 Jan 12  2013 license.txt
-r-xr-xr-x. 1 root root     284 Mar  7  2013 Matlab.desktop
-r-xr-xr-x. 1 root root  134246 Mar  7  2013 Matlab.png
-r--r--r--. 1 root root    6503 Feb 13  2013 readme.txt
dr-xr-xr-x. 2 root root    2048 Mar 16  2013 serial
dr-xr-xr-x. 3 root root    2048 Feb 18  2013 sys
-r-xr-xr-x. 1 root root     116 Mar  7  2013 uninstall_auto_linux
-r-xr-xr-x. 1 root root     123 Mar  7  2013 uninstall_auto_macos
-r--r--r--. 1 root root      32 Feb 18  2013 version.txt
序列号和许可文件 : 
[root@db-172-16-3-150 mnt]# cd serial/
[root@db-172-16-3-150 serial]# ll
total 23
-r-xr-xr-x. 1 root root 20805 Mar  7  2013 license.lic
-r-xr-xr-x. 1 root root  1964 Mar  7  2013 Readme.txt
readme内容(简单的安装说明) : 
[root@db-172-16-3-150 serial]# strings Readme.txt 
 "SetupSimple.exe"
 Cancel.
 "SetupSimple.exe" 
 "SetupSimple.exe":
 "setup.exe" (
 "bin\win32\setup.exe" 
 Windows)
 "install manually without using the internet"
 "file installation key"
   xxxxx-xxxxx-xxxxx-xxxxx
 "Activate manually without internet"
 "X:\serial\license.lic"
For English-speaking persons:
The simplest way to setup Matlab is to run "SetupSimple.exe".
At the end of setup process when you will be asked for activation - select "Cancel".
If this activation question will appear again when you start Matlab program 
please activate Matlab manually according to steps 5-6 in the list below.
If simplified setup does not work for you - just execute steps 1-6 manually.
To install follow these steps:
1) run "setup.exe" (or "bin\win32\setup.exe" to install 
    32-bit Matlab under 64-bit Windows)
2) choose "install manually without using the internet"
3) set the "file installation key" to be
   xxxxx-xxxxx-xxxxx-xxxxx
4) setup Matlab with required components
5) when asked to activate the product select 
Activate manually without internet
6) select "X:\serial\license.lic" when asked for license file
    (where "X" is drive letter with this DVD-disk at your computer)
创建安装目录
mkdir -p /opt/matlab/etc
mkdir -p /opt/matlab/2013a
安装配置 : 
安装过程中主要用到的文件有install, installer_input.txt, activate.ini和license.lic (在serial文件夹下,installationKey在此文件夹下的readme.txt中)
cd /mnt
sudo cp serial/license.lic /opt/matlab/etc //拷贝license
sudo cp activate.ini /opt/matlab/etc //拷贝激活文件模版供后续编辑
sudo cp installer_input.txt /opt/matlab/etc //拷贝自动安装文件模版供后续编辑
sudo vim /opt/matlab/etc/installer_input.txt //编辑installer_input文件, 键入星号内内容并保存
*******************************************
destinationFolder=/opt/matlab/2013a //安装目录
fileInstallationKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx //你的序列号,来自serial/readme.txt
agreeToLicense=yes //同意协议
outputFile=/tmp/mathwork_install.log //安装日志
mode=silent //开启无人值守安装
activationPropertiesFile=/opt/matlab/etc/activate.ini //激活文件
licensePath=/opt/matlab/etc/license.lic //你的license文件
*******************************************
sudo vim /opt/matlab/etc/activate.ini //编辑activate文件, 键入星号内内容并保存 
*******************************************
isSilent=true //开启silent模式
activateCommand=activateOffline //设置激活方式, 离线激活 无需联网
licenseFile=/opt/matlab/etc/license.lic //license文件位置
*******************************************
以上为全部准备工作,执行安装命令
sudo ./install -inputFile /opt/matlab/etc/installer_input.txt 
等待安装完毕即可
输出截取 : 
(Sep 26, 2013 17:19:29) Starting local product/component search
(Sep 26, 2013 17:19:29) Assembling product list...
(Sep 26, 2013 17:19:36) Completed local product/component search
(Sep 26, 2013 17:19:36) Starting local product/component search
(Sep 26, 2013 17:19:36) Completed local product/component search
(Sep 26, 2013 17:19:36) Installing Product: MATLAB Distributed Computing Server 6.2
(Sep 26, 2013 17:19:52) Installing Product: MATLAB 8.1
(Sep 26, 2013 17:20:06) Installing Product: Simulink 8.1
(Sep 26, 2013 17:20:28) Installing Product: Aerospace Blockset 3.11
(Sep 26, 2013 17:20:30) Installing Product: Aerospace Toolbox 2.11
(Sep 26, 2013 17:20:37) Installing Product: Bioinformatics Toolbox 4.3
(Sep 26, 2013 17:20:42) Installing Product: Communications System Toolbox 5.4
(Sep 26, 2013 17:20:49) Installing Product: Computer Vision System Toolbox 5.2
(Sep 26, 2013 17:21:11) Installing Product: Control System Toolbox 9.5
(Sep 26, 2013 17:21:13) Installing Product: Curve Fitting Toolbox 3.3.1
(Sep 26, 2013 17:21:14) Installing Product: Database Toolbox 4.1
(Sep 26, 2013 17:21:14) Installing Product: Datafeed Toolbox 4.5
(Sep 26, 2013 17:21:14) Installing Product: DO Qualification Kit 2.1
(Sep 26, 2013 17:21:19) Installing Product: DSP System Toolbox 8.4
(Sep 26, 2013 17:21:26) Installing Product: Econometrics Toolbox 2.3
(Sep 26, 2013 17:21:27) Installing Product: Embedded Coder 6.4
(Sep 26, 2013 17:21:29) Installing Product: Filter Design HDL Coder 2.9.3
(Sep 26, 2013 17:21:30) Installing Product: Financial Instruments Toolbox 1.1
(Sep 26, 2013 17:21:30) Installing Product: Financial Toolbox 5.1
(Sep 26, 2013 17:21:32) Installing Product: Fixed-Point Designer 4.0
(Sep 26, 2013 17:21:33) Installing Product: Fuzzy Logic Toolbox 2.2.17
(Sep 26, 2013 17:21:33) Installing Product: Global Optimization Toolbox 3.2.3
(Sep 26, 2013 17:21:34) Installing Product: HDL Coder 3.2
(Sep 26, 2013 17:21:37) Installing Product: HDL Verifier 4.2
(Sep 26, 2013 17:21:40) Installing Product: IEC Certification Kit 3.1
(Sep 26, 2013 17:21:42) Installing Product: Image Acquisition Toolbox 4.5
(Sep 26, 2013 17:21:44) Installing Product: Image Processing Toolbox 8.2
(Sep 26, 2013 17:21:52) Installing Product: Instrument Control Toolbox 3.3
(Sep 26, 2013 17:21:53) Installing Product: Mapping Toolbox 3.7
(Sep 26, 2013 17:21:58) Installing Product: MATLAB Builder JA 2.2.6
(Sep 26, 2013 17:21:58) Installing Product: MATLAB Coder 2.4
(Sep 26, 2013 17:22:01) Installing Product: MATLAB Compiler 4.18.1
(Sep 26, 2013 17:22:12) Installing Product: MATLAB Production Server 1.0.1
(Sep 26, 2013 17:22:12) Installing Product: MATLAB Report Generator 3.14
(Sep 26, 2013 17:22:13) Installing Product: Model Predictive Control Toolbox 4.1.2
(Sep 26, 2013 17:22:14) Installing Product: Neural Network Toolbox 8.0.1
(Sep 26, 2013 17:22:16) Installing Product: Optimization Toolbox 6.3
(Sep 26, 2013 17:22:17) Installing Product: Parallel Computing Toolbox 6.2
(Sep 26, 2013 17:22:17) Installing Product: Partial Differential Equation Toolbox 1.2
(Sep 26, 2013 17:22:17) Installing Product: Phased Array System Toolbox 2.0
(Sep 26, 2013 17:22:19) Installing Product: RF Toolbox 2.12
(Sep 26, 2013 17:22:20) Installing Product: Robust Control Toolbox 4.3
(Sep 26, 2013 17:22:21) Installing Product: Signal Processing Toolbox 6.19
(Sep 26, 2013 17:22:28) Installing Product: SimBiology 4.3
(Sep 26, 2013 17:22:29) Installing Product: SimDriveline 2.4
(Sep 26, 2013 17:22:31) Installing Product: SimElectronics 2.3
(Sep 26, 2013 17:22:32) Installing Product: SimEvents 4.3
(Sep 26, 2013 17:22:34) Installing Product: SimHydraulics 1.12
(Sep 26, 2013 17:22:35) Installing Product: SimMechanics 4.2
(Sep 26, 2013 17:22:40) Installing Product: SimPowerSystems 5.8
(Sep 26, 2013 17:22:43) Installing Product: SimRF 4.0
(Sep 26, 2013 17:22:47) Installing Product: Simscape 3.9
(Sep 26, 2013 17:22:49) Installing Product: Simulink 3D Animation 6.3
(Sep 26, 2013 17:22:50) Installing Product: Simulink Code Inspector 1.3
(Sep 26, 2013 17:22:50) Installing Product: Simulink Coder 8.4
(Sep 26, 2013 17:22:54) Installing Product: Simulink Control Design 3.7
(Sep 26, 2013 17:22:55) Installing Product: Simulink Design Optimization 2.3
(Sep 26, 2013 17:22:57) Installing Product: Simulink Design Verifier 2.4
(Sep 26, 2013 17:22:58) Installing Product: Simulink Report Generator 3.14
(Sep 26, 2013 17:22:59) Installing Product: Simulink Verification and Validation 3.5
(Sep 26, 2013 17:23:00) Installing Product: Stateflow 8.1
(Sep 26, 2013 17:23:01) Installing Product: Statistics Toolbox 8.2
(Sep 26, 2013 17:23:05) Installing Product: Symbolic Math Toolbox 5.10
(Sep 26, 2013 17:23:21) Installing Product: System Identification Toolbox 8.2
(Sep 26, 2013 17:23:23) Installing Product: SystemTest 2.6.5
(Sep 26, 2013 17:23:25) Installing Product: Wavelet Toolbox 4.11
(Sep 26, 2013 17:23:52) Notes: 
Your installation may require additional configuration steps.
1. The following products require a supported compiler:
MATLAB Compiler 4.18.1
MATLAB Builder JA 2.2.6
Stateflow 8.1
Simulink Coder 8.4
MATLAB Coder 2.4
2. Simulink requires a C compiler for simulation acceleration, model reference, and MATLAB Function Block capabilities. It is recommended that you install a supported compiler on your machine.
3. To accelerate computations with the following products, a supported compiler is required:
SimBiology 4.3
Fixed-Point Designer 4.0
4. After this installation is complete, you should continue with your configuration of the MATLAB Distributed Computing Server as outlined in the instructions obtained from www.mathworks.com/distconfig.
5. Important:
 Before you can use MATLAB Production Server, you must set up your environment.
a. Download and install the MATLAB Compiler Runtime (MCR)
- Install the MCR in the default location
- Use version R2012b (v8.0) or later of the MCR
b. At the system command line, run mps-setup from the script folder. The script folder is located at /opt/matlab/2013a/script.
c. For detailed instructions, download the Quick Start Guide.
(Sep 26, 2013 17:23:52) Exiting with status 0
(Sep 26, 2013 17:23:52) End - Successful.
Finished
注意以上输出的末尾部分的提醒, 你可能还需要装一些额外的软件来满足某些使用场景的需求.
本文就不介绍这些了.
接下来要做的是 : 
配置环境变量, 把matlab bin目录加到PATH
[root@db-172-16-3-150 ~]# vi ~/.bash_profile
export PATH=/opt/matlab/2013a/bin:$PATH
激活matlab, 在命令行中执行如下, activate.ini文件前面已经配置好了.
[root@db-172-16-3-150 bin]# ./activate_matlab.sh -propertiesFile /opt/matlab/etc/activate.ini 
Silent activation succeeded.
激活后就可以使用matlab了.
在命令行中使用 : 
[root@db-172-16-3-150 ~]# matlab -nodesktop -nodisplay
                                                      < M A T L A B (R) >
                                            Copyright 1984-2013 The MathWorks, Inc.
                                              R2013a (8.1.0.604) 64-bit (glnxa64)
                                                       February 15, 2013
To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.
>>

【转】Install MATLAB 2013a on CentOS 6.4 x64 with mode silent的更多相关文章

  1. Install .Net Core For CentOS

    Install .NET Core SDK Before you start, please remove any previous versions of .NET Core from your s ...

  2. Matlab 2013a 和 VS2010 混合编程

    最近由于项目需求,某项目的算法是基于MATLAB完成的,在短时间内需要去调用算法功能.因此,基于MATLAB生成DLL, C 调用的方式完成. 环境:MATLAB 2013a + VS2010 + w ...

  3. [转载]How to Install Firefox 33 on CentOS, Redhat and Other Linux Distributions

    FROM: http://tecadmin.net/install-firefox-on-linux/ Firefox 33 has been released for Systems and And ...

  4. Install RabbitMQ server in CentOS 7

    About RabbitMQ RabbitMQ is an open source message broker software, also sometimes known as message-o ...

  5. Install Docker Engine on CentOS 在CentOS 7 上安装Docker

    Install Docker Engine on CentOS OS Requirements 系统要求 To install Docker Engine,you need a maintained ...

  6. Centos 7.5 通过yum安装GNOME Desktop时出现:file /boot/efi/EFI/centos from install of fwupdate-efi-12-5.el7.centos.x86_64 conflicts with file from package grub2-common-1:2.02-0.65.el7.centos.2.noarch

    系统版本为: [root@s10 ~]# cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core) 由于管理kvm虚拟机的需求,需要安装 ...

  7. Centos 6.5 X64 环境下编译 hadoop 2.6.0 --已验证

    Centos 6.5 x64 hadoop 2.6.0 jdk 1.7 protobuf-2.5.0 maven-3.0.5 set environment export JAVA_HOME=/hom ...

  8. centos 6.5 x64创建并挂载使用iscsi共享磁盘

    前景摘要:NFS或iSCSI,哪个更好?文件 vs 块NFS使用文件级别的实施,服务器或存储阵列托管整个文件系统,客户到文件系统上读写文件,可以在阵列端对主存储数据进行重复数据删除.iSCSI和FC则 ...

  9. 编译安装LNMP Centos 6.5 x64 + Nginx1.6.0 + PHP5.5.13 + Mysql5.6.19

    (来自:http://www.cnblogs.com/vicowong/archive/2011/12/01/2116212.html) 环境: 系统硬件:vmware vsphere (CPU:2* ...

随机推荐

  1. javascript 弹出的窗口返回值给 父窗口

    直接上代码,有些地方可以用到: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <H ...

  2. 客户端(android,ios)与服务器通信

    android,ios客户端与服务器通信为了便于理解,直接用PHP作为服务器端语言 其实就是一个 http请求响应的过程序,先从 B/S模式说起浏览器发起http请求,服务器响应请求,并把数据返回给浏 ...

  3. Html5页面返回机制解决方案

    需要处理的返回场景: 1.正常的a->b->c 2.页面上的按钮触发需要登陆 3.页面跳转需要登陆 4.页面上的可修改的部分(如选择地址,地址页面本身也是可以增删改查的) 整体的原则是原路 ...

  4. php实现单链表

    <?php /** * 单链表 */ class Demo { private $id; public $name; public $next; public function __constr ...

  5. PHP提取身份证号码中的生日并验证是否成年的函数

    php 提取身份证号码中的生日日期以及确定是否成年的一个函数.可以同时确定15位和18位的身份证,经本人亲测,非常好用,分享函数代码如下: <?php //用php从身份证中提取生日,包括15位 ...

  6. RepeatedDNASequences BestTime_to_Buy_and_SellStockIV

    /** * @Author: weblee * @Email: likaiweb@163.com * @Blog: http://www.cnblogs.com/lkzf/ * @Time: 2015 ...

  7. hdu 5652 India and China Origins 并查集+逆序

    题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5652 题意:一张n*m个格子的点,0表示可走,1表示堵塞.每个节点都是四方向走.开始输入初始状态方格, ...

  8. merge into 和 update 的效率对比

    以前只考虑 merge into 只是在特定场合下方便才使用的,今天才发现,merge into 竟然会比 update 在更新数据时有这么大的改进.其实呢,merge into部分的update和u ...

  9. 如何在dapper中获取刚插入行的ID

    二话不说: 1.先建立个表 CREATE TABLE [dbo].[UserInfo](    [ID] [int] IDENTITY(1,1) NOT NULL,    [UserName] [nc ...

  10. Codeforces Round #327 div2

    Problem_A(591A): 题意: 有一段长度为l的路,两个人分别在两个端点,1, l. 现在已知每个人的速度为p,q. 求第一个人(初始位置在1)在他们第二次相遇的时候的位置. 当他们相遇的时 ...