The Linux server does not have root privileges to install MATLAB r2013a

Source: Internet
Author: User

Matlab r2013a Unix Edition

Note: Because I am in the unit of the cluster system installed MATLAB, no root permissions, so download down. iso files can not be mounted under Linux with mount command, so the first decompression under win, and then upload the extracted files to the server.

Because there is no root privilege, all content that needs to be installed is in its own home directory.

Also, if you are also on a high-performance computing cluster, it is best to install it on the login node because I am always getting an error on the compute node--#

Platform: System kernel: x86_64. Operating system: CentOS release 6.3 (Final)

===== Preparatory work =====

Read some of the online posts, said to be installed in the Java Development environment JDK in order to successfully install MATLAB, do not know whether to install the JDK and MATLAB is not related to the graphical interface ...

JDK Installation Reference this sticker: http://www.cnblogs.com/kerrycode/p/3197865.html

The JDK version in this post is 1.7, and the latest version of the text is 1.8.0_05. Note: Because there is no root permissions, need to install in their own home directory, it is best to use the TAR package installation, with RPM will be automatically installed in the/usr/local

===============

OK, you can install MATLAB. Go to the directory where the installation files are stored, read and modify the Installer_input.txt file, mainly the following:

DESTINATIONFOLDER=/SNFS01/FF/MATLAB/R2013A (Your installation path, note to write an absolute path) fileinstallationkey=xxxxx-xxxxx-xxxxx-xxxxx (in the downloaded file, find it yourself) agreetolicense=yes outputfile=/snfs01/ff/matlabinstall.log (installation log, optional) mode=silent (installation mode) Licensepath =/snfs01/ff/matlabinstall/serial/license.lic (license file location, absolute path) save exit. Run in this directory./install-inputfile installer_input.txt (the parameter means that the text mode is installed so that it is faster.) )

Installation process if you encounter permission denied prompt, find the corresponding file, with chmod +x give it executable permissions.

I also encountered an error such as:

/tmp/mathworks_27576/sys/java/jre/glnxa64/jre/bin/java:error while loading shared libraries:libjli.so:cannot Open Shared object File:no such file or directory
Google a bit seems to be unable to find the Java installation directory problem, the workaround is to specify the directory:
./install-javadir/snfs01/ff/java/jdk1.8.0_05/jre-inputfile Installer_input.txt

After the installation, the entire installation process took dozens of minutes, than in win under the much faster!

After successful installation into the directory: Your installation path/bin, execute./matlab, if your server has installed X11, the graphical interface will start smoothly, with the same as win, the first boot will prompt activation. If you want to use the text mode, then execute:./MATLAB–NOJVM is OK! Exit: Exit.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.