Installing lmreporter
This section explains how to install lmreporter:
• | Installing lmreporter With the lmadmin Installer |
• | Installing lmreporter as a Docker Image |
Installing lmreporter With the lmadmin Installer
When installing lmadmin, select the Install lmreporter tool option. The lmreporter button will then be displayed on the Home page of lmadmin.
Installing lmreporter as a Docker Image
This section guides you through the installation of FlexNet Publisher lmreporter without using the lmadmin installer. lmreporter is provided as a Docker image contained in a .zip file. Therefore, you must install Docker to be able to run lmreporter.
Note:lmreporter runs on a NGINX web server. The NGINX web server is included in the lmreporter-<version>.zip package, therefore you do not need to install NGINX.
• | Starting Docker |
• | Installing lmreporter in the Docker Container |
Note:Installing Docker is not covered in this section. For information about downloading and installing Docker, see the Docker documentation.
To start Docker, perform the following steps:
To start Docker:
1. | Start Docker Desktop. |
2. | In Docker Desktop, click the Start button. |
You can verify if Docker is up and running by using the following command:
docker -info
You will see output similar to the following:
C:\Users\fnpauto>docker -info
Client:
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc., v0.8.1)
compose: Docker Compose (Docker Inc., v2.3.3)
scan: Docker Scan (Docker Inc., v0.17.0)
Server:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 8
Server Version: 20.10.13
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 2a1d4dbdb2a1030dc5b01e96fb110a9d9f150ecc
runc version: v1.0.3-0-gf46b6ba
init version: de40ad0
Security Options:
seccomp
Profile: default
Kernel Version: 5.10.102.1-microsoft-standard-WSL2
Operating System: Docker Desktop
OSType: linux
Architecture: x86_64
CPUs: 12
Total Memory: 24.77GiB
Name: docker-desktop
ID: 2H3I:EJDK:PLLS:PPFZ:7RLG:NFNS:IJ4G:TWGH:HJJU:Q3JQ:GMLM:RY6V
Docker Root Dir: /var/lib/docker
Debug Mode: false
HTTP Proxy: http.docker.internal:3128
HTTPS Proxy: http.docker.internal:3128
No Proxy: hubproxy.docker.internal
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
hubproxy.docker.internal:5000
127.0.0.0/8
Live Restore Enabled: false
WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support
Installing lmreporter in the Docker Container
To install lmreporter in the Docker container, perform the following steps:
To Install lmreporter in the Docker container:
1. | Extract the lmreporter-<version>.zip file. |
2. | Run the following command to load the Docker image file: |
docker load -i <location of.tar file>
You will see output similar to the following:
C:\lmreporter>docker load -i lmReporterBackend.tar
cc2447e1835a: Loading layer [==================================================>] 7.626MB/7.626MB
fced6d5a2299: Loading layer [==================================================>] 118.7MB/118.7MB
ce3e1bf7cab7: Loading layer [==================================================>] 7.8MB/7.8MB
643ccf548ae4: Loading layer [==================================================>] 3.584kB/3.584kB
a8b35d4fdf6c: Loading layer [==================================================>] 3.584kB/3.584kB
ab3b5baef649: Loading layer [==================================================>] 301.1kB/301.1kB
c5b1800f7df1: Loading layer [==================================================>] 46.64MB/46.64MB
768f1b3b1d45: Loading layer [==================================================>] 14.31MB/14.31MB
b8e6fd9022c7: Loading layer [==================================================>] 69.71MB/69.71MB
Loaded image: lmreporter-backend: latest
C:\lmreporter>docker load -i lmReporterFrontend.tar
81fdcc81a9d0: Loading layer [==================================================>] 10.5MB/10.5MB
854101110f63: Loading layer [==================================================>] 3.584kB/3.584kB
38067ed663bf: Loading layer [==================================================>] 4.608kB/4.608kB
f126bda54112: Loading layer [==================================================>] 2.56kB/2.56kB
901e6dddcc99: Loading layer [==================================================>] 5.12kB/5.12kB
01e36c0e0b84: Loading layer [==================================================>] 7.168kB/7.168kB
4b701b99fec7: Loading layer [==================================================>] 31.37MB/31.37MB
5f70bf18a086: Loading layer [==================================================>] 1.024kB/1.024kB
3b90ec4959af: Loading layer [==================================================>] 4.608kB/4.608kB
89dc7efb93f6: Loading layer [==================================================>] 3.584kB/3.584kB
baf6836f3739: Loading layer [==================================================>] 1.968MB/1.968MB
Loaded image: lmreporter-frontend: latest
3. | Use the following command to run the lmreporter service: |
docker compose up --detach
You will see output similar to the following:
C:\lmreporter>docker compose up --detach
Building 0.0s (0/0) docker:default
Running 3/3
Network lmreporter_default Created 0.1s
Container lmreporter-backend-1 Started 0.1s
Container lmreporter-frontend-1 Started
4. | Use the following command to verify the running Docker containers: |
docker ps
You will see the following output:
C:\lmreporter>docker ps
REPOSITORY TAG IMAGE ID CREATED SIZE
lmreporter-frontend latest 5e2a7df9f80c 2 weeks ago 49.6MB
lmreporter-backend latest 987dc4b0c387 2 weeks ago 254MB