linux(centos) 无root, 安装matlab2013a

没有root,服务器安装matlab 2013a。在centos5.5上。


按下面的过程:




在linux服务器安装matlab
别人的帖子:
1.安装好JAVA。


服务器的java版本一般都很低。


2.下载 Matlab R2011a下载。


我下的是linux版的,因为服务器是小红帽。


3.安装:./install -inputFile installer_input.txt


installer_input.txt 中按照提示填写,最后的安装组件默认是全部安装。




    destinationFolder=/your/path/to/matlab


    fileInstallationKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX


    agreeToLicense=yes


    outputFile=/home/username/mathworks_username.log


    mode=silent


    activationPropertiesFile=/home/usrname/lic_standalone.dat


4.漫长安装过程.


5.激活matlab。


./matlab -c /home/username/matlab/crack/lic_standalone.dat


如果你之前安装过图形界面工具(如Xming),就会自动启动图形界面。


6.结束。








实际上,我是没有成功的(按上述方法)。
原因
服务器是centos5.5.太老了,只支持2013a。
Java太旧,我还不会安装(no root)。


几个问题。
11.
The problem is that in the [matlab/install/dir]/bin/glnxa64/ a symbolic link is converted into a text file and doesn't behave as a link anymore. It must be replaced by a new one.


    cd bin/glnxa64
    rm libstdc++.so.6
    ln -s libstdc++.so.6.0.13 libstdc++.so.6


12.出现:
java.lang.reflect.InvocationTargetException at com.mathworks.wizard.WizardModule.provideDisplayProperties(Wijava.lang.reflect.InvocationTargetException at com.mathworks.wizard.WizardModule.provideDisplayProperties(WizardModule.java:60) while locating com.mathworks.instutil.DisplayProperties at com.mathworks.wizard.ui.components.ComponentsModule.providzardModule.java:60) while locating com.mathworks.instutil.DisplayProperties at com.mathworks.wizard.ui.components.ComponentsModule.provid




以次法解决:
The problem is that in the [matlab/install/dir]/bin/glnxa64/ a symbolic link is converted into a text file and doesn't behave as a link anymore. It must be replaced by a new one.


    cd ./install -tmpdir /path/to/home/subdirbin/glnxa64
    rm libstdc++.so.6
    ln -s libstdc++.so.6.0.13 libstdc++.so.6


13
出现:
The following error was detected while installing sl3d_glnxa64: archive is not a ZIP archive Would you like to retry installing sl3d_glnxa64? If you press No, the installer will exit without completing the installation.


是simulink 3D Animation Toolbox的问题。
解决:
131.   ./install -tmpdir /path/to/home/subdir 说是tmp太小,换一个位置。没试。
132.   java版本太旧。安装个新的。
133.   这个工具包就不安装了。我是这么作的。因为真是暂用不到。


在133中。我是用 ssh [email protected] -X的方式进入的。因为不用界面,我没法不选择simulink 3D animation这个工具箱。


最后,在~/bashrc里加入你的matlab路径,source ~/.bashrc一下。行了。







猜你喜欢

转载自blog.csdn.net/meatball1982/article/details/48548653