This section explains how to deploy the
This section assumes Docker is already installed and running. For information about downloading and installing Docker, see the Get Docker topic in the Docker documentation.
To install and load the
Navigate to the directory where the image file is located.
Run the following command to load the image into Docker:
docker load -i <Flexnet License Server Manager image .zip file>
You will see output similar to the following:
D:\Git\FLSM>docker load -i FlexnetLicenseServerManager-2024-06.zip
7cd52847ad77: Loading layer [==============================================>] 7.338MB/7.338MB
d8a5a02a8c2d: Loading layer [==============================================>] 5.32MB/5.32MB
5e59460a18a3: Loading layer [==============================================>] 3.584kB/3.584kB
152a948bab3b: Loading layer [==============================================>] 4.608kB/4.608kB
c4d67a5827ca: Loading layer [==============================================>] 3.584kB/3.584kB
f1bee861c2ba: Loading layer [==============================================>] 7.168kB/7.168kB
042cd3f87f43: Loading layer [==============================================>] 29.85MB/29.85MB
dd9369c9bea6: Loading layer [==============================================>] 4.096kB/4.096kB
bf8fe155c7b7: Loading layer [==============================================>] 6.38MB/6.38MB
Loaded image: revenera/flsm:2024-06
Use the following command to verify the image:
docker images
You will see output similar to the following:
REPOSITORY TAG IMAGE ID CREATED SIZE
revenera/flsm 2024-06 135f63352db8 9 days ago 47.4MB
Note the value of the tag; this is required in the next step.
Use the following command to start the
docker run -d -p 8080:80 revenera/flsm:<tag>
where <tag> is the TAG value that is displayed when you run the docker images command, for example:
docker run -d -p 8080:80 revenera/flsm:2024-06
To enable HTTPS mode for the
server {
listen 1443 ssl http2;
listen [::]:1443 ssl http2;
server_name 127.0.0.1;
ssl_certificate /etc/nginx/conf.d/servercert.pem;
ssl_certificate_key /etc/nginx/conf.d/serverkey.pem;
#access_log /var/log/nginx/host.access.log main;
location /assets {
root /usr/share/nginx;
autoindex on;
}
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
}
Obtain or create the servercert.pem and serverkey.pem files.
Revenera recommends using a certificate from a standard certificate authority. You can convert the certificate that you receive from the certificate authority to .pem format using a third-party tool (for example, see the SSL Converter tool from SSLShopper).
If you choose not to purchase a certificate from an authority, you can obtain a free certificate from providers such as Cloudflare or Certbot.
Use the following command to copy the servercert.pem , serverkey.pem and default.conf to the container in which the
docker run -it -v /<path>/default.conf:/etc/nginx/conf.d/default.conf -v /<path>/serverkey.pem:/etc/nginx/conf.d/serverkey.pem -v /<path>/servercert.pem:/etc/nginx/conf.d/servercert.pem -p 1443:1443 revenera/flsm:<tag>
This command also starts the
Point a web browser to http://localhost:8080 (where 8080 is replaced by the correct port, if necessary) or https://localhost:1443.
By default, the
On the left side of the interface, click License Manager Configuration > Settings.
On the Settings view, check that the following settings are defined correctly:
FlexNet License Server Host Name—The host name of the machine on which the license server is running.
FlexNet License Server Port—The port on which the
To stop the
The