Rocky Linux 8 – TP-Link Omada SDN v5 installation in correct way

Check for available installers for Java 8.

$ sudo yum list java-1*

From listed Java we will install only 2 of them.

$ sudo dnf install java-1.8.0-openjdk.x86_64 java-1.8.0-openjdk-devel.x86_64

There is no MongoDB repo, so we can install it directly from MongoDB servers.

[kamil@omada-sdn ~]$ sudo dnf install https://repo.mongodb.org/yum/redhat/8/mongodb-org/4.4/x86_64/RPMS/mongodb-org-server-4.4.14-1.el8.x86_64.rpm
Last metadata expiration check: 0:05:05 ago on Tue 31 May 2022 01:09:44 PM CEST.
mongodb-org-server-4.4.14-1.el8.x86_64.rpm                                            20 MB/s |  22 MB     00:01
Dependencies resolved.
=====================================================================================================================
 Package                          Architecture         Version                      Repository                  Size
=====================================================================================================================
Installing:
 mongodb-org-server               x86_64               4.4.14-1.el8                 @commandline                22 M

Transaction Summary
=====================================================================================================================
Install  1 Package

Total size: 22 M
Installed size: 80 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                             1/1
  Running scriptlet: mongodb-org-server-4.4.14-1.el8.x86_64                                                      1/1
  Installing       : mongodb-org-server-4.4.14-1.el8.x86_64                                                      1/1
  Running scriptlet: mongodb-org-server-4.4.14-1.el8.x86_64                                                      1/1
Created symlink /etc/systemd/system/multi-user.target.wants/mongod.service → /usr/lib/systemd/system/mongod.service.

  Verifying        : mongodb-org-server-4.4.14-1.el8.x86_64                                                      1/1

Installed:
  mongodb-org-server-4.4.14-1.el8.x86_64

Complete!

If wget is missing in your installation, just run:

[kamil@omada-sdn ~]$ sudo dnf install wget
Last metadata expiration check: 0:15:32 ago on Tue 31 May 2022 01:17:51 PM CEST.
Dependencies resolved.
=====================================================================================================================
 Package                     Architecture           Version                          Repository                 Size
=====================================================================================================================
Installing:
 wget                        x86_64                 1.19.5-10.el8                    appstream                 733 k
Installing dependencies:
 libmetalink                 x86_64                 0.1.3-7.el8                      baseos                     31 k

Transaction Summary
=====================================================================================================================
Install  2 Packages

Total download size: 763 k
Installed size: 2.8 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): libmetalink-0.1.3-7.el8.x86_64.rpm                                            171 kB/s |  31 kB     00:00
(2/2): wget-1.19.5-10.el8.x86_64.rpm                                                 1.4 MB/s | 733 kB     00:00
---------------------------------------------------------------------------------------------------------------------
Total                                                                                722 kB/s | 763 kB     00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                             1/1
  Installing       : libmetalink-0.1.3-7.el8.x86_64                                                              1/2
  Installing       : wget-1.19.5-10.el8.x86_64                                                                   2/2
  Running scriptlet: wget-1.19.5-10.el8.x86_64                                                                   2/2
  Verifying        : wget-1.19.5-10.el8.x86_64                                                                   1/2
  Verifying        : libmetalink-0.1.3-7.el8.x86_64                                                              2/2

Installed:
  libmetalink-0.1.3-7.el8.x86_64                              wget-1.19.5-10.el8.x86_64

Complete!

Now time for JSVC from Apache.

[kamil@omada-sdn ~]$ wget https://downloads.apache.org/commons/daemon/source/commons-daemon-1.3.1-native-src.tar.gz
--2022-05-31 13:33:31--  https://downloads.apache.org/commons/daemon/source/commons-daemon-1.3.1-native-src.tar.gz
Resolving downloads.apache.org (downloads.apache.org)... 135.181.214.104, 88.99.95.219, 2a01:4f9:3a:2c57::2, ...
Connecting to downloads.apache.org (downloads.apache.org)|135.181.214.104|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 211777 (207K) [application/x-gzip]
Saving to: ‘commons-daemon-1.3.1-native-src.tar.gz’

commons-daemon-1.3.1-native-s 100%[==============================================>] 206.81K  --.-KB/s    in 0.1s

2022-05-31 13:33:31 (1.62 MB/s) - ‘commons-daemon-1.3.1-native-src.tar.gz’ saved [211777/211777]

Time to untar downloaded file.

[kamil@omada-sdn ~]$ tar zxvf commons-daemon-1.3.1-native-src.tar.gz
commons-daemon-1.3.1-native-src/LICENSE.txt
...
commons-daemon-1.3.1-native-src/windows/resources/susers.bmp

Time to install some stuff for compile JSVC.

[kamil@omada-sdn ~]$ sudo dnf install autoconf
Last metadata expiration check: 0:18:09 ago on Tue 31 May 2022 01:17:51 PM CEST.
Dependencies resolved.
=====================================================================================================================
 Package                       Architecture  Version                                          Repository        Size
=====================================================================================================================
Installing:
 autoconf                      noarch        2.69-29.el8                                      appstream        709 k
Installing dependencies:
 emacs-filesystem              noarch        1:26.1-7.el8                                     baseos            69 k
 m4                            x86_64        1.4.18-7.el8                                     baseos           221 k
 perl-Carp                     noarch        1.42-396.el8                                     baseos            29 k
 perl-Data-Dumper              x86_64        2.167-399.el8                                    baseos            57 k
 perl-Digest                   noarch        1.17-395.el8                                     appstream         26 k
 perl-Digest-MD5               x86_64        2.55-396.el8                                     appstream         36 k
 perl-Encode                   x86_64        4:2.97-3.el8                                     baseos           1.5 M
 perl-Errno                    x86_64        1.28-421.el8                                     baseos            75 k
 perl-Exporter                 noarch        5.72-396.el8                                     baseos            33 k
 perl-File-Path                noarch        2.15-2.el8                                       baseos            37 k
 perl-File-Temp                noarch        0.230.600-1.el8                                  baseos            62 k
 perl-Getopt-Long              noarch        1:2.50-4.el8                                     baseos            62 k
 perl-HTTP-Tiny                noarch        0.074-1.el8                                      baseos            57 k
 perl-IO                       x86_64        1.38-421.el8                                     baseos           141 k
 perl-MIME-Base64              x86_64        3.15-396.el8                                     baseos            30 k
 perl-Net-SSLeay               x86_64        1.88-2.module+el8.6.0+957+15d660ad               appstream        378 k
 perl-PathTools                x86_64        3.74-1.el8                                       baseos            89 k
 perl-Pod-Escapes              noarch        1:1.07-395.el8                                   baseos            19 k
 perl-Pod-Perldoc              noarch        3.28-396.el8                                     baseos            85 k
 perl-Pod-Simple               noarch        1:3.35-395.el8                                   baseos           212 k
 perl-Pod-Usage                noarch        4:1.69-395.el8                                   baseos            33 k
 perl-Scalar-List-Utils        x86_64        3:1.49-2.el8                                     baseos            67 k
 perl-Socket                   x86_64        4:2.027-3.el8                                    baseos            58 k
 perl-Storable                 x86_64        1:3.11-3.el8                                     baseos            97 k
 perl-Term-ANSIColor           noarch        4.06-396.el8                                     baseos            45 k
 perl-Term-Cap                 noarch        1.17-395.el8                                     baseos            22 k
 perl-Text-ParseWords          noarch        3.30-395.el8                                     baseos            17 k
 perl-Text-Tabs+Wrap           noarch        2013.0523-395.el8                                baseos            23 k
 perl-Time-Local               noarch        1:1.280-1.el8                                    baseos            32 k
 perl-URI                      noarch        1.73-3.el8                                       appstream        115 k
 perl-Unicode-Normalize        x86_64        1.25-396.el8                                     baseos            81 k
 perl-constant                 noarch        1.33-396.el8                                     baseos            24 k
 perl-interpreter              x86_64        4:5.26.3-421.el8                                 baseos           6.3 M
 perl-libnet                   noarch        3.11-3.el8                                       appstream        120 k
 perl-libs                     x86_64        4:5.26.3-421.el8                                 baseos           1.6 M
 perl-macros                   x86_64        4:5.26.3-421.el8                                 baseos            71 k
 perl-parent                   noarch        1:0.237-1.el8                                    baseos            19 k
 perl-podlators                noarch        4.11-1.el8                                       baseos           117 k
 perl-threads                  x86_64        1:2.21-2.el8                                     baseos            60 k
 perl-threads-shared           x86_64        1.58-2.el8                                       baseos            47 k
Installing weak dependencies:
 perl-IO-Socket-IP             noarch        0.39-5.el8                                       appstream         46 k
 perl-IO-Socket-SSL            noarch        2.066-4.module+el8.6.0+957+15d660ad              appstream        297 k
 perl-Mozilla-CA               noarch        20160104-7.module+el8.6.0+965+850557f9           appstream         14 k
Enabling module streams:
 perl                                        5.26
 perl-IO-Socket-SSL                          2.066
 perl-libwww-perl                            6.34

Transaction Summary
=====================================================================================================================
Install  44 Packages

Total download size: 13 M
Installed size: 38 M
Is this ok [y/N]: y
Downloading Packages:
(1/44): perl-Digest-1.17-395.el8.noarch.rpm                                          151 kB/s |  26 kB     00:00
(2/44): perl-Digest-MD5-2.55-396.el8.x86_64.rpm                                      197 kB/s |  36 kB     00:00
(3/44): perl-IO-Socket-IP-0.39-5.el8.noarch.rpm                                      411 kB/s |  46 kB     00:00
(4/44): perl-Mozilla-CA-20160104-7.module+el8.6.0+965+850557f9.noarch.rpm            239 kB/s |  14 kB     00:00
(5/44): perl-IO-Socket-SSL-2.066-4.module+el8.6.0+957+15d660ad.noarch.rpm            1.6 MB/s | 297 kB     00:00
(6/44): autoconf-2.69-29.el8.noarch.rpm                                              1.8 MB/s | 709 kB     00:00
(7/44): perl-URI-1.73-3.el8.noarch.rpm                                               1.7 MB/s | 115 kB     00:00
(8/44): perl-libnet-3.11-3.el8.noarch.rpm                                            1.8 MB/s | 120 kB     00:00
(9/44): perl-Net-SSLeay-1.88-2.module+el8.6.0+957+15d660ad.x86_64.rpm                2.0 MB/s | 378 kB     00:00
(10/44): emacs-filesystem-26.1-7.el8.noarch.rpm                                      274 kB/s |  69 kB     00:00
(11/44): perl-Carp-1.42-396.el8.noarch.rpm                                           141 kB/s |  29 kB     00:00
(12/44): perl-Data-Dumper-2.167-399.el8.x86_64.rpm                                   845 kB/s |  57 kB     00:00
(13/44): m4-1.4.18-7.el8.x86_64.rpm                                                  716 kB/s | 221 kB     00:00
(14/44): perl-Errno-1.28-421.el8.x86_64.rpm                                          1.2 MB/s |  75 kB     00:00
(15/44): perl-Exporter-5.72-396.el8.noarch.rpm                                       547 kB/s |  33 kB     00:00
(16/44): perl-File-Path-2.15-2.el8.noarch.rpm                                        480 kB/s |  37 kB     00:00
(17/44): perl-File-Temp-0.230.600-1.el8.noarch.rpm                                   807 kB/s |  62 kB     00:00
(18/44): perl-Getopt-Long-2.50-4.el8.noarch.rpm                                      1.0 MB/s |  62 kB     00:00
(19/44): perl-HTTP-Tiny-0.074-1.el8.noarch.rpm                                       925 kB/s |  57 kB     00:00
(20/44): perl-IO-1.38-421.el8.x86_64.rpm                                             2.0 MB/s | 141 kB     00:00
(21/44): perl-MIME-Base64-3.15-396.el8.x86_64.rpm                                    439 kB/s |  30 kB     00:00
(22/44): perl-Encode-2.97-3.el8.x86_64.rpm                                           4.4 MB/s | 1.5 MB     00:00
(23/44): perl-PathTools-3.74-1.el8.x86_64.rpm                                        1.4 MB/s |  89 kB     00:00
(24/44): perl-Pod-Escapes-1.07-395.el8.noarch.rpm                                    308 kB/s |  19 kB     00:00
(25/44): perl-Pod-Perldoc-3.28-396.el8.noarch.rpm                                    1.3 MB/s |  85 kB     00:00
(26/44): perl-Pod-Usage-1.69-395.el8.noarch.rpm                                      561 kB/s |  33 kB     00:00
(27/44): perl-Pod-Simple-3.35-395.el8.noarch.rpm                                     2.5 MB/s | 212 kB     00:00
(28/44): perl-Scalar-List-Utils-1.49-2.el8.x86_64.rpm                                1.1 MB/s |  67 kB     00:00
(29/44): perl-Socket-2.027-3.el8.x86_64.rpm                                          945 kB/s |  58 kB     00:00
(30/44): perl-Storable-3.11-3.el8.x86_64.rpm                                         1.5 MB/s |  97 kB     00:00
(31/44): perl-Term-ANSIColor-4.06-396.el8.noarch.rpm                                 794 kB/s |  45 kB     00:00
(32/44): perl-Term-Cap-1.17-395.el8.noarch.rpm                                       388 kB/s |  22 kB     00:00
(33/44): perl-Text-ParseWords-3.30-395.el8.noarch.rpm                                311 kB/s |  17 kB     00:00
(34/44): perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch.rpm                            417 kB/s |  23 kB     00:00
(35/44): perl-Time-Local-1.280-1.el8.noarch.rpm                                      543 kB/s |  32 kB     00:00
(36/44): perl-Unicode-Normalize-1.25-396.el8.x86_64.rpm                              1.3 MB/s |  81 kB     00:00
(37/44): perl-constant-1.33-396.el8.noarch.rpm                                       424 kB/s |  24 kB     00:00
(38/44): perl-macros-5.26.3-421.el8.x86_64.rpm                                       1.1 MB/s |  71 kB     00:00
(39/44): perl-parent-0.237-1.el8.noarch.rpm                                          336 kB/s |  19 kB     00:00
(40/44): perl-libs-5.26.3-421.el8.x86_64.rpm                                         7.3 MB/s | 1.6 MB     00:00
(41/44): perl-podlators-4.11-1.el8.noarch.rpm                                        1.2 MB/s | 117 kB     00:00
(42/44): perl-threads-2.21-2.el8.x86_64.rpm                                          995 kB/s |  60 kB     00:00
(43/44): perl-threads-shared-1.58-2.el8.x86_64.rpm                                   798 kB/s |  47 kB     00:00
(44/44): perl-interpreter-5.26.3-421.el8.x86_64.rpm                                  4.7 MB/s | 6.3 MB     00:01
---------------------------------------------------------------------------------------------------------------------
Total                                                                                4.1 MB/s |  13 MB     00:03
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                             1/1
  Installing       : perl-Digest-1.17-395.el8.noarch                                                            1/44
  Installing       : perl-Digest-MD5-2.55-396.el8.x86_64                                                        2/44
  Installing       : perl-Data-Dumper-2.167-399.el8.x86_64                                                      3/44
  Installing       : perl-libnet-3.11-3.el8.noarch                                                              4/44
  Installing       : perl-Net-SSLeay-1.88-2.module+el8.6.0+957+15d660ad.x86_64                                  5/44
  Installing       : perl-URI-1.73-3.el8.noarch                                                                 6/44
  Installing       : perl-Pod-Escapes-1:1.07-395.el8.noarch                                                     7/44
  Installing       : perl-Mozilla-CA-20160104-7.module+el8.6.0+965+850557f9.noarch                              8/44
  Installing       : perl-IO-Socket-IP-0.39-5.el8.noarch                                                        9/44
  Installing       : perl-Time-Local-1:1.280-1.el8.noarch                                                      10/44
  Installing       : perl-IO-Socket-SSL-2.066-4.module+el8.6.0+957+15d660ad.noarch                             11/44
  Installing       : perl-Term-ANSIColor-4.06-396.el8.noarch                                                   12/44
  Installing       : perl-Term-Cap-1.17-395.el8.noarch                                                         13/44
  Installing       : perl-File-Temp-0.230.600-1.el8.noarch                                                     14/44
  Installing       : perl-Pod-Simple-1:3.35-395.el8.noarch                                                     15/44
  Installing       : perl-HTTP-Tiny-0.074-1.el8.noarch                                                         16/44
  Installing       : perl-podlators-4.11-1.el8.noarch                                                          17/44
  Installing       : perl-Pod-Perldoc-3.28-396.el8.noarch                                                      18/44
  Installing       : perl-Text-ParseWords-3.30-395.el8.noarch                                                  19/44
  Installing       : perl-Pod-Usage-4:1.69-395.el8.noarch                                                      20/44
  Installing       : perl-MIME-Base64-3.15-396.el8.x86_64                                                      21/44
  Installing       : perl-Storable-1:3.11-3.el8.x86_64                                                         22/44
  Installing       : perl-Getopt-Long-1:2.50-4.el8.noarch                                                      23/44
  Installing       : perl-Errno-1.28-421.el8.x86_64                                                            24/44
  Installing       : perl-Socket-4:2.027-3.el8.x86_64                                                          25/44
  Installing       : perl-Encode-4:2.97-3.el8.x86_64                                                           26/44
  Installing       : perl-Carp-1.42-396.el8.noarch                                                             27/44
  Installing       : perl-Exporter-5.72-396.el8.noarch                                                         28/44
  Installing       : perl-libs-4:5.26.3-421.el8.x86_64                                                         29/44
  Installing       : perl-Scalar-List-Utils-3:1.49-2.el8.x86_64                                                30/44
  Installing       : perl-parent-1:0.237-1.el8.noarch                                                          31/44
  Installing       : perl-macros-4:5.26.3-421.el8.x86_64                                                       32/44
  Installing       : perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch                                              33/44
  Installing       : perl-Unicode-Normalize-1.25-396.el8.x86_64                                                34/44
  Installing       : perl-File-Path-2.15-2.el8.noarch                                                          35/44
  Installing       : perl-IO-1.38-421.el8.x86_64                                                               36/44
  Installing       : perl-PathTools-3.74-1.el8.x86_64                                                          37/44
  Installing       : perl-constant-1.33-396.el8.noarch                                                         38/44
  Installing       : perl-threads-1:2.21-2.el8.x86_64                                                          39/44
  Installing       : perl-threads-shared-1.58-2.el8.x86_64                                                     40/44
  Installing       : perl-interpreter-4:5.26.3-421.el8.x86_64                                                  41/44
  Installing       : m4-1.4.18-7.el8.x86_64                                                                    42/44
  Running scriptlet: m4-1.4.18-7.el8.x86_64                                                                    42/44
  Installing       : emacs-filesystem-1:26.1-7.el8.noarch                                                      43/44
  Installing       : autoconf-2.69-29.el8.noarch                                                               44/44
  Running scriptlet: autoconf-2.69-29.el8.noarch                                                               44/44
  Verifying        : autoconf-2.69-29.el8.noarch                                                                1/44
  Verifying        : perl-Digest-1.17-395.el8.noarch                                                            2/44
  Verifying        : perl-Digest-MD5-2.55-396.el8.x86_64                                                        3/44
  Verifying        : perl-IO-Socket-IP-0.39-5.el8.noarch                                                        4/44
  Verifying        : perl-IO-Socket-SSL-2.066-4.module+el8.6.0+957+15d660ad.noarch                              5/44
  Verifying        : perl-Mozilla-CA-20160104-7.module+el8.6.0+965+850557f9.noarch                              6/44
  Verifying        : perl-Net-SSLeay-1.88-2.module+el8.6.0+957+15d660ad.x86_64                                  7/44
  Verifying        : perl-URI-1.73-3.el8.noarch                                                                 8/44
  Verifying        : perl-libnet-3.11-3.el8.noarch                                                              9/44
  Verifying        : emacs-filesystem-1:26.1-7.el8.noarch                                                      10/44
  Verifying        : m4-1.4.18-7.el8.x86_64                                                                    11/44
  Verifying        : perl-Carp-1.42-396.el8.noarch                                                             12/44
  Verifying        : perl-Data-Dumper-2.167-399.el8.x86_64                                                     13/44
  Verifying        : perl-Encode-4:2.97-3.el8.x86_64                                                           14/44
  Verifying        : perl-Errno-1.28-421.el8.x86_64                                                            15/44
  Verifying        : perl-Exporter-5.72-396.el8.noarch                                                         16/44
  Verifying        : perl-File-Path-2.15-2.el8.noarch                                                          17/44
  Verifying        : perl-File-Temp-0.230.600-1.el8.noarch                                                     18/44
  Verifying        : perl-Getopt-Long-1:2.50-4.el8.noarch                                                      19/44
  Verifying        : perl-HTTP-Tiny-0.074-1.el8.noarch                                                         20/44
  Verifying        : perl-IO-1.38-421.el8.x86_64                                                               21/44
  Verifying        : perl-MIME-Base64-3.15-396.el8.x86_64                                                      22/44
  Verifying        : perl-PathTools-3.74-1.el8.x86_64                                                          23/44
  Verifying        : perl-Pod-Escapes-1:1.07-395.el8.noarch                                                    24/44
  Verifying        : perl-Pod-Perldoc-3.28-396.el8.noarch                                                      25/44
  Verifying        : perl-Pod-Simple-1:3.35-395.el8.noarch                                                     26/44
  Verifying        : perl-Pod-Usage-4:1.69-395.el8.noarch                                                      27/44
  Verifying        : perl-Scalar-List-Utils-3:1.49-2.el8.x86_64                                                28/44
  Verifying        : perl-Socket-4:2.027-3.el8.x86_64                                                          29/44
  Verifying        : perl-Storable-1:3.11-3.el8.x86_64                                                         30/44
  Verifying        : perl-Term-ANSIColor-4.06-396.el8.noarch                                                   31/44
  Verifying        : perl-Term-Cap-1.17-395.el8.noarch                                                         32/44
  Verifying        : perl-Text-ParseWords-3.30-395.el8.noarch                                                  33/44
  Verifying        : perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch                                              34/44
  Verifying        : perl-Time-Local-1:1.280-1.el8.noarch                                                      35/44
  Verifying        : perl-Unicode-Normalize-1.25-396.el8.x86_64                                                36/44
  Verifying        : perl-constant-1.33-396.el8.noarch                                                         37/44
  Verifying        : perl-interpreter-4:5.26.3-421.el8.x86_64                                                  38/44
  Verifying        : perl-libs-4:5.26.3-421.el8.x86_64                                                         39/44
  Verifying        : perl-macros-4:5.26.3-421.el8.x86_64                                                       40/44
  Verifying        : perl-parent-1:0.237-1.el8.noarch                                                          41/44
  Verifying        : perl-podlators-4.11-1.el8.noarch                                                          42/44
  Verifying        : perl-threads-1:2.21-2.el8.x86_64                                                          43/44
  Verifying        : perl-threads-shared-1.58-2.el8.x86_64                                                     44/44

Installed:
  autoconf-2.69-29.el8.noarch
  emacs-filesystem-1:26.1-7.el8.noarch
  m4-1.4.18-7.el8.x86_64
  perl-Carp-1.42-396.el8.noarch
  perl-Data-Dumper-2.167-399.el8.x86_64
  perl-Digest-1.17-395.el8.noarch
  perl-Digest-MD5-2.55-396.el8.x86_64
  perl-Encode-4:2.97-3.el8.x86_64
  perl-Errno-1.28-421.el8.x86_64
  perl-Exporter-5.72-396.el8.noarch
  perl-File-Path-2.15-2.el8.noarch
  perl-File-Temp-0.230.600-1.el8.noarch
  perl-Getopt-Long-1:2.50-4.el8.noarch
  perl-HTTP-Tiny-0.074-1.el8.noarch
  perl-IO-1.38-421.el8.x86_64
  perl-IO-Socket-IP-0.39-5.el8.noarch
  perl-IO-Socket-SSL-2.066-4.module+el8.6.0+957+15d660ad.noarch
  perl-MIME-Base64-3.15-396.el8.x86_64
  perl-Mozilla-CA-20160104-7.module+el8.6.0+965+850557f9.noarch
  perl-Net-SSLeay-1.88-2.module+el8.6.0+957+15d660ad.x86_64
  perl-PathTools-3.74-1.el8.x86_64
  perl-Pod-Escapes-1:1.07-395.el8.noarch
  perl-Pod-Perldoc-3.28-396.el8.noarch
  perl-Pod-Simple-1:3.35-395.el8.noarch
  perl-Pod-Usage-4:1.69-395.el8.noarch
  perl-Scalar-List-Utils-3:1.49-2.el8.x86_64
  perl-Socket-4:2.027-3.el8.x86_64
  perl-Storable-1:3.11-3.el8.x86_64
  perl-Term-ANSIColor-4.06-396.el8.noarch
  perl-Term-Cap-1.17-395.el8.noarch
  perl-Text-ParseWords-3.30-395.el8.noarch
  perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch
  perl-Time-Local-1:1.280-1.el8.noarch
  perl-URI-1.73-3.el8.noarch
  perl-Unicode-Normalize-1.25-396.el8.x86_64
  perl-constant-1.33-396.el8.noarch
  perl-interpreter-4:5.26.3-421.el8.x86_64
  perl-libnet-3.11-3.el8.noarch
  perl-libs-4:5.26.3-421.el8.x86_64
  perl-macros-4:5.26.3-421.el8.x86_64
  perl-parent-1:0.237-1.el8.noarch
  perl-podlators-4.11-1.el8.noarch
  perl-threads-1:2.21-2.el8.x86_64
  perl-threads-shared-1.58-2.el8.x86_64

Complete!
[kamil@omada-sdn ~]$ sudo dnf install make
Last metadata expiration check: 0:19:00 ago on Tue 31 May 2022 01:17:51 PM CEST.
Dependencies resolved.
=====================================================================================================================
 Package                 Architecture              Version                           Repository                 Size
=====================================================================================================================
Installing:
 make                    x86_64                    1:4.2.1-11.el8                    baseos                    497 k

Transaction Summary
=====================================================================================================================
Install  1 Package

Total download size: 497 k
Installed size: 1.4 M
Is this ok [y/N]: y
Downloading Packages:
make-4.2.1-11.el8.x86_64.rpm                                                         1.4 MB/s | 497 kB     00:00
---------------------------------------------------------------------------------------------------------------------
Total                                                                                824 kB/s | 497 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                             1/1
  Installing       : make-1:4.2.1-11.el8.x86_64                                                                  1/1
  Running scriptlet: make-1:4.2.1-11.el8.x86_64                                                                  1/1
  Verifying        : make-1:4.2.1-11.el8.x86_64                                                                  1/1

Installed:
  make-1:4.2.1-11.el8.x86_64

Complete!
[kamil@omada-sdn ~]$ sudo dnf install gcc
Last metadata expiration check: 0:19:13 ago on Tue 31 May 2022 01:17:51 PM CEST.
Dependencies resolved.
=====================================================================================================================
 Package                       Architecture         Version                            Repository               Size
=====================================================================================================================
Installing:
 gcc                           x86_64               8.5.0-10.el8                       appstream                23 M
Installing dependencies:
 binutils                      x86_64               2.30-113.el8                       baseos                  5.8 M
 cpp                           x86_64               8.5.0-10.el8                       appstream                10 M
 glibc-devel                   x86_64               2.28-189.1.el8                     baseos                   78 k
 glibc-headers                 x86_64               2.28-189.1.el8                     baseos                  482 k
 isl                           x86_64               0.16.1-6.el8                       appstream               834 k
 kernel-headers                x86_64               4.18.0-372.9.1.el8                 baseos                  9.3 M
 libmpc                        x86_64               1.1.0-9.1.el8                      appstream                60 k
 libxcrypt-devel               x86_64               4.1.1-6.el8                        baseos                   24 k

Transaction Summary
=====================================================================================================================
Install  9 Packages

Total download size: 50 M
Installed size: 122 M
Is this ok [y/N]: y
Downloading Packages:
(1/9): isl-0.16.1-6.el8.x86_64.rpm                                                   3.0 MB/s | 834 kB     00:00
(2/9): libmpc-1.1.0-9.1.el8.x86_64.rpm                                               1.6 MB/s |  60 kB     00:00
(3/9): cpp-8.5.0-10.el8.x86_64.rpm                                                   8.6 MB/s |  10 MB     00:01
(4/9): glibc-devel-2.28-189.1.el8.x86_64.rpm                                         352 kB/s |  78 kB     00:00
(5/9): glibc-headers-2.28-189.1.el8.x86_64.rpm                                       2.7 MB/s | 482 kB     00:00
(6/9): binutils-2.30-113.el8.x86_64.rpm                                              3.8 MB/s | 5.8 MB     00:01
(7/9): gcc-8.5.0-10.el8.x86_64.rpm                                                   9.7 MB/s |  23 MB     00:02
(8/9): libxcrypt-devel-4.1.1-6.el8.x86_64.rpm                                         40 kB/s |  24 kB     00:00
(9/9): kernel-headers-4.18.0-372.9.1.el8.x86_64.rpm                                  3.6 MB/s | 9.3 MB     00:02
---------------------------------------------------------------------------------------------------------------------
Total                                                                                 11 MB/s |  50 MB     00:04
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                             1/1
  Installing       : libmpc-1.1.0-9.1.el8.x86_64                                                                 1/9
  Installing       : cpp-8.5.0-10.el8.x86_64                                                                     2/9
  Running scriptlet: cpp-8.5.0-10.el8.x86_64                                                                     2/9
  Installing       : kernel-headers-4.18.0-372.9.1.el8.x86_64                                                    3/9
  Running scriptlet: glibc-headers-2.28-189.1.el8.x86_64                                                         4/9
  Installing       : glibc-headers-2.28-189.1.el8.x86_64                                                         4/9
  Installing       : libxcrypt-devel-4.1.1-6.el8.x86_64                                                          5/9
  Installing       : glibc-devel-2.28-189.1.el8.x86_64                                                           6/9
  Running scriptlet: glibc-devel-2.28-189.1.el8.x86_64                                                           6/9
  Installing       : binutils-2.30-113.el8.x86_64                                                                7/9
  Running scriptlet: binutils-2.30-113.el8.x86_64                                                                7/9
  Installing       : isl-0.16.1-6.el8.x86_64                                                                     8/9
  Running scriptlet: isl-0.16.1-6.el8.x86_64                                                                     8/9
  Installing       : gcc-8.5.0-10.el8.x86_64                                                                     9/9
  Running scriptlet: gcc-8.5.0-10.el8.x86_64                                                                     9/9
  Verifying        : cpp-8.5.0-10.el8.x86_64                                                                     1/9
  Verifying        : gcc-8.5.0-10.el8.x86_64                                                                     2/9
  Verifying        : isl-0.16.1-6.el8.x86_64                                                                     3/9
  Verifying        : libmpc-1.1.0-9.1.el8.x86_64                                                                 4/9
  Verifying        : binutils-2.30-113.el8.x86_64                                                                5/9
  Verifying        : glibc-devel-2.28-189.1.el8.x86_64                                                           6/9
  Verifying        : glibc-headers-2.28-189.1.el8.x86_64                                                         7/9
  Verifying        : kernel-headers-4.18.0-372.9.1.el8.x86_64                                                    8/9
  Verifying        : libxcrypt-devel-4.1.1-6.el8.x86_64                                                          9/9

Installed:
  binutils-2.30-113.el8.x86_64              cpp-8.5.0-10.el8.x86_64              gcc-8.5.0-10.el8.x86_64
  glibc-devel-2.28-189.1.el8.x86_64         glibc-headers-2.28-189.1.el8.x86_64  isl-0.16.1-6.el8.x86_64
  kernel-headers-4.18.0-372.9.1.el8.x86_64  libmpc-1.1.0-9.1.el8.x86_64          libxcrypt-devel-4.1.1-6.el8.x86_64

Complete!

You can install all of them in one command, but i like to know what is dependencies for each.

[kamil@omada-sdn ~]$ cd commons-daemon-1.3.1-native-src/
[kamil@omada-sdn commons-daemon-1.3.1-native-src]$ ls -l
total 22
-rw-r--r--. 1 kamil kamil 11358 Mar 31 16:41 LICENSE.txt
-rw-r--r--. 1 kamil kamil   175 Mar 31 16:41 NOTICE.txt
-rw-r--r--. 1 kamil kamil  1749 Mar 31 16:41 RELEASE-NOTES.txt
drwxr-xr-x. 5 kamil kamil  1024 Mar 31 16:41 unix
drwxr-xr-x. 7 kamil kamil  1024 Mar 31 16:41 windows
[kamil@omada-sdn commons-daemon-1.3.1-native-src]$ cd unix/
[kamil@omada-sdn unix]$ ls -la
total 171
drwxr-xr-x. 5 kamil kamil   1024 Mar 31 16:41 .
drwxrwxr-x. 4 kamil kamil   1024 May 31 13:33 ..
-rwxrwxr-x. 1 kamil kamil 147141 Mar 31 16:41 configure
-rw-r--r--. 1 kamil kamil   5038 Mar 31 16:41 configure.in
-rw-r--r--. 1 kamil kamil   2594 Mar 31 16:41 INSTALL.txt
-rw-r--r--. 1 kamil kamil   1081 Mar 31 16:41 Makedefs.in
-rw-r--r--. 1 kamil kamil   1110 Mar 31 16:41 Makefile.in
drwxr-xr-x. 2 kamil kamil   1024 May 31 13:33 man
drwxr-xr-x. 2 kamil kamil   1024 May 31 13:33 native
drwxr-xr-x. 2 kamil kamil   1024 May 31 13:33 support

Let we try to configure JSVC …

[kamil@omada-sdn unix]$ sudo ./configure
*** Current host ***
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking cached host system type... ok
*** C-Language compilation tools ***
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
checking for strip... strip
*** Host support ***
checking C flags dependant on host system type... ok
*** Java compilation tools ***
checking for JDK location... configure: error: Java Home not defined. Rerun with --with-java=... parameter

Something is missing, so …

[kamil@omada-sdn unix]$ cd /usr/lib/jvm
[kamil@omada-sdn jvm]$ ls -la
total 12
drwxr-xr-x.  3 root root 4096 May 31 13:10 .
dr-xr-xr-x. 37 root root 4096 May 31 13:37 ..
drwxr-xr-x.  3 root root 4096 May 31 13:10 java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64
lrwxrwxrwx.  1 root root   21 May 31 13:10 jre -> /etc/alternatives/jre
lrwxrwxrwx.  1 root root   27 May 31 13:10 jre-1.8.0 -> /etc/alternatives/jre_1.8.0
lrwxrwxrwx.  1 root root   35 May 31 13:10 jre-1.8.0-openjdk -> /etc/alternatives/jre_1.8.0_openjdk
lrwxrwxrwx.  1 root root   51 May 15 18:58 jre-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64 -> java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/jre
lrwxrwxrwx.  1 root root   29 May 31 13:10 jre-openjdk -> /etc/alternatives/jre_openjdk
[kamil@omada-sdn jvm]$ cd java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64
[kamil@omada-sdn java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64]$ sudo ln -s include/linux/jni_md.h jni_md.h

We use non-link path for OpenJDK

[kamil@omada-sdn ~]$ cd
[kamil@omada-sdn ~]$ cd commons-daemon-1.3.1-native-src/
unix
[kamil@omada-sdn unix]$ sudo ./configure --with-java=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64
*** Current host ***
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking cached host system type... ok
*** C-Language compilation tools ***
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
checking for strip... strip
*** Host support ***
checking C flags dependant on host system type... ok
*** Java compilation tools ***
checking JAVA_HOME... /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64
checking for JDK os include directory...  linux
gcc flags added
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/capability.h usability... no
checking sys/capability.h presence... no
checking for sys/capability.h... no
configure: WARNING: cannot find headers for libcap
*** Writing output files ***
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makedefs
config.status: creating native/Makefile
*** All done ***
Now you can issue "make"

Time to compile jsvc.

[kamil@omada-sdn unix]$ sudo make
(cd native; make  all)
make[1]: Entering directory '/home/kamil/commons-daemon-1.3.1-native-src/unix/native'
gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes   -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include/linux -c jsvc-unix.c -o jsvc-unix.o
jsvc-unix.c: In function ‘run_controller’:
jsvc-unix.c:1311:20: warning: assignment to ‘__sighandler_t’ {aka ‘void (*)(int)’} from incompatible pointer type ‘void (*)(int,  siginfo_t *, void *)’ {aka ‘void (*)(int,  struct <anonymous> *, void *)’} [-Wincompatible-pointer-types]
     act.sa_handler = controller;
                    ^
gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes   -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include/linux -c arguments.c -o arguments.o
gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes   -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include/linux -c debug.c -o debug.o
gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes   -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include/linux -c dso-dlfcn.c -o dso-dlfcn.o
gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes   -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include/linux -c dso-dyld.c -o dso-dyld.o
gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes   -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include/linux -c help.c -o help.o
gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes   -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include/linux -c home.c -o home.o
gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes   -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include/linux -c java.c -o java.o
gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes   -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include/linux -c location.c -o location.o
gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes   -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include/linux -c replace.c -o replace.o
gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes   -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include/linux -c locks.c -o locks.o
gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes   -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.332.b09-2.el8_6.x86_64/include/linux -c signals.c -o signals.o
ar cr libservice.a arguments.o debug.o dso-dlfcn.o dso-dyld.o help.o home.o java.o location.o replace.o locks.o signals.o
ranlib libservice.a
gcc   jsvc-unix.o libservice.a -ldl -lpthread -o ../jsvc
make[1]: Leaving directory '/home/kamil/commons-daemon-1.3.1-native-src/unix/native'

Time to copy jsvc to /usr/bin

[kamil@omada-sdn unix]$ sudo cp jsvc /usr/bin/
[kamil@omada-sdn unix]$ ls -l /usr/bin/jsvc
-rwxr-xr-x. 1 root root 197840 May 31 17:28 /usr/bin/jsvc

Omada SDN v5

[kamil@omada-sdn ~]$ wget https://static.tp-link.com/upload/software/2022/202201/20220120/Omada_SDN_Controller_v5.0.30_linux_x64.tar.gz
--2022-05-31 17:30:29--  https://static.tp-link.com/upload/software/2022/202201/20220120/Omada_SDN_Controller_v5.0.30_linux_x64.tar.gz
Resolving static.tp-link.com (static.tp-link.com)... 54.192.231.38, 54.192.231.47, 54.192.231.48, ...
Connecting to static.tp-link.com (static.tp-link.com)|54.192.231.38|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 101566342 (97M) [application/x-gzip]
Saving to: ‘Omada_SDN_Controller_v5.0.30_linux_x64.tar.gz’

Omada_SDN_Controller_v5.0.30_ 100%[==============================================>]  96.86M  27.7MB/s    in 3.5s

2022-05-31 17:30:33 (27.7 MB/s) - ‘Omada_SDN_Controller_v5.0.30_linux_x64.tar.gz’ saved [101566342/101566342]

[kamil@omada-sdn ~]$ tar zxvf Omada_SDN_Controller_v5.0.30_linux_x64.tar.gz
Omada_SDN_Controller_v5.0.30_linux_x64/
...
Omada_SDN_Controller_v5.0.30_linux_x64/uninstall.sh

[kamil@omada-sdn ~]$ cd Omada_SDN_Controller_v5.0.30_linux_x64/

[kamil@omada-sdn Omada_SDN_Controller_v5.0.30_linux_x64]$ sudo ./install.sh
Omada Controller will be installed in [/opt/tplink/EAPController] (y/n): y
======================
Installation start ...
Install Omada Controller succeeded!
==========================
Omada Controller will start up with system boot. You can also control it by [/usr/bin/tpeap].
Starting Omada Controller. Please wait...........................................................
Started successfully.
You can visit http://localhost:8088 on this host to manage the wireless network.
========================

Seem’s to be done. Time to set-up firewall to access GUI.

[kamil@omada-sdn ~]$ sudo firewall-cmd --add-port=8088/tcp --permanent
success

[kamil@omada-sdn ~]$ sudo firewall-cmd --add-port=8043/tcp --permanent
success

[kamil@omada-sdn ~]$ sudo firewall-cmd --reload
success

Time to check our Omada SDN Controller from outside of linux.

Working as expect 🙂