Deployed Application not able to install using web installer in CentOS6

조회 수: 5 (최근 30일)
I am using MATLAB 2019b. OS is CentOS6 (RHEL6)
I followed these steps:
1) Wrote a MATLAB code "SampleApp.m"
2) Using deploytool, build it as a "stand alone application". "Runtime download from web" options was selected.
3) In "for redistribution" folder, SampleAppInstaller_web.install file was generated.
In terminal, I tried to install it using command and got the following error
$ sudo ./SampleAppInstaller_web.install
Error: Download process failed - Couldn't connect to server
. Check your internet connectivity, proxy server, firewall, and virus scanner settings and rerun the installer.
Installation failed.
I have checked the internet settings, set the proxy and disabled firewall. The "yum update" command is also working fine.
What could be the reason for the error ? Is there any limitation of support for CentOS 6 ?

채택된 답변

Etsuo Maeda
Etsuo Maeda 2019년 11월 25일
I am not sure your network environment but you can download MATLAB Runtime from your web browser: https://mathworks.com/products/compiler/matlab-runtime.html
If you changed the proxy server in your MATALB configulation window, please try to deploy your application again because the deployed application inherits almost all of environmental settings of your latest development environment.
note: R2019b requires Red Hat 6.7 and later
HTH
  댓글 수: 7
Etsuo Maeda
Etsuo Maeda 2019년 11월 26일
Hi Varun - san,
Your proxy issue seems very complicated, I will need more time for investigation... sorry.
Here is another solution. Following system commands are expected to download and install R2019b Update1 MCR, MATLAB Runtime in your Linux system.
$ wget http://ssd.mathworks.com/supportfiles/downloads/R2019b/Release/1/deployment_files/installer/complete/glnxa64/MATLAB_Runtime_R2019b_Update_1_glnxa64.zip
$ unzip MATLAB_Runtime_R2019b_Update_1_glnxa64.zip
$ sudo ./install
After installation of MCR, you can redistribute files in "for_redistribution files only" folder. This folder includes executable files only which can work in MCR installed environment.
Best
Varun Pai
Varun Pai 2019년 11월 28일
Maeda-san,
Thank you for the instructions. I was finally able to solve it.
I followed the below 2 steps:
1) Added these lines in the file /etc/environment of CentOS
http_proxy=http://<proxy_address>:<portnumber>/
https_proxy=http://<proxy_address>:<portnumber>/
2) Created a symbolic link to the ca-certificates.crt file
!sudo ln -s /etc/ssl/certs/ca-bundle.trust.crt /etc/ssl/certs/ca-certificates.crt
Then run
!sudo ./AppInstaller_web.install

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by