How to install only the license manager without a graphical interface on a Linux machine?

17 views (last 30 days)
On my desk I used a Mac to download the Mac installer first, and by starting this to download only the Linux version. This created directory with the Linux stuff I copied to the target machine.
To have an automatic installation without the graphical interface on Linux, I duplicated the supplied “installer_input.txt” file to a new one and made the necessary changes like accepting the license, set the “lmgrFiles=true” and inserted the code for the file activation.
While this installs indeed the license manager, it always includes the complete MatLab package which I neither need nor want on this machine. This seems to be the default in case none of the products at the end of the input file are uncommented.
So the final question: what do I have to put in the input file for the installer to install the license manager only and avoid any installation of additional packages?

Accepted Answer

Andreas Goser
Andreas Goser on 19 Oct 2016
Thomas, you might want to try to download and installer from here. If that does not work out, please contact installation support.
  1 Comment
Thomas Reuter
Thomas Reuter on 26 Oct 2016
I got it working with these items, but an example how to start it and perform basic tasks like to check the state of the license daemon would be appreciated.

Sign in to comment.

More Answers (1)

David Tomilson
David Tomilson on 17 Aug 2020
Can you please paste teh syntax you have used from the CLI to get this to work?
I'm trying to setup an installation in Linux myself without a GUI and using an answer file.
  1 Comment
Thomas Reuter
Thomas Reuter on 18 Aug 2020
I run the license manager not as root, but as ordinary user in a virtual machine:
soft@vh15004:~> nohup /opt/mathworks/flexlm/lmgrd.rc >/dev/null 2>&1
The content in lmgrd.rc is:
#!/bin/sh
/opt/mathworks/flexlm/lmgrd -c /opt/mathworks/flexlm/server.lic -l /var/spool/flexlm/lmgrd_MLM.log
The license file server.lic has to include the chosen ports and your license information:
SERVER vh15004 2E56892B0214 27000
DAEMON MLM port=27010
# BEGIN--------------BEGIN--------------BEGIN
# Your license information here
# END-----------------END-----------------END
Please adjust all paths, MAC address, ports and license information according to your installation. All your clients need only the first two lines from this license file to find the flexlm server.
Checking the running license server can be achieved with:
soft@vh15004:~> /opt/mathworks/flexlm/lmutil lmstat -c /opt/mathworks/flexlm/server.lic -a
HTH – Reuti

Sign in to comment.

Categories

Find more on Manage Products in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!