• 安装matlab文档url


    容器安装

    docker】安装matlab2017a
    https://blog.csdn.net/xll_bit/article/details/80841791

    远程终端docker容器linux操作系统安装MATLAB
    https://blog.csdn.net/lingerlanlan/article/details/100126845

    CentOS x64 安装Matlab R2015b
    https://blog.csdn.net/yomo127/article/details/51087749

    如何在容器中安装matlab2014a
    https://blog.csdn.net/thiswhoiam/article/details/54586582

    Linux下无图形界面安装Matlab: 静默安装
    https://www.cnblogs.com/vincent-vg/p/8053152.html

    linux安装MATLAB R2018a步骤
    https://blog.csdn.net/m0_37775034/article/details/80876362
    https://www.cnblogs.com/vincent-vg/p/8053152.html

    Ubuntu16.04安装MATLAB2018a并进行破解
    https://blog.csdn.net/zzc15806/article/details/82313072

    https://blog.csdn.net/feynman233/article/details/86083854

    Linux服务器下Matlab无权限安装指南
    https://blog.csdn.net/sinat_27318881/article/details/83184497

    linux下无图形界面安装matlab(2017b / 2019b)
    https://blog.csdn.net/Xiao_Song_PKU/article/details/82700228
    下载matlab2017 linux的破解版安装包(感谢参考1中的安装包分享:链接:https://pan.baidu.com/s/1wijZCXIWsNXgz0yYYBXHnQ 密码:e8b2 ),并解压 。(2019b下载链接:https://pan.baidu.com/s/1pIuXfxuzEjWm1IOJ_JgPnA 提取码:hCYZ  复制这段内容后打开百度网盘手机App,操作更方便哦)

    https://pan.baidu.com/s/1Z120_zLJzwMMRhzCZF_Vpw 提取码:o4lz
    CentOS命令行安装Matlab R2017b
    https://www.hhtjim.com/centos-command-line-install-matlab-r2017b.html

    CentOS7安装MatlabR2018b
    https://www.cnblogs.com/haibaraai0913/p/11466665.html

    容器安装步骤整合

    1,获取包及镜像

    使用ubuntu镜像及其他
    安装 jdk,据说jdk是为了支持图像化安装
    jdk-8u121-linux-x64.tar.gz (matlab2017a) 2014b、2016a版本用的JDK还是1.7的
    需要安装jdk,进入容器安装(待验证),添加环境变量

    解压matlab.iso 的所有文件到一个目录,以后会复制到容器内
    mount -t auto -o loop *dvd1.iso所在的绝对路径 /home//temp

    2, 以特权模式启动容器

    docker run -it --privileged -v path:path2 ubuntu /bin/bash
    复制文件到某个目录
    两个iso 都需要做

    3,安装

    /home//Matlab/install -mode silent -fileInstallationKey 29797-39064-48306-32452 -agreeToLicense yes 静默安装

    4,破解

    mkdir /usr/local/MATLAB/R2017a/bin/licenses/
    cp license_standalone.lic所在的目录 /usr/local/MATLAB/R2017a/bin/licenses/      %%注意后面的licenses不要输错

    cp libmwservices.so所在的目录 /usr/local/MATLAB/R2017a/bin/glnxa64/

    5,添加环境变量

    export PATH=/usr/local/MATLAB/R2017a/bin:$PATH
    source ~/.bashrc
    注:这时若提示少 .so的库,可将宿主机相关的库拷到容器里即可

    另外的安装方法:
    mount -o loop R2017b_glnxa64.iso /media/matlab 整个是因为所有文件都在一个iso内
    安装:
    进入/media/matlab目录安装
    ./install -mode silent -fileInstallationKey 09806-07443-53955-64350-21751-41297 -agreeToLicense yes -activationPropertiesFile /home/gpu-server02/software/MATLAB_R2017b_Linux/MATLABR2017b_Linux_Crack/activate.ini -destinationFolder /usr/local/matlab2017b

    注意:
    1,/home/gpu-server02/software/MATLAB_R2017b_Linux/MATLABR2017b_Linux_Crack/activate.ini是/media/matlab/activate.ini复制过来并且进行修改的(先进行复制,然后修改写权限:用chmod +w,因为直接修改/media/matlab/activate.ini不能成功,所以复制一份再修改),修改的内容如下所示:(注意:对应的激活文件路径以及激活码(在自己下载的matlab安装包中,以license为字眼进行寻找。2019b的Key在readme.txt里面))

    2,-------/home/gpu-server02/software/MATLAB_R2017b_Linux/MATLABR2017b_Linux_Crack/activate.ini修改后的内容-------------

    激活(可能是为了防止第一次启动需要激活吧,原因不清楚,保险起见再使用activate_matlab.sh激活一次)
    进入目录:/usr/local/matlab2017b/bin

    ./activate_matlab.sh -propertiesFile /home/gpu-server02/software/MATLAB_R2017b_Linux/MATLABR2017b_Linux_Crack/activate.ini

    显示静默激活成功(Slient activation succeeded),完成激活

    破解:
    rm -rf /usr/local/matlab2017b/bin/glnxa64/libmwservices.so (2017b执行)

    cp /home/gpu-server02/software/MATLAB_R2017b_Linux/MATLABR2017b_Linux_Crack/libmwservices.so /usr/local/matlab2017b/bin/glnxa64/   (2017b执行)

    cp /home/gpu-server02/software/MATLAB_R2017b_Linux/MATLABR2017b_Linux_Crack/license_standalone.lic /usr/local/matlab2017b/licenses/    (2017b以及2019b都要执行)

    安装2019b注意:在matlab2019b的安装路径里面找不到licenses,这里直接在安装路径下mkdir licenses,然后再进行cp操作

    安装2019b注意:需要将安装包里面的glnxa64复制到安装包的bin路径下:cp -a /home/gpu-server02/software/MATLAB_R2019b_linux/Matlab_R2019b_Linux64_Crack/R2019b/bin/glnxa64 /usr/local/matlab2019b/bin/ (假如安装2019b的路径是/usr/local/matlab2019b)

    umount -l /media/matlab/

    添加path

    破解参考:
    https://blog.csdn.net/Xiao_Song_PKU/article/details/82700228

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

    容器安装matlab

    使用环境:
    链接: https://pan.baidu.com/s/1W6jWkaXEMpMUEmIl8qmRwg 密码: igx6
    下载后,在windows 下使用winra将包合并成一个iso文件待使用

    1,解压破解文件

    tar -xvf Matlab2018aLinux64Crack.tar.gz 
    有三个文件备用
    
    

    2,将下载的matlab.iso 镜像挂载,挂载后复制文件到一个目录

    mount -o loop R2017b_glnxa64.iso /media/
    cp  -r  /media       /tt
    
    

    3,使用ubuntu1604镜像安装

     docker  pull  ubuntu:16.04    #1604镜像   
    
    ###docker run -it --privileged -v /tt:/home/tt  ubuntu  /bin/bash  
    docker run -it --rm  -v /tt:/home/tt  ubuntu:16.04  /bin/bash 
    ##进入容器的/home/tt下 执行:
    ./install -mode silent -fileInstallationKey  09806-07443-53955-64350-21751-41297   -agreeToLicense yes -activationPropertiesFile /home/po/license_standalone.lic  -destinationFolder  /usr/local/matlab
    
    注意:此方法为静默安装,非图像安装
    -fileInstallationKey   此key 从破解文件的install_key  获取
    -activationPropertiesFile  指定破解文件的license文件
    -destinationFolder   指定安装目录
    
    ##安装完成后显示
    Your installation may require additional configuration steps.
    
    1. The following products require a supported compiler:
    
    Stateflow 9.0
    Simulink Coder 8.13
    MATLAB Coder 3.4
    Simulink Test 2.3
    
    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 5.7
    Fixed-Point Designer 6.0
    
    4. MATLAB Compiler SDK 6.4 requires the following: 
     
    ?  a supported compiler for creation of C and C++ Shared libraries
    ?  a Java JDK for creation of Java packages
    
    (Feb 04, 2020 11:20:09) Exiting with status 0
    (Feb 04, 2020 11:20:11) End - Successful.
    Finished
    
    
    ##复制破解文件
    cp license_standalone.lic    /usr/local/MATLAB/R2017b/licenses/      #/usr/local/MATLAB/R2017b/ 为安装根目录
    cp libmwservices.so          /usr/local/MATLAB/R2017b/bin/glnxa64/
    
    
    ##启动
    ./matlab  -nodisplay  命令启动会报错
    缺少libX11.so.6
    apt  install  libx11-dev
    
    缺少libXext.so.6 
    apt-get install libxext-dev
    
    libXt.so.6: cannot open shared object file: No such file or directory
    
    处理:
     apt-get -y install libxmu6
    
    ##添加环境变量
    #set matlab evvironment 
    export PATH=$PATH:/usr/local/matlab/bin 
    
    ##安装MATLAB的支持包
    apt-get install matlab-support
    

    [python][matlab]使用python调用matlab程序

    https://www.cnblogs.com/wildkid1024/p/10417183.html

    matlab需要安装得依赖

    ##ubuntu 
    缺少libX11.so.6
    apt  install  libx11-dev
    
    缺少libXext.so.6 
    apt-get install libxext-dev
    
    libXt.so.6: cannot open shared object file: No such file or directory
    
    处理:
     apt-get -y install libxmu6
     
     libxrender1.so.1
     apt-get install libxrender1
     
     
     libxcomposite1.so.1
      apt-get install libxcomposite1
     
     ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory
     apt-get install libglib2.0-dev
     
     libgobject-2.0.so.0: cannot open shared object file: No such file or directory
     apt-get install libglib2.0-dev
     
     
     libnss3.so: cannot open shared object file: No such file or directory
     apt install   libnss3-dev
     
     libfontconfig.so.1: cannot open shared object file: No such file or directory
     apt-get install libfontconfig1
     
     libXi.so.6: cannot open shared object file: No such file or directory
     apt-get install libxi6
     
     libXcursor.so.1: cannot open shared object file: No such file or directory
      apt-get install libxcursor-dev
      
      
      
      libasound.so.2: cannot open shared object file: No such file or directory
       apt-get install libasound2
       
       libXdamage.so.1: cannot open shared object file: No such file or directory
       apt-get install libxdamage1
       
       libXtst.so.6
       libXtst.so.6: cannot open shared object file: No such file or directory
    apt-get install libxtst6
    
    libXrandr.so.2: cannot open shared object file: No such file or directory
    apt-get install libxrandr2
    
    libdbus-1.so.3: 
    apt-get install libdbus-1-3
    
    
    ##centos 
    yum whatprovides  libgdk_pixbuf-2.0.so.0
    	yum whatprovides  libfontconfig.so.1
    	yum whatprovides  libpangocairo-1.0.so.0
    	yum whatprovides  libpango-1.0.so.0
    	yum whatprovides  libcairo.so.2
    	yum whatprovides  libXcursor.so.1
    	yum whatprovides  libXdamage.so.1
    	yum whatprovides     libXfixes.so.3
    	yum whatprovides     libXi.so.6
    	yum whatprovides     libXtst.so.6                  libXtst
    	yum whatprovides     libXrandr.so.2					libXrandr
    	yum whatprovides     libXss.so.1					libXScrnSaver
    	yum whatprovides     libasound.so.2                 alsa-lib
    	yum whatprovides     libcups.so.2					1:cups-libs
    	yum whatprovides     libatk-1.0.so.0				atk
    	yum whatprovides     libgdk_pixbuf-2.0.so.0			gdk-pixbuf2
    	yum whatprovides     libatk-1.0.so.0				atk
    	yum whatprovides     libpangoft2-1.0.so.0			pango
    	yum whatprovides     libpangocairo-1.0.so.0			pango
    	yum whatprovides     libpango-1.0.so.0				pango
    	yum whatprovides     libfontconfig.so.1				fontconfig
    	yum whatprovides     libXinerama.so.1				libXinerama
    	yum whatprovides     libXrandr.so.2					libXrandr
    	yum whatprovides     libXcursor.so.1				libXcursor
    	yum whatprovides     libXdamage.so.1				libXdamage
    	yum whatprovides     libXfixes.so.3						libXfixes
    	yum whatprovides     libgdk_pixbuf-2.0.so.0				gdk-pixbuf2
    	yum whatprovides     libcairo.so.2					cairo
    	yum whatprovides     libpangocairo-1.0.so.0        pango
    	yum whatprovides     libpango-1.0.so.0				pango-
    	yum whatprovides     libfontconfig.so.1          fontconfig
    	yum whatprovides     libXinerama.so.1			libXinerama
    	yum whatprovides     libXrandr.so.2             libXrandr
    	yum whatprovides     libXcursor.so.1			libXcursor
    	yum whatprovides     libXdamage.so.1				libXdamage
    	yum whatprovides     libXfixes.so.3				libXfixes
    	yum whatprovides     libgdk_pixbuf-2.0.so.0			gdk-pixbuf2
    	yum whatprovides     libcairo.so.2					cairo
    
    ######
    yum install   -y    gdk-pixbuf2     
         yum install   -y    fontconfig
         yum install   -y    pango
         yum install   -y    cairo
         yum install   -y    libXcursor
         yum install   -y    libXdamage
         yum install   -y    libXfixes
         yum install   -y    libXi
         yum install   -y     libXtst
         yum install   -y      libXrandr
         yum install   -y      libXScrnSaver
         yum install   -y         alsa-lib
         yum install   -y    	cups-libs
         yum install   -y    	atk
         yum install   -y    	gdk-pixbuf2
    	 
    	 
         yum install   -y    	atk             &&
         yum install   -y    	pango           &&
         yum install   -y    	pango           &&
         yum install   -y    	pango           &&
         yum install   -y    	fontconfig      &&
         yum install   -y    	libXinerama     &&
         yum install   -y    	libXrandr       &&
         yum install   -y    	libXcursor      &&
         yum install   -y    	libXdamage      &&
         yum install   -y    		libXfixes   &&
         yum install   -y    		gdk-pixbu   &&
         yum install   -y    	cairo           &&
         yum install   -y        pango          &&
         yum install   -y    	pango-          &&
         yum install   -y      fontconfig       &&
         yum install   -y    libXinerama        &&
         yum install   -y     libXrandr         &&
         yum install   -y    libXcursor         &&
         yum install   -y    	libXdamage      &&
         yum install   -y    libXfixes          &&
         yum install   -y    	gdk-pixbuf2     &&
         yum install   -y    	cairo
    
    

    ubuntu

    
    
    libnss3.so
    libnssutil3.so
    libsmime3.so
    apt install   libnss3-dev  或
    apt-get install libnss3
    
    https://packages.ubuntu.com/bionic/amd64/libnss3/filelist
    
    https://launchpad.net/ubuntu/bionic/+package/libnss3-tools
    
    
    
    
    libnspr4.so  
    https://packages.ubuntu.com/bionic/amd64/libnspr4/filelist
    Update the package index:
    # sudo apt-get update
    Install libnspr4 deb package:
    # sudo apt-get install libnspr4
    
    
    
    
    libasound.so.2
    https://packages.ubuntu.com/bionic/amd64/libasound2/filelist
    sudo  apt-get install libasound2
    
  • 相关阅读:
    每天学习Linux——日志管理
    每天学习Linux——日志查看
    每天学习Linux命令——history
    .NET中property与attribute的区别,以及反射机制
    java内部类
    java的多态
    子类构造方法
    单例模式
    重载,重写
    数据库调优的方法有那些
  • 原文地址:https://www.cnblogs.com/g2thend/p/12255280.html
Copyright © 2020-2023  润新知