How to connect a client to a license server in a terminal on macOS or GNU/Linux
- Open a Terminal.
-
In the terminal, enter the following commands to create and edit license.dat:
$ sudo mkdir -p /usr/local/flexlm/licenses
$ sudo vi /usr/local/flexlm/licenses/license.dat
- Press the i key to enter insert mode and start editing the file.
- Enter the following text:
-
If you want your license server to use any available port:
SERVER <server name> 0 ANY VENDOR toonboom USE_SERVER
Replace <server name>with the hostname of the server.
-
If you want your license server to use specific ports:
SERVER <server name> 0 <license server port> VENDOR toonboom PORT=<vendor daemon port> USE_SERVER
Replace <server name> with the hostname of the server, <license server port> with the port that you want the license server to use, and <vendor daemon port> with the port that you want the vendor daemon to use.
-
- Press Esc to exit insert mode.
- Type in :wq and press Enter to save and quit.
-
If the license server daemon is already running, restart it to make it take the new configuration in account:
$ sudo launchctl unload /Library/LaunchDaemons/com.toonboom.LicenseServer.plist
$ sudo launchctl load Library/LaunchDaemons/com.toonboom.LicenseServer.plist
Comments
0 comments
Please sign in to leave a comment.