Deployed Application not able to install using web installer in CentOS6

5 visualizzazioni (ultimi 30 giorni)
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 ?

Risposta accettata

Etsuo Maeda
Etsuo Maeda il 25 Nov 2019
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 Commenti
Etsuo Maeda
Etsuo Maeda il 26 Nov 2019
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 il 28 Nov 2019
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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by