How to install Matlab with toolboxes remotely on a linux server?

21 次查看(过去 30 天)
I would like to install a Matlab student version with some toolboxes on a linux server (Amazon EC2, CentOS based, no X11). I did "scp" the installation file I get from the website to my server. I provided all required informations in the input installation file to process the installation in silent mode since I don't have a X11 in my server. The problem is that installation file doesn't seem to contain all the actual Matlab program and toolboxes.
I do the following command in the Matlab installation folder:
sudo ./install -inputFile my_install_file.txt
And after it displays the content of my_install_file.txt, I get this theses lines:
(Oct 06, 2015 09:56:46) Starting local product/component search in download directory
(Oct 06, 2015 09:56:46) Searching for archives...
(Oct 06, 2015 09:56:46) Reading /home/ec2-user/Matlab/archives
(Oct 06, 2015 09:56:46) 2 files found in /home/ec2-user/Matlab/archives
(Oct 06, 2015 09:56:46) Reading /home/ec2-user/Matlab
(Oct 06, 2015 09:56:46) 17 files found in /home/ec2-user/Matlab
(Oct 06, 2015 09:56:46) /root/Downloads/MathWorks/R2015b/archives doesn't exist ... skipping.
(Oct 06, 2015 09:56:46) Archive search complete. 19 total files found.
(Oct 06, 2015 09:56:46) Assembling product list...
(Oct 06, 2015 09:56:46) Completed local product/component search
(Oct 06, 2015 09:56:46) Error: Unable to locate required installation files.
Using a File Installation Key requires you run the installer from a MATLAB DVD or from a directory which contains files previously downloaded via the installer.
To obtain the missing files, click Back on the previous screen and select Log in with a MathWorks Account or contact your MATLAB license administrator.
(Oct 06, 2015 09:56:46) Exiting with status -2
(Oct 06, 2015 09:56:47) End - Unsuccessful.
Finished
I don't have the DVD and even if I get it I couldn't be able to proceed the installation since it is a remote server (an entire ocean + a continent are between us). I also don't know how to log in the MathWorks account in silent mode.
How to install Matlab with toolboxes remotely on a linux server?

回答(1 个)

Shreshth
Shreshth 2024-7-10
Hey Sébastian,
To install MATLAB with toolboxes on a remote Linux server:
  1. Download the installation files from the MathWorks website.
  2. Transfer the files to the server.
  3. SSH into the server.
  4. Navigate to the installation directory.
  5. Run the installer using sudo ./install.
  6. Use silent mode for installation with an input file.
  7. Handle missing files as needed.
Hope it helps!

类别

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