2019-06-06 matlab2017b 安裝

mount -t auto -o loop R2017b_glxna64.iso /media/tmp
cd /media/tmp
./install -mode silent -fileInstallationKey 09806-07443-53955-64350-21751-41297 -agreeToLicense yes -activationPropertiesFile /public1/nong/matlab/Crack/license_standalone.lic -destinationFolder  /public0/exe/matlab2017b

激活

cd /public0/exe/matlab2017b/bin/
cp /media/tmp/Crack/libmwservices.so glnxa64/
cp /media/tmp/activate.ini ../etc/
chmod +w ../etc/activate.ini 

vim ../etc/activate.ini
activateCommand=activateOffline
licenseFile=/media/tmp//Crack/license_standalone.lic

##################################################################
#
# Name: activate.ini
#
# Copyright 2008-2010 The MathWorks, Inc.
#
# Purpose: Activation application initialization file template. 
# Use this file to specify parameters required by the activation
# application at runtime. This file provides the activation
# application with required input without using the GUI.
#
# INSTRUCTIONS FOR RUNNING IN SILENT MODE
#
# To run the activation application in silent mode:
#
# 1. Create a copy of this template file and fill in the required 
#    information.
#
# 2. Navigate to the folder containing the activation application.
#    (Windows) $MATLABROOT\bin\$ARCH
#    (Mac/Linux) $MATLABROOT/bin
#
# 3. Launch the activation application from the command line, 
#    using the -propertiesFile option to specify the name of your 
#    activation initialization file.
#
#    (Windows) activate_matlab.exe -propertiesFile <file_name>
#    (Mac/Linux) activate_matlab.sh -propertiesFile <file_name>       
#
#  NOTE: If you want to perform silent activation automatically
#  after performing silent installation, specify the name of your
#  activation initialization file as the value of the 
#  activationPropertiesFile= option in the installer initialization 
#  file (installer_input.txt). This option causes the installer 
#  to launch the activation application in silent mode. You can
#  also specify the activation initialization file as an argument
#  when you launch the installer, using the -activationPropertiesFile 
#  option.
#
#  NOTE: When run in silent mode, the activation application does
#  not display the activation dialog boxes.
#
##################################################################
#
# SPECIFY ACTIVATION MODE
#
# Specify whether or not to run in silent mode.
#
# Valid values: true / false
#
# Default: isSilent=true.

isSilent=true

#
# SPECIFY ACTIVATION TYPE (Required)
# 
# Specify the type of activation you want to do.
#
# Valid values: activateDcAnon / activateOffline

activateCommand=activateOffline

# 
# SPECIFY LICENSE FILE LOCATION (Required if activateCommand=activateOffline)
#
# If you specified the activation type activateOffline, you
# must specify the location of the License File that you want
# to install. 
#
# Mac/Linux example:
# licenseFile=/Central/license.dat
#
# Windows example:
# licenseFile=C:\license.dat

licenseFile=/media/tmp/Crack/license_standalone.lic/Crack/license_standalone.lic

#
# SPECIFY ACTIVATION KEY (Required if activateCommand=activateDcAnon)
#
# If you specified the activation type activateDcAnon,you must 
# specify a valid Activation Key. 
# 
# Example: activationKey=55555-55555-55555-55555 

activationKey=

#
# SPECIFY LICENSE FILE DESTINATION DIRECTORY (Optional)
#
# Specify the directory into which you want to install the license file.
# You must specify the full path of a directory that already exists.
# 
# NOTE: This option is only for advanced users since it could make MATLAB
# unable to start without specifying special options.
#
# Mac/Linux example:
# installLicenseFileDir=/Central/LicenseDirectory
#
# Windows examples:
# installLicenseFileDir=C:\License Directory

installLicenseFileDir=

#
# SPECIFY NAME OF INSTALLED LICENSE FILE (Optional)
#
# Specify the name of the installed License File. The file name
# must have with either .lic or .dat file extension.
# 
# Example: installLicenseFileName=license.dat

installLicenseFileName=

./activate_matlab.sh -propertiesFile ../etc/activate.ini
export PATH="$PATH:/public0/exe/matlab2017b/bin"

參考
https://www.cnblogs.com/vincent-vg/p/8053152.html

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末突梦,一起剝皮案震驚了整個(gè)濱河市,隨后出現(xiàn)的幾起案子窘问,更是在濱河造成了極大的恐慌侦厚,老刑警劉巖俺叭,帶你破解...
    沈念sama閱讀 221,695評(píng)論 6 515
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場(chǎng)離奇詭異,居然都是意外死亡毕箍,警方通過查閱死者的電腦和手機(jī)腮鞍,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 94,569評(píng)論 3 399
  • 文/潘曉璐 我一進(jìn)店門值骇,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人移国,你說我怎么就攤上這事吱瘩。” “怎么了迹缀?”我有些...
    開封第一講書人閱讀 168,130評(píng)論 0 360
  • 文/不壞的土叔 我叫張陵使碾,是天一觀的道長(zhǎng)。 經(jīng)常有香客問我祝懂,道長(zhǎng)票摇,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 59,648評(píng)論 1 297
  • 正文 為了忘掉前任砚蓬,我火速辦了婚禮矢门,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘灰蛙。我一直安慰自己祟剔,他們只是感情好,可當(dāng)我...
    茶點(diǎn)故事閱讀 68,655評(píng)論 6 397
  • 文/花漫 我一把揭開白布摩梧。 她就那樣靜靜地躺著峡扩,像睡著了一般。 火紅的嫁衣襯著肌膚如雪障本。 梳的紋絲不亂的頭發(fā)上教届,一...
    開封第一講書人閱讀 52,268評(píng)論 1 309
  • 那天,我揣著相機(jī)與錄音驾霜,去河邊找鬼案训。 笑死,一個(gè)胖子當(dāng)著我的面吹牛粪糙,可吹牛的內(nèi)容都是我干的强霎。 我是一名探鬼主播,決...
    沈念sama閱讀 40,835評(píng)論 3 421
  • 文/蒼蘭香墨 我猛地睜開眼蓉冈,長(zhǎng)吁一口氣:“原來是場(chǎng)噩夢(mèng)啊……” “哼城舞!你這毒婦竟也來了轩触?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 39,740評(píng)論 0 276
  • 序言:老撾萬榮一對(duì)情侶失蹤家夺,失蹤者是張志新(化名)和其女友劉穎脱柱,沒想到半個(gè)月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體拉馋,經(jīng)...
    沈念sama閱讀 46,286評(píng)論 1 318
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡榨为,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 38,375評(píng)論 3 340
  • 正文 我和宋清朗相戀三年,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了煌茴。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片随闺。...
    茶點(diǎn)故事閱讀 40,505評(píng)論 1 352
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡,死狀恐怖蔓腐,靈堂內(nèi)的尸體忽然破棺而出矩乐,到底是詐尸還是另有隱情,我是刑警寧澤回论,帶...
    沈念sama閱讀 36,185評(píng)論 5 350
  • 正文 年R本政府宣布散罕,位于F島的核電站,受9級(jí)特大地震影響透葛,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜卿樱,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,873評(píng)論 3 333
  • 文/蒙蒙 一僚害、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧繁调,春花似錦萨蚕、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 32,357評(píng)論 0 24
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至裕寨,卻和暖如春浩蓉,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背宾袜。 一陣腳步聲響...
    開封第一講書人閱讀 33,466評(píng)論 1 272
  • 我被黑心中介騙來泰國(guó)打工捻艳, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人庆猫。 一個(gè)月前我還...
    沈念sama閱讀 48,921評(píng)論 3 376
  • 正文 我出身青樓认轨,卻偏偏與公主長(zhǎng)得像,于是被迫代替她去往敵國(guó)和親月培。 傳聞我的和親對(duì)象是個(gè)殘疾皇子嘁字,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 45,515評(píng)論 2 359

推薦閱讀更多精彩內(nèi)容