mkdir /mnt/tmp
sudo mount -o loop R2015b_glnxa64.iso /mnt/tmp
sudo ./install
查看install_guide.pdf ,拷贝installer_input.txt 为my_installer_input.txt
destinationFolder=/opt/matlab
fileInstallationKey=09806-07443-53955-64350-21751-41297
agreeToLicense=yes
mode=silent
# licensePath=
$ ./install -inputFile ../my_installer_input.txt
sudo cp /[Your crack directory]/Matlab_R2015b/Matlab_2015b_Linux64_Crack/R2015b/bin/glnxa64/* /opt/matlab/bin/glnxa64
$ vim ~/.bash_profile
export PATH 之前添加PATH=$PATH:/mnt/MATLAB/R2015b/bin
让及时生效$ source ~/.bash_profile
matlab -nodisplay -r example
卡在欢迎界面,所以还需要做以下工作:安装x11
yum install xorg-x11-apps
yum install xorg-x11-xauth
修改/etc/ssh/sshd_config
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
重启sshd服务
service sshd restart
service sshd status
设置X11-Forwarding
export DISPLAY=localhost:10.0
echo $DISPLAY # 查看是否设置成功
重复上面的测试。
大功告成!
参考
http://www.centoscn.com/image-text/install/2016/0408/7018.html
http://blog.csdn.net/yomo127/article/details/51087749
标签: matlab
发表评论 登录: