CentOS 8: Install Lua dynamic module onto Nginx


Step 1: Install Nginx

How To Install Nginx on CentOS 8

Step 2: download sources

cd /usr/local/src
# Downloading Nginx
NGINX_VERSION=$(nginx -v 2>&1 | awk -F/ '{print $2}')
wget https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz
# Downloading Lua
wget https://github.com/openresty/luajit2/archive/v2.1-20200102.tar.gz
# Downloading Nginx development kit
wget https://github.com/simplresty/ngx_devel_kit/archive/v0.3.1.tar.gz
# Downloading Nginx Lua Module
wget https://github.com/openresty/lua-nginx-module/archive/v0.10.15.tar.gz
# Downloading Resty Core
wget https://github.com/openresty/lua-resty-core/archive/v0.1.17.tar.gz
# Downloading Resty LRU Cache
wget https://github.com/openresty/lua-resty-lrucache/archive/v0.09.tar.gz

Result:

[root@tutorialspots ~]# cd /usr/local/src
[root@tutorialspots src]# # Downloading Nginx
[root@tutorialspots src]# NGINX_VERSION=$(nginx -v 2>&1 | awk -F/ '{print $2}')
[root@tutorialspots src]# wget https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz
--2020-07-08 06:41:23--  https://nginx.org/download/nginx-1.14.1.tar.gz
Resolving nginx.org (nginx.org)... 2001:1af8:4060:a004:21::e3, 95.211.80.227, 62.210.92.35
Connecting to nginx.org (nginx.org)|2001:1af8:4060:a004:21::e3|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1014040 (990K) [application/octet-stream]
Saving to: ‘nginx-1.14.1.tar.gz’

nginx-1.14.1.tar.gz 100%[===================>] 990.27K  --.-KB/s    in 0.1s

2020-07-08 06:41:23 (9.25 MB/s) - ‘nginx-1.14.1.tar.gz’ saved [1014040/1014040]

[root@tutorialspots src]# # Downloading Lua
[root@tutorialspots src]# wget https://github.com/openresty/luajit2/archive/v2.1-20200102.tar.gz
--2020-07-08 06:41:23--  https://github.com/openresty/luajit2/archive/v2.1-20200102.tar.gz
Resolving github.com (github.com)... 140.82.118.3
Connecting to github.com (github.com)|140.82.118.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/openresty/luajit2/tar.gz/v2.1-20200102 [following]
--2020-07-08 06:41:24--  https://codeload.github.com/openresty/luajit2/tar.gz/v2.1-20200102
Resolving codeload.github.com (codeload.github.com)... 140.82.113.10
Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘v2.1-20200102.tar.gz’

v2.1-20200102.tar.g     [   <=>              ]   1.04M  1.98MB/s    in 0.5s

2020-07-08 06:41:25 (1.98 MB/s) - ‘v2.1-20200102.tar.gz’ saved [1093752]

[root@tutorialspots src]# # Downloading Nginx development kit
[root@tutorialspots src]# wget https://github.com/simplresty/ngx_devel_kit/archive/v0.3.1.tar.gz
--2020-07-08 06:41:25--  https://github.com/simplresty/ngx_devel_kit/archive/v0.3.1.tar.gz
Resolving github.com (github.com)... 140.82.118.4
Connecting to github.com (github.com)|140.82.118.4|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/vision5/ngx_devel_kit/archive/v0.3.1.tar.gz [following]
--2020-07-08 06:41:25--  https://github.com/vision5/ngx_devel_kit/archive/v0.3.1.tar.gz
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/vision5/ngx_devel_kit/tar.gz/v0.3.1 [following]
--2020-07-08 06:41:25--  https://codeload.github.com/vision5/ngx_devel_kit/tar.gz/v0.3.1
Resolving codeload.github.com (codeload.github.com)... 140.82.113.9
Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘v0.3.1.tar.gz’

v0.3.1.tar.gz           [ <=>                ]  64.98K   371KB/s    in 0.2s

2020-07-08 06:41:26 (371 KB/s) - ‘v0.3.1.tar.gz’ saved [66542]

[root@tutorialspots src]# # Downloading Nginx Lua Module
[root@tutorialspots src]# wget https://github.com/openresty/lua-nginx-module/archive/v0.10.15.tar.gz
--2020-07-08 06:41:26--  https://github.com/openresty/lua-nginx-module/archive/v0.10.15.tar.gz
Resolving github.com (github.com)... 140.82.118.4
Connecting to github.com (github.com)|140.82.118.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/openresty/lua-nginx-module/tar.gz/v0.10.15 [following]
--2020-07-08 06:41:26--  https://codeload.github.com/openresty/lua-nginx-module/tar.gz/v0.10.15
Resolving codeload.github.com (codeload.github.com)... 140.82.113.10
Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘v0.10.15.tar.gz’

v0.10.15.tar.gz         [  <=>               ] 639.76K  1.42MB/s    in 0.4s

2020-07-08 06:41:27 (1.42 MB/s) - ‘v0.10.15.tar.gz’ saved [655110]

[root@tutorialspots src]# # Downloading Resty Core
[root@tutorialspots src]# wget https://github.com/openresty/lua-resty-core/archive/v0.1.17.tar.gz
--2020-07-08 06:41:27--  https://github.com/openresty/lua-resty-core/archive/v0.1.17.tar.gz
Resolving github.com (github.com)... 140.82.118.4
Connecting to github.com (github.com)|140.82.118.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/openresty/lua-resty-core/tar.gz/v0.1.17 [following]
--2020-07-08 06:41:27--  https://codeload.github.com/openresty/lua-resty-core/tar.gz/v0.1.17
Resolving codeload.github.com (codeload.github.com)... 140.82.113.10
Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘v0.1.17.tar.gz’

v0.1.17.tar.gz          [  <=>               ] 147.45K   561KB/s    in 0.3s

2020-07-08 06:41:28 (561 KB/s) - ‘v0.1.17.tar.gz’ saved [150985]

[root@tutorialspots src]# # Downloading Resty LRU Cache
[root@tutorialspots src]# wget https://github.com/openresty/lua-resty-lrucache/archive/v0.09.tar.gz
--2020-07-08 06:41:35--  https://github.com/openresty/lua-resty-lrucache/archive/v0.09.tar.gz
Resolving github.com (github.com)... 140.82.118.4
Connecting to github.com (github.com)|140.82.118.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/openresty/lua-resty-lrucache/tar.gz/v0.09 [following]
--2020-07-08 06:41:36--  https://codeload.github.com/openresty/lua-resty-lrucache/tar.gz/v0.09
Resolving codeload.github.com (codeload.github.com)... 140.82.113.10
Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘v0.09.tar.gz’

v0.09.tar.gz            [ <=>                ]  14.60K  --.-KB/s    in 0.09s

2020-07-08 06:41:36 (167 KB/s) - ‘v0.09.tar.gz’ saved [14954]

Step 3: install tar make gcc gcc-c++

[root@tutorialspots src]# yum install tar
Last metadata expiration check: 0:14:38 ago on Wed 08 Jul 2020 06:31:28 AM CEST.
Dependencies resolved.
================================================================================
 Package       Architecture     Version                  Repository        Size
================================================================================
Installing:
 tar           x86_64           2:1.30-4.el8             BaseOS           838 k

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

Total download size: 838 k
Installed size: 2.8 M
Is this ok [y/N]: y
Downloading Packages:
tar-1.30-4.el8.x86_64.rpm                       6.7 MB/s | 838 kB     00:00
--------------------------------------------------------------------------------
Total                                           5.4 MB/s | 838 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Installing       : tar-2:1.30-4.el8.x86_64                                1/1
  Running scriptlet: tar-2:1.30-4.el8.x86_64                                1/1
  Verifying        : tar-2:1.30-4.el8.x86_64                                1/1

Installed:
  tar-2:1.30-4.el8.x86_64

Complete!
yum install make gcc gcc-c++

Result:

[root@tutorialspots src]# yum install make gcc gcc-c++
Last metadata expiration check: 0:22:33 ago on Wed 08 Jul 2020 06:31:28 AM CEST.
Dependencies resolved.
================================================================================
 Package             Arch       Version                     Repository     Size
================================================================================
Installing:
 gcc                 x86_64     8.3.1-5.el8.0.2             AppStream      23 M
 gcc-c++             x86_64     8.3.1-5.el8.0.2             AppStream      12 M
 make                x86_64     1:4.2.1-10.el8              BaseOS        498 k
Installing dependencies:
 binutils            x86_64     2.30-73.el8                 BaseOS        5.7 M
 cpp                 x86_64     8.3.1-5.el8.0.2             AppStream      10 M
 glibc-devel         x86_64     2.28-101.el8                BaseOS        1.0 M
 glibc-headers       x86_64     2.28-101.el8                BaseOS        473 k
 isl                 x86_64     0.16.1-6.el8                AppStream     841 k
 kernel-headers      x86_64     4.18.0-193.6.3.el8_2        BaseOS        4.0 M
 libmpc              x86_64     1.0.2-9.el8                 AppStream      59 k
 libstdc++-devel     x86_64     8.3.1-5.el8.0.2             AppStream     2.0 M
 libxcrypt-devel     x86_64     4.1.1-4.el8                 BaseOS         25 k

Transaction Summary
================================================================================
Install  12 Packages

Total download size: 61 M
Installed size: 165 M
Is this ok [y/N]: y
Downloading Packages:
(1/12): cpp-8.3.1-5.el8.0.2.x86_64.rpm           16 MB/s |  10 MB     00:00
(2/12): gcc-c++-8.3.1-5.el8.0.2.x86_64.rpm       16 MB/s |  12 MB     00:00
(3/12): isl-0.16.1-6.el8.x86_64.rpm             7.2 MB/s | 841 kB     00:00
(4/12): libmpc-1.0.2-9.el8.x86_64.rpm           2.1 MB/s |  59 kB     00:00
(5/12): libstdc++-devel-8.3.1-5.el8.0.2.x86_64.  20 MB/s | 2.0 MB     00:00
(6/12): binutils-2.30-73.el8.x86_64.rpm          28 MB/s | 5.7 MB     00:00
(7/12): glibc-devel-2.28-101.el8.x86_64.rpm     8.2 MB/s | 1.0 MB     00:00
(8/12): glibc-headers-2.28-101.el8.x86_64.rpm    24 MB/s | 473 kB     00:00
(9/12): gcc-8.3.1-5.el8.0.2.x86_64.rpm           20 MB/s |  23 MB     00:01
(10/12): libxcrypt-devel-4.1.1-4.el8.x86_64.rpm 162 kB/s |  25 kB     00:00
(11/12): kernel-headers-4.18.0-193.6.3.el8_2.x8  21 MB/s | 4.0 MB     00:00
(12/12): make-4.2.1-10.el8.x86_64.rpm           5.0 MB/s | 498 kB     00:00
--------------------------------------------------------------------------------
Total                                            46 MB/s |  61 MB     00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Installing       : libmpc-1.0.2-9.el8.x86_64                             1/12
  Running scriptlet: libmpc-1.0.2-9.el8.x86_64                             1/12
  Installing       : cpp-8.3.1-5.el8.0.2.x86_64                            2/12
  Running scriptlet: cpp-8.3.1-5.el8.0.2.x86_64                            2/12
  Installing       : kernel-headers-4.18.0-193.6.3.el8_2.x86_64            3/12
  Running scriptlet: glibc-headers-2.28-101.el8.x86_64                     4/12
  Installing       : glibc-headers-2.28-101.el8.x86_64                     4/12
  Installing       : libxcrypt-devel-4.1.1-4.el8.x86_64                    5/12
  Installing       : glibc-devel-2.28-101.el8.x86_64                       6/12
  Running scriptlet: glibc-devel-2.28-101.el8.x86_64                       6/12
  Installing       : binutils-2.30-73.el8.x86_64                           7/12
  Running scriptlet: binutils-2.30-73.el8.x86_64                           7/12
  Installing       : libstdc++-devel-8.3.1-5.el8.0.2.x86_64                8/12
  Installing       : isl-0.16.1-6.el8.x86_64                               9/12
  Running scriptlet: isl-0.16.1-6.el8.x86_64                               9/12
  Installing       : gcc-8.3.1-5.el8.0.2.x86_64                           10/12
  Running scriptlet: gcc-8.3.1-5.el8.0.2.x86_64                           10/12
  Installing       : gcc-c++-8.3.1-5.el8.0.2.x86_64                       11/12
  Installing       : make-1:4.2.1-10.el8.x86_64                           12/12
  Running scriptlet: make-1:4.2.1-10.el8.x86_64                           12/12
  Verifying        : cpp-8.3.1-5.el8.0.2.x86_64                            1/12
  Verifying        : gcc-8.3.1-5.el8.0.2.x86_64                            2/12
  Verifying        : gcc-c++-8.3.1-5.el8.0.2.x86_64                        3/12
  Verifying        : isl-0.16.1-6.el8.x86_64                               4/12
  Verifying        : libmpc-1.0.2-9.el8.x86_64                             5/12
  Verifying        : libstdc++-devel-8.3.1-5.el8.0.2.x86_64                6/12
  Verifying        : binutils-2.30-73.el8.x86_64                           7/12
  Verifying        : glibc-devel-2.28-101.el8.x86_64                       8/12
  Verifying        : glibc-headers-2.28-101.el8.x86_64                     9/12
  Verifying        : kernel-headers-4.18.0-193.6.3.el8_2.x86_64           10/12
  Verifying        : libxcrypt-devel-4.1.1-4.el8.x86_64                   11/12
  Verifying        : make-1:4.2.1-10.el8.x86_64                           12/12

Installed:
  binutils-2.30-73.el8.x86_64        cpp-8.3.1-5.el8.0.2.x86_64
  gcc-8.3.1-5.el8.0.2.x86_64         gcc-c++-8.3.1-5.el8.0.2.x86_64
  glibc-devel-2.28-101.el8.x86_64    glibc-headers-2.28-101.el8.x86_64
  isl-0.16.1-6.el8.x86_64            kernel-headers-4.18.0-193.6.3.el8_2.x86_64
  libmpc-1.0.2-9.el8.x86_64          libstdc++-devel-8.3.1-5.el8.0.2.x86_64
  libxcrypt-devel-4.1.1-4.el8.x86_64 make-1:4.2.1-10.el8.x86_64

Complete!

Step 4: decompress all .tar.gz files

find . -type f -name '*.tar.gz' -exec tar -xzf {} \;

Step 5: build Lua

cd luajit*
make
make install
export LUAJIT_LIB=/usr/local/lib
export LUAJIT_INC=/usr/local/include/luajit-2.1

Result:

[root@tutorialspots luajit2-2.1-20200102]# make
==== Building LuaJIT 2.1.0-beta3 ====
make -C src
make[1]: Entering directory '/usr/local/src/luajit2-2.1-20200102/src'
make[1]: Nothing to be done for 'default'.
make[1]: Leaving directory '/usr/local/src/luajit2-2.1-20200102/src'
==== Successfully built LuaJIT 2.1.0-beta3 ====
[root@tutorialspots luajit2-2.1-20200102]# make install
==== Installing LuaJIT 2.1.0-beta3 to /usr/local ====
mkdir -p /usr/local/bin /usr/local/lib /usr/local/include/luajit-2.1 /usr/local/share/man/man1 /usr/local/lib/pkgconfig /usr/local/share/luajit-2.1.0-beta3/jit /usr/local/share/lua/5.1 /usr/local/lib/lua/5.1
cd src && install -m 0755 luajit /usr/local/bin/luajit-2.1.0-beta3
cd src && test -f libluajit.a && install -m 0644 libluajit.a /usr/local/lib/libluajit-5.1.a || :
rm -f /usr/local/lib/libluajit-5.1.so.2.1.0 /usr/local/lib/libluajit-5.1.so /usr/local/lib/libluajit-5.1.so.2
cd src && test -f libluajit.so && \
  install -m 0755 libluajit.so /usr/local/lib/libluajit-5.1.so.2.1.0 && \
  ldconfig -n /usr/local/lib && \
  ln -sf libluajit-5.1.so.2.1.0 /usr/local/lib/libluajit-5.1.so && \
  ln -sf libluajit-5.1.so.2.1.0 /usr/local/lib/libluajit-5.1.so.2 || :
cd etc && install -m 0644 luajit.1 /usr/local/share/man/man1
cd etc && sed -e "s|^prefix=.*|prefix=/usr/local|" -e "s|^multilib=.*|multilib=lib|" luajit.pc > luajit.pc.tmp && \
  install -m 0644 luajit.pc.tmp /usr/local/lib/pkgconfig/luajit.pc && \
  rm -f luajit.pc.tmp
cd src && install -m 0644 lua.h lualib.h lauxlib.h luaconf.h lua.hpp luajit.h /usr/local/include/luajit-2.1
cd src/jit && install -m 0644 bc.lua bcsave.lua dump.lua p.lua v.lua zone.lua dis_x86.lua dis_x64.lua dis_arm.lua dis_arm64.lua dis_arm64be.lua dis_ppc.lua dis_mips.lua dis_mipsel.lua dis_mips64.lua dis_mips64el.lua vmdef.lua /usr/local/share/luajit-2.1.0-beta3/jit
ln -sf luajit-2.1.0-beta3 /usr/local/bin/luajit
==== Successfully installed LuaJIT 2.1.0-beta3 to /usr/local ====
[root@tutorialspots luajit2-2.1-20200102]# export LUAJIT_LIB=/usr/local/lib
[root@tutorialspots luajit2-2.1-20200102]# export LUAJIT_INC=/usr/local/include/luajit-2.1

Step 6: Install Resty Core

cd ../lua-resty-core*
make install

Result:

[root@tutorialspots luajit2-2.1-20200102]# cd ../lua-resty-core*
[root@tutorialspots lua-resty-core-0.1.17]# make install
install -d /usr/local/lib/lua//resty/core/
install -d /usr/local/lib/lua//ngx/
install -d /usr/local/lib/lua//ngx/ssl
install lib/resty/*.lua /usr/local/lib/lua//resty/
install lib/resty/core/*.lua /usr/local/lib/lua//resty/core/
install lib/ngx/*.lua /usr/local/lib/lua//ngx/
install lib/ngx/ssl/*.lua /usr/local/lib/lua//ngx/ssl/

Step 7: Install Resty LRU Cache

cd ../lua-resty-lrucache*
make install

Result:

[root@tutorialspots lua-resty-core-0.1.17]# cd ../lua-resty-lrucache*
[root@tutorialspots lua-resty-lrucache-0.09]# make install
install -d //usr/local/lib/lua//resty/lrucache
install lib/resty/*.lua //usr/local/lib/lua//resty/
install lib/resty/lrucache/*.lua //usr/local/lib/lua//resty/lrucache/

Step 8:

yum install -y pcre-devel zlib-devel openssl-devel

Result:

[root@tutorialspots nginx-1.14.1]# yum install -y pcre-devel zlib-devel openssl-devel
Last metadata expiration check: 1:41:21 ago on Wed 08 Jul 2020 06:31:28 AM CEST.
Dependencies resolved.
================================================================================
 Package                  Arch        Version                 Repository   Size
================================================================================
Installing:
 openssl-devel            x86_64      1:1.1.1c-15.el8         BaseOS      2.3 M
 pcre-devel               x86_64      8.42-4.el8              BaseOS      551 k
 zlib-devel               x86_64      1.2.11-13.el8           BaseOS       57 k
Installing dependencies:
 keyutils-libs-devel      x86_64      1.5.10-6.el8            BaseOS       48 k
 krb5-devel               x86_64      1.17-18.el8             BaseOS      549 k
 libcom_err-devel         x86_64      1.45.4-3.el8            BaseOS       38 k
 libkadm5                 x86_64      1.17-18.el8             BaseOS      185 k
 libselinux-devel         x86_64      2.9-3.el8               BaseOS      199 k
 libsepol-devel           x86_64      2.9-1.el8               BaseOS       86 k
 libverto-devel           x86_64      0.3.0-5.el8             BaseOS       18 k
 pcre-cpp                 x86_64      8.42-4.el8              BaseOS       47 k
 pcre-utf16               x86_64      8.42-4.el8              BaseOS      195 k
 pcre-utf32               x86_64      8.42-4.el8              BaseOS      186 k
 pcre2-devel              x86_64      10.32-1.el8             BaseOS      605 k
 pcre2-utf16              x86_64      10.32-1.el8             BaseOS      228 k
 pcre2-utf32              x86_64      10.32-1.el8             BaseOS      220 k

Transaction Summary
================================================================================
Install  16 Packages

Total download size: 5.4 M
Installed size: 11 M
Downloading Packages:
(1/16): libcom_err-devel-1.45.4-3.el8.x86_64.rp 953 kB/s |  38 kB     00:00
(2/16): keyutils-libs-devel-1.5.10-6.el8.x86_64 915 kB/s |  48 kB     00:00
(3/16): libkadm5-1.17-18.el8.x86_64.rpm         4.4 MB/s | 185 kB     00:00
(4/16): krb5-devel-1.17-18.el8.x86_64.rpm       6.4 MB/s | 549 kB     00:00
(5/16): libselinux-devel-2.9-3.el8.x86_64.rpm   4.9 MB/s | 199 kB     00:00
(6/16): libsepol-devel-2.9-1.el8.x86_64.rpm     5.8 MB/s |  86 kB     00:00
(7/16): libverto-devel-0.3.0-5.el8.x86_64.rpm   1.4 MB/s |  18 kB     00:00
(8/16): pcre-cpp-8.42-4.el8.x86_64.rpm          2.0 MB/s |  47 kB     00:00
(9/16): pcre-devel-8.42-4.el8.x86_64.rpm         14 MB/s | 551 kB     00:00
(10/16): openssl-devel-1.1.1c-15.el8.x86_64.rpm  34 MB/s | 2.3 MB     00:00
(11/16): pcre-utf32-8.42-4.el8.x86_64.rpm       7.0 MB/s | 186 kB     00:00
(12/16): pcre-utf16-8.42-4.el8.x86_64.rpm       3.5 MB/s | 195 kB     00:00
(13/16): pcre2-utf16-10.32-1.el8.x86_64.rpm      14 MB/s | 228 kB     00:00
(14/16): pcre2-devel-10.32-1.el8.x86_64.rpm      26 MB/s | 605 kB     00:00
(15/16): pcre2-utf32-10.32-1.el8.x86_64.rpm      13 MB/s | 220 kB     00:00
(16/16): zlib-devel-1.2.11-13.el8.x86_64.rpm    4.4 MB/s |  57 kB     00:00
--------------------------------------------------------------------------------
Total                                            24 MB/s | 5.4 MB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Installing       : zlib-devel-1.2.11-13.el8.x86_64                       1/16
  Installing       : pcre2-utf32-10.32-1.el8.x86_64                        2/16
  Installing       : pcre2-utf16-10.32-1.el8.x86_64                        3/16
  Installing       : pcre2-devel-10.32-1.el8.x86_64                        4/16
  Installing       : pcre-utf32-8.42-4.el8.x86_64                          5/16
  Installing       : pcre-utf16-8.42-4.el8.x86_64                          6/16
  Installing       : pcre-cpp-8.42-4.el8.x86_64                            7/16
  Installing       : libverto-devel-0.3.0-5.el8.x86_64                     8/16
  Installing       : libsepol-devel-2.9-1.el8.x86_64                       9/16
  Installing       : libselinux-devel-2.9-3.el8.x86_64                    10/16
  Installing       : libkadm5-1.17-18.el8.x86_64                          11/16
  Installing       : libcom_err-devel-1.45.4-3.el8.x86_64                 12/16
  Installing       : keyutils-libs-devel-1.5.10-6.el8.x86_64              13/16
  Installing       : krb5-devel-1.17-18.el8.x86_64                        14/16
  Installing       : openssl-devel-1:1.1.1c-15.el8.x86_64                 15/16
  Installing       : pcre-devel-8.42-4.el8.x86_64                         16/16
  Running scriptlet: pcre-devel-8.42-4.el8.x86_64                         16/16
  Verifying        : keyutils-libs-devel-1.5.10-6.el8.x86_64               1/16
  Verifying        : krb5-devel-1.17-18.el8.x86_64                         2/16
  Verifying        : libcom_err-devel-1.45.4-3.el8.x86_64                  3/16
  Verifying        : libkadm5-1.17-18.el8.x86_64                           4/16
  Verifying        : libselinux-devel-2.9-3.el8.x86_64                     5/16
  Verifying        : libsepol-devel-2.9-1.el8.x86_64                       6/16
  Verifying        : libverto-devel-0.3.0-5.el8.x86_64                     7/16
  Verifying        : openssl-devel-1:1.1.1c-15.el8.x86_64                  8/16
  Verifying        : pcre-cpp-8.42-4.el8.x86_64                            9/16
  Verifying        : pcre-devel-8.42-4.el8.x86_64                         10/16
  Verifying        : pcre-utf16-8.42-4.el8.x86_64                         11/16
  Verifying        : pcre-utf32-8.42-4.el8.x86_64                         12/16
  Verifying        : pcre2-devel-10.32-1.el8.x86_64                       13/16
  Verifying        : pcre2-utf16-10.32-1.el8.x86_64                       14/16
  Verifying        : pcre2-utf32-10.32-1.el8.x86_64                       15/16
  Verifying        : zlib-devel-1.2.11-13.el8.x86_64                      16/16

Installed:
  keyutils-libs-devel-1.5.10-6.el8.x86_64  krb5-devel-1.17-18.el8.x86_64
  libcom_err-devel-1.45.4-3.el8.x86_64     libkadm5-1.17-18.el8.x86_64
  libselinux-devel-2.9-3.el8.x86_64        libsepol-devel-2.9-1.el8.x86_64
  libverto-devel-0.3.0-5.el8.x86_64        openssl-devel-1:1.1.1c-15.el8.x86_64
  pcre-cpp-8.42-4.el8.x86_64               pcre-devel-8.42-4.el8.x86_64
  pcre-utf16-8.42-4.el8.x86_64             pcre-utf32-8.42-4.el8.x86_64
  pcre2-devel-10.32-1.el8.x86_64           pcre2-utf16-10.32-1.el8.x86_64
  pcre2-utf32-10.32-1.el8.x86_64           zlib-devel-1.2.11-13.el8.x86_64

Complete!
[root@tutorialspots nginx-1.14.1]# yum install -y libaio-devel
Last metadata expiration check: 1:45:34 ago on Wed 08 Jul 2020 06:31:28 AM CEST.
Dependencies resolved.
================================================================================
 Package              Architecture   Version               Repository      Size
================================================================================
Installing:
 libaio-devel         x86_64         0.3.112-1.el8         BaseOS          19 k

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

Total download size: 19 k
Installed size: 8.7 k
Downloading Packages:
libaio-devel-0.3.112-1.el8.x86_64.rpm           360 kB/s |  19 kB     00:00
--------------------------------------------------------------------------------
Total                                           228 kB/s |  19 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Installing       : libaio-devel-0.3.112-1.el8.x86_64                      1/1
  Running scriptlet: libaio-devel-0.3.112-1.el8.x86_64                      1/1
  Verifying        : libaio-devel-0.3.112-1.el8.x86_64                      1/1

Installed:
  libaio-devel-0.3.112-1.el8.x86_64

Complete!
[root@tutorialspots nginx-1.14.1]# yum groupinstall 'Development Tools'
Last metadata expiration check: 1:55:05 ago on Wed 08 Jul 2020 06:31:28 AM CEST.
Dependencies resolved.
================================================================================
 Package                         Arch   Version                 Repo       Size
================================================================================
Installing group/module packages:
 asciidoc                        noarch 8.6.10-0.5.20180627gitf7c2274.el8
                                                                AppStream 216 k
 autoconf                        noarch 2.69-27.el8             AppStream 710 k
 automake                        noarch 1.16.1-6.el8            AppStream 713 k
 bison                           x86_64 3.0.4-10.el8            AppStream 688 k
 byacc                           x86_64 1.9.20170709-4.el8      AppStream  91 k
 ctags                           x86_64 5.8-22.el8              AppStream 170 k
 diffstat                        x86_64 1.61-7.el8              AppStream  44 k
 flex                            x86_64 2.6.1-9.el8             AppStream 320 k
 gdb                             x86_64 8.2-11.el8              AppStream 297 k
 git                             x86_64 2.18.4-2.el8_2          AppStream 186 k
 intltool                        noarch 0.51.0-11.el8           AppStream  66 k
 jna                             x86_64 4.5.1-5.el8             AppStream 242 k
 libtool                         x86_64 2.4.6-25.el8            AppStream 709 k
 ltrace                          x86_64 0.7.91-28.el8           AppStream 160 k
 patchutils                      x86_64 0.3.4-10.el8            AppStream 116 k
 perl-Fedora-VSP                 noarch 0.001-9.el8             AppStream  24 k
 perl-generators                 noarch 1.10-9.el8              AppStream  18 k
 pesign                          x86_64 0.112-25.el8            AppStream 181 k
 redhat-rpm-config               noarch 122-1.el8               AppStream  83 k
 rpm-build                       x86_64 4.14.2-37.el8           AppStream 171 k
 rpm-sign                        x86_64 4.14.2-37.el8           BaseOS     78 k
 source-highlight                x86_64 3.1.8-16.el8            AppStream 661 k
 strace                          x86_64 4.24-9.el8              BaseOS    972 k
 systemtap                       x86_64 4.2-6.el8               AppStream  18 k
 valgrind                        x86_64 1:3.15.0-11.el8         AppStream  12 M
 valgrind-devel                  x86_64 1:3.15.0-11.el8         AppStream  91 k
Installing dependencies:
 adobe-mappings-cmap             noarch 20171205-3.el8          AppStream 2.1 M
 adobe-mappings-cmap-deprecated  noarch 20171205-3.el8          AppStream 119 k
 adobe-mappings-pdf              noarch 20180407-1.el8          AppStream 707 k
 annobin                         x86_64 8.90-1.el8.0.1          AppStream 201 k
 atk                             x86_64 2.28.1-1.el8            AppStream 272 k
 avahi-libs                      x86_64 0.7-19.el8              BaseOS     62 k
 boost-atomic                    x86_64 1.66.0-7.el8            AppStream  13 k
 boost-chrono                    x86_64 1.66.0-7.el8            AppStream  22 k
 boost-date-time                 x86_64 1.66.0-7.el8            AppStream  29 k
 boost-filesystem                x86_64 1.66.0-7.el8            AppStream  48 k
 boost-regex                     x86_64 1.66.0-7.el8            AppStream 281 k
 boost-system                    x86_64 1.66.0-7.el8            AppStream  18 k
 boost-thread                    x86_64 1.66.0-7.el8            AppStream  58 k
 boost-timer                     x86_64 1.66.0-7.el8            AppStream  20 k
 bzip2                           x86_64 1.0.6-26.el8            BaseOS     60 k
 cairo                           x86_64 1.15.12-3.el8           AppStream 721 k
 copy-jdk-configs                noarch 3.7-1.el8               AppStream  27 k
 cups-libs                       x86_64 1:2.2.6-33.el8          BaseOS    432 k
 docbook-dtds                    noarch 1.0-69.el8              AppStream 377 k
 docbook-style-xsl               noarch 1.79.2-7.el8            AppStream 1.6 M
 dwz                             x86_64 0.12-9.el8              AppStream 109 k
 dyninst                         x86_64 10.1.0-4.el8            AppStream 3.8 M
 efi-srpm-macros                 noarch 3-2.el8                 AppStream  22 k
 elfutils                        x86_64 0.178-7.el8             BaseOS    540 k
 emacs-filesystem                noarch 1:26.1-5.el8            BaseOS     69 k
 fribidi                         x86_64 1.0.4-8.el8             AppStream  89 k
 gc                              x86_64 7.6.4-3.el8             AppStream 109 k
 gdb-headless                    x86_64 8.2-11.el8              AppStream 3.7 M
 gdk-pixbuf2                     x86_64 2.36.12-5.el8           BaseOS    467 k
 gdk-pixbuf2-modules             x86_64 2.36.12-5.el8           AppStream 109 k
 gettext-common-devel            noarch 0.19.8.1-17.el8         BaseOS    419 k
 gettext-devel                   x86_64 0.19.8.1-17.el8         BaseOS    331 k
 ghc-srpm-macros                 noarch 1.4.2-7.el8             AppStream 9.3 k
 git-core                        x86_64 2.18.4-2.el8_2          AppStream 4.0 M
 git-core-doc                    noarch 2.18.4-2.el8_2          AppStream 2.3 M
 go-srpm-macros                  noarch 2-16.el8                AppStream  14 k
 google-droid-sans-fonts         noarch 20120715-13.el8         AppStream 2.5 M
 graphite2                       x86_64 1.3.10-10.el8           AppStream 122 k
 graphviz                        x86_64 2.40.1-40.el8           AppStream 1.7 M
 gtk-update-icon-cache           x86_64 3.22.30-5.el8           AppStream  32 k
 gtk2                            x86_64 2.24.32-4.el8           AppStream 3.4 M
 guile                           x86_64 5:2.0.14-7.el8          AppStream 3.5 M
 harfbuzz                        x86_64 1.7.5-3.el8             AppStream 295 k
 hicolor-icon-theme              noarch 0.17-2.el8              AppStream  49 k
 jasper-libs                     x86_64 2.0.14-4.el8            AppStream 167 k
 java-1.8.0-openjdk-headless     x86_64 1:1.8.0.252.b09-3.el8_2 AppStream  33 M
 javapackages-filesystem         noarch 5.3.0-1.module_el8.0.0+11+5b8c10bd
                                                                AppStream  30 k
 jbig2dec-libs                   x86_64 0.14-2.el8              AppStream  67 k
 lcms2                           x86_64 2.9-2.el8               AppStream 165 k
 libICE                          x86_64 1.0.9-15.el8            AppStream  74 k
 libSM                           x86_64 1.2.3-1.el8             AppStream  48 k
 libXaw                          x86_64 1.0.13-10.el8           AppStream 194 k
 libXcomposite                   x86_64 0.4.4-14.el8            AppStream  28 k
 libXcursor                      x86_64 1.1.15-3.el8            AppStream  36 k
 libXdamage                      x86_64 1.1.4-14.el8            AppStream  27 k
 libXext                         x86_64 1.3.3-9.el8             AppStream  45 k
 libXfixes                       x86_64 5.0.3-7.el8             AppStream  25 k
 libXft                          x86_64 2.3.2-10.el8            AppStream  66 k
 libXi                           x86_64 1.7.9-7.el8             AppStream  49 k
 libXinerama                     x86_64 1.1.4-1.el8             AppStream  16 k
 libXmu                          x86_64 1.1.2-12.el8            AppStream  74 k
 libXrandr                       x86_64 1.5.1-7.el8             AppStream  33 k
 libXrender                      x86_64 0.9.10-7.el8            AppStream  33 k
 libXt                           x86_64 1.1.5-12.el8            AppStream 186 k
 libXxf86misc                    x86_64 1.0.4-1.el8             AppStream  23 k
 libXxf86vm                      x86_64 1.1.4-9.el8             AppStream  19 k
 libatomic_ops                   x86_64 7.6.2-3.el8             AppStream  38 k
 libbabeltrace                   x86_64 1.5.4-2.el8             AppStream 201 k
 libdatrie                       x86_64 0.2.9-7.el8             AppStream  33 k
 libfontenc                      x86_64 1.1.3-8.el8             AppStream  37 k
 libgs                           x86_64 9.25-5.el8_1.1          AppStream 3.1 M
 libicu                          x86_64 60.3-2.el8_1            BaseOS    8.8 M
 libidn                          x86_64 1.34-5.el8              AppStream 239 k
 libijs                          x86_64 0.35-5.el8              AppStream  30 k
 libipt                          x86_64 1.6.1-8.el8             AppStream  50 k
 libmcpp                         x86_64 2.7.2-20.el8            AppStream  81 k
 libpaper                        x86_64 1.1.24-22.el8           AppStream  45 k
 librsvg2                        x86_64 2.42.7-3.el8            AppStream 570 k
 libthai                         x86_64 0.1.27-2.el8            AppStream 203 k
 libtool-ltdl                    x86_64 2.4.6-25.el8            BaseOS     58 k
 lksctp-tools                    x86_64 1.0.18-3.el8            BaseOS    100 k
 lua                             x86_64 5.3.4-11.el8            AppStream 193 k
 m4                              x86_64 1.4.18-7.el8            BaseOS    223 k
 mcpp                            x86_64 2.7.2-20.el8            AppStream  31 k
 nspr                            x86_64 4.21.0-2.el8_0          AppStream 143 k
 nss                             x86_64 3.44.0-15.el8           AppStream 703 k
 nss-softokn                     x86_64 3.44.0-15.el8           AppStream 461 k
 nss-softokn-freebl              x86_64 3.44.0-15.el8           AppStream 271 k
 nss-sysinit                     x86_64 3.44.0-15.el8           AppStream  70 k
 nss-tools                       x86_64 3.44.0-15.el8           AppStream 552 k
 nss-util                        x86_64 3.44.0-15.el8           AppStream 133 k
 ocaml-srpm-macros               noarch 5-4.el8                 AppStream 9.4 k
 openblas-srpm-macros            noarch 2-2.el8                 AppStream 7.9 k
 openjpeg2                       x86_64 2.3.1-6.el8             AppStream 154 k
 pango                           x86_64 1.42.4-6.el8            AppStream 298 k
 patch                           x86_64 2.7.6-11.el8            BaseOS    138 k
 perl-Data-Dumper                x86_64 2.167-399.el8           BaseOS     58 k
 perl-Digest                     noarch 1.17-395.el8            AppStream  27 k
 perl-Digest-MD5                 x86_64 2.55-396.el8            AppStream  37 k
 perl-Encode                     x86_64 4:2.97-3.el8            BaseOS    1.5 M
 perl-Error                      noarch 1:0.17025-2.el8         AppStream  46 k
 perl-File-Temp                  noarch 0.230.600-1.el8         BaseOS     63 k
 perl-Getopt-Long                noarch 1:2.50-4.el8            BaseOS     63 k
 perl-Git                        noarch 2.18.4-2.el8_2          AppStream  77 k
 perl-HTTP-Tiny                  noarch 0.074-1.el8             BaseOS     58 k
 perl-MIME-Base64                x86_64 3.15-396.el8            BaseOS     31 k
 perl-Net-SSLeay                 x86_64 1.88-1.el8              AppStream 379 k
 perl-Pod-Escapes                noarch 1:1.07-395.el8          BaseOS     20 k
 perl-Pod-Perldoc                noarch 3.28-396.el8            BaseOS     86 k
 perl-Pod-Simple                 noarch 1:3.35-395.el8          BaseOS    213 k
 perl-Pod-Usage                  noarch 4:1.69-395.el8          BaseOS     34 k
 perl-Storable                   x86_64 1:3.11-3.el8            BaseOS     98 k
 perl-Term-ANSIColor             noarch 4.06-396.el8            BaseOS     46 k
 perl-Term-Cap                   noarch 1.17-395.el8            BaseOS     23 k
 perl-TermReadKey                x86_64 2.37-7.el8              AppStream  40 k
 perl-Text-ParseWords            noarch 3.30-395.el8            BaseOS     18 k
 perl-Thread-Queue               noarch 3.13-1.el8              AppStream  24 k
 perl-Time-Local                 noarch 1:1.280-1.el8           BaseOS     34 k
 perl-URI                        noarch 1.73-3.el8              AppStream 116 k
 perl-XML-Parser                 x86_64 2.44-11.el8             AppStream 226 k
 perl-libnet                     noarch 3.11-3.el8              AppStream 121 k
 perl-podlators                  noarch 4.11-1.el8              BaseOS    118 k
 perl-srpm-macros                noarch 1-25.el8                AppStream  11 k
 pixman                          x86_64 0.38.4-1.el8            AppStream 257 k
 python-srpm-macros              noarch 3-38.el8                AppStream  14 k
 python3-rpm-macros              noarch 3-38.el8                AppStream  13 k
 qt5-srpm-macros                 noarch 5.12.5-3.el8            AppStream  10 k
 rust-srpm-macros                noarch 5-2.el8                 AppStream 9.2 k
 sgml-common                     noarch 0.6.3-50.el8            BaseOS     62 k
 systemtap-client                x86_64 4.2-6.el8               AppStream 3.7 M
 systemtap-devel                 x86_64 4.2-6.el8               AppStream 2.3 M
 systemtap-runtime               x86_64 4.2-6.el8               AppStream 504 k
 tbb                             x86_64 2018.2-9.el8            AppStream 160 k
 tzdata-java                     noarch 2020a-1.el8             AppStream 189 k
 unzip                           x86_64 6.0-43.el8              BaseOS    195 k
 urw-base35-bookman-fonts        noarch 20170801-10.el8         AppStream 857 k
 urw-base35-c059-fonts           noarch 20170801-10.el8         AppStream 884 k
 urw-base35-d050000l-fonts       noarch 20170801-10.el8         AppStream  79 k
 urw-base35-fonts                noarch 20170801-10.el8         AppStream  12 k
 urw-base35-fonts-common         noarch 20170801-10.el8         AppStream  23 k
 urw-base35-gothic-fonts         noarch 20170801-10.el8         AppStream 654 k
 urw-base35-nimbus-mono-ps-fonts noarch 20170801-10.el8         AppStream 801 k
 urw-base35-nimbus-roman-fonts   noarch 20170801-10.el8         AppStream 865 k
 urw-base35-nimbus-sans-fonts    noarch 20170801-10.el8         AppStream 1.3 M
 urw-base35-p052-fonts           noarch 20170801-10.el8         AppStream 982 k
 urw-base35-standard-symbols-ps-fonts
                                 noarch 20170801-10.el8         AppStream  44 k
 urw-base35-z003-fonts           noarch 20170801-10.el8         AppStream 279 k
 vim-filesystem                  noarch 2:8.0.1763-13.el8       AppStream  48 k
 xml-common                      noarch 0.6.3-50.el8            BaseOS     39 k
 xorg-x11-font-utils             x86_64 1:7.5-40.el8            AppStream 103 k
 xorg-x11-fonts-ISO8859-1-100dpi noarch 7.5-19.el8              AppStream 1.1 M
 xorg-x11-server-utils           x86_64 7.7-27.el8              AppStream 198 k
 zip                             x86_64 3.0-23.el8              BaseOS    270 k
 zstd                            x86_64 1.4.2-2.el8             AppStream 385 k
Installing weak dependencies:
 gcc-gdb-plugin                  x86_64 8.3.1-5.el8.0.2         AppStream 117 k
 kernel-devel                    x86_64 4.18.0-193.6.3.el8_2    BaseOS     15 M
 perl-IO-Socket-IP               noarch 0.39-5.el8              AppStream  47 k
 perl-IO-Socket-SSL              noarch 2.066-4.el8             AppStream 297 k
 perl-Mozilla-CA                 noarch 20160104-7.el8          AppStream  15 k
Enabling module streams:
 javapackages-runtime                   201801
Installing Groups:
 Development Tools

Transaction Summary
================================================================================
Install  185 Packages

Total download size: 139 M
Installed size: 489 M
Is this ok [y/N]: y
...
Installed:
  adobe-mappings-cmap-20171205-3.el8.noarch
  adobe-mappings-cmap-deprecated-20171205-3.el8.noarch
  adobe-mappings-pdf-20180407-1.el8.noarch
  annobin-8.90-1.el8.0.1.x86_64
  asciidoc-8.6.10-0.5.20180627gitf7c2274.el8.noarch
  atk-2.28.1-1.el8.x86_64
  autoconf-2.69-27.el8.noarch
  automake-1.16.1-6.el8.noarch
  avahi-libs-0.7-19.el8.x86_64
  bison-3.0.4-10.el8.x86_64
  boost-atomic-1.66.0-7.el8.x86_64
  boost-chrono-1.66.0-7.el8.x86_64
  boost-date-time-1.66.0-7.el8.x86_64
  boost-filesystem-1.66.0-7.el8.x86_64
  boost-regex-1.66.0-7.el8.x86_64
  boost-system-1.66.0-7.el8.x86_64
  boost-thread-1.66.0-7.el8.x86_64
  boost-timer-1.66.0-7.el8.x86_64
  byacc-1.9.20170709-4.el8.x86_64
  bzip2-1.0.6-26.el8.x86_64
  cairo-1.15.12-3.el8.x86_64
  copy-jdk-configs-3.7-1.el8.noarch
  ctags-5.8-22.el8.x86_64
  cups-libs-1:2.2.6-33.el8.x86_64
  diffstat-1.61-7.el8.x86_64
  docbook-dtds-1.0-69.el8.noarch
  docbook-style-xsl-1.79.2-7.el8.noarch
  dwz-0.12-9.el8.x86_64
  dyninst-10.1.0-4.el8.x86_64
  efi-srpm-macros-3-2.el8.noarch
  elfutils-0.178-7.el8.x86_64
  emacs-filesystem-1:26.1-5.el8.noarch
  flex-2.6.1-9.el8.x86_64
  fribidi-1.0.4-8.el8.x86_64
  gc-7.6.4-3.el8.x86_64
  gcc-gdb-plugin-8.3.1-5.el8.0.2.x86_64
  gdb-8.2-11.el8.x86_64
  gdb-headless-8.2-11.el8.x86_64
  gdk-pixbuf2-2.36.12-5.el8.x86_64
  gdk-pixbuf2-modules-2.36.12-5.el8.x86_64
  gettext-common-devel-0.19.8.1-17.el8.noarch
  gettext-devel-0.19.8.1-17.el8.x86_64
  ghc-srpm-macros-1.4.2-7.el8.noarch
  git-2.18.4-2.el8_2.x86_64
  git-core-2.18.4-2.el8_2.x86_64
  git-core-doc-2.18.4-2.el8_2.noarch
  go-srpm-macros-2-16.el8.noarch
  google-droid-sans-fonts-20120715-13.el8.noarch
  graphite2-1.3.10-10.el8.x86_64
  graphviz-2.40.1-40.el8.x86_64
  gtk-update-icon-cache-3.22.30-5.el8.x86_64
  gtk2-2.24.32-4.el8.x86_64
  guile-5:2.0.14-7.el8.x86_64
  harfbuzz-1.7.5-3.el8.x86_64
  hicolor-icon-theme-0.17-2.el8.noarch
  intltool-0.51.0-11.el8.noarch
  jasper-libs-2.0.14-4.el8.x86_64
  java-1.8.0-openjdk-headless-1:1.8.0.252.b09-3.el8_2.x86_64
  javapackages-filesystem-5.3.0-1.module_el8.0.0+11+5b8c10bd.noarch
  jbig2dec-libs-0.14-2.el8.x86_64
  jna-4.5.1-5.el8.x86_64
  kernel-devel-4.18.0-193.6.3.el8_2.x86_64
  lcms2-2.9-2.el8.x86_64
  libICE-1.0.9-15.el8.x86_64
  libSM-1.2.3-1.el8.x86_64
  libXaw-1.0.13-10.el8.x86_64
  libXcomposite-0.4.4-14.el8.x86_64
  libXcursor-1.1.15-3.el8.x86_64
  libXdamage-1.1.4-14.el8.x86_64
  libXext-1.3.3-9.el8.x86_64
  libXfixes-5.0.3-7.el8.x86_64
  libXft-2.3.2-10.el8.x86_64
  libXi-1.7.9-7.el8.x86_64
  libXinerama-1.1.4-1.el8.x86_64
  libXmu-1.1.2-12.el8.x86_64
  libXrandr-1.5.1-7.el8.x86_64
  libXrender-0.9.10-7.el8.x86_64
  libXt-1.1.5-12.el8.x86_64
  libXxf86misc-1.0.4-1.el8.x86_64
  libXxf86vm-1.1.4-9.el8.x86_64
  libatomic_ops-7.6.2-3.el8.x86_64
  libbabeltrace-1.5.4-2.el8.x86_64
  libdatrie-0.2.9-7.el8.x86_64
  libfontenc-1.1.3-8.el8.x86_64
  libgs-9.25-5.el8_1.1.x86_64
  libicu-60.3-2.el8_1.x86_64
  libidn-1.34-5.el8.x86_64
  libijs-0.35-5.el8.x86_64
  libipt-1.6.1-8.el8.x86_64
  libmcpp-2.7.2-20.el8.x86_64
  libpaper-1.1.24-22.el8.x86_64
  librsvg2-2.42.7-3.el8.x86_64
  libthai-0.1.27-2.el8.x86_64
  libtool-2.4.6-25.el8.x86_64
  libtool-ltdl-2.4.6-25.el8.x86_64
  lksctp-tools-1.0.18-3.el8.x86_64
  ltrace-0.7.91-28.el8.x86_64
  lua-5.3.4-11.el8.x86_64
  m4-1.4.18-7.el8.x86_64
  mcpp-2.7.2-20.el8.x86_64
  nspr-4.21.0-2.el8_0.x86_64
  nss-3.44.0-15.el8.x86_64
  nss-softokn-3.44.0-15.el8.x86_64
  nss-softokn-freebl-3.44.0-15.el8.x86_64
  nss-sysinit-3.44.0-15.el8.x86_64
  nss-tools-3.44.0-15.el8.x86_64
  nss-util-3.44.0-15.el8.x86_64
  ocaml-srpm-macros-5-4.el8.noarch
  openblas-srpm-macros-2-2.el8.noarch
  openjpeg2-2.3.1-6.el8.x86_64
  pango-1.42.4-6.el8.x86_64
  patch-2.7.6-11.el8.x86_64
  patchutils-0.3.4-10.el8.x86_64
  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-Error-1:0.17025-2.el8.noarch
  perl-Fedora-VSP-0.001-9.el8.noarch
  perl-File-Temp-0.230.600-1.el8.noarch
  perl-Getopt-Long-1:2.50-4.el8.noarch
  perl-Git-2.18.4-2.el8_2.noarch
  perl-HTTP-Tiny-0.074-1.el8.noarch
  perl-IO-Socket-IP-0.39-5.el8.noarch
  perl-IO-Socket-SSL-2.066-4.el8.noarch
  perl-MIME-Base64-3.15-396.el8.x86_64
  perl-Mozilla-CA-20160104-7.el8.noarch
  perl-Net-SSLeay-1.88-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-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-TermReadKey-2.37-7.el8.x86_64
  perl-Text-ParseWords-3.30-395.el8.noarch
  perl-Thread-Queue-3.13-1.el8.noarch
  perl-Time-Local-1:1.280-1.el8.noarch
  perl-URI-1.73-3.el8.noarch
  perl-XML-Parser-2.44-11.el8.x86_64
  perl-generators-1.10-9.el8.noarch
  perl-libnet-3.11-3.el8.noarch
  perl-podlators-4.11-1.el8.noarch
  perl-srpm-macros-1-25.el8.noarch
  pesign-0.112-25.el8.x86_64
  pixman-0.38.4-1.el8.x86_64
  python-srpm-macros-3-38.el8.noarch
  python3-rpm-macros-3-38.el8.noarch
  qt5-srpm-macros-5.12.5-3.el8.noarch
  redhat-rpm-config-122-1.el8.noarch
  rpm-build-4.14.2-37.el8.x86_64
  rpm-sign-4.14.2-37.el8.x86_64
  rust-srpm-macros-5-2.el8.noarch
  sgml-common-0.6.3-50.el8.noarch
  source-highlight-3.1.8-16.el8.x86_64
  strace-4.24-9.el8.x86_64
  systemtap-4.2-6.el8.x86_64
  systemtap-client-4.2-6.el8.x86_64
  systemtap-devel-4.2-6.el8.x86_64
  systemtap-runtime-4.2-6.el8.x86_64
  tbb-2018.2-9.el8.x86_64
  tzdata-java-2020a-1.el8.noarch
  unzip-6.0-43.el8.x86_64
  urw-base35-bookman-fonts-20170801-10.el8.noarch
  urw-base35-c059-fonts-20170801-10.el8.noarch
  urw-base35-d050000l-fonts-20170801-10.el8.noarch
  urw-base35-fonts-20170801-10.el8.noarch
  urw-base35-fonts-common-20170801-10.el8.noarch
  urw-base35-gothic-fonts-20170801-10.el8.noarch
  urw-base35-nimbus-mono-ps-fonts-20170801-10.el8.noarch
  urw-base35-nimbus-roman-fonts-20170801-10.el8.noarch
  urw-base35-nimbus-sans-fonts-20170801-10.el8.noarch
  urw-base35-p052-fonts-20170801-10.el8.noarch
  urw-base35-standard-symbols-ps-fonts-20170801-10.el8.noarch
  urw-base35-z003-fonts-20170801-10.el8.noarch
  valgrind-1:3.15.0-11.el8.x86_64
  valgrind-devel-1:3.15.0-11.el8.x86_64
  vim-filesystem-2:8.0.1763-13.el8.noarch
  xml-common-0.6.3-50.el8.noarch
  xorg-x11-font-utils-1:7.5-40.el8.x86_64
  xorg-x11-fonts-ISO8859-1-100dpi-7.5-19.el8.noarch
  xorg-x11-server-utils-7.7-27.el8.x86_64
  zip-3.0-23.el8.x86_64
  zstd-1.4.2-2.el8.x86_64

Complete!
yum install -y libxslt-devel

Result

[root@tutorialspots  nginx-1.14.1]# yum install -y libxslt-devel
Last metadata expiration check: 2:00:44 ago on Wed 08 Jul 2020 06:31:28 AM CEST.
Dependencies resolved.
================================================================================
 Package                  Architecture Version            Repository       Size
================================================================================
Installing:
 libxslt-devel            x86_64       1.1.32-4.el8       AppStream       322 k
Installing dependencies:
 cmake-filesystem         x86_64       3.11.4-7.el8       AppStream        40 k
 libgcrypt-devel          x86_64       1.8.3-4.el8        BaseOS          149 k
 libgpg-error-devel       x86_64       1.31-1.el8         BaseOS           64 k
 libxml2-devel            x86_64       2.9.7-7.el8        AppStream       1.0 M
 xz-devel                 x86_64       5.2.4-3.el8        BaseOS           62 k

Transaction Summary
================================================================================
Install  6 Packages

Total download size: 1.7 M
Installed size: 12 M
Downloading Packages:
(1/6): cmake-filesystem-3.11.4-7.el8.x86_64.rpm 488 kB/s |  40 kB     00:00
(2/6): libgcrypt-devel-1.8.3-4.el8.x86_64.rpm   1.5 MB/s | 149 kB     00:00
(3/6): libxslt-devel-1.1.32-4.el8.x86_64.rpm    1.7 MB/s | 322 kB     00:00
(4/6): libgpg-error-devel-1.31-1.el8.x86_64.rpm 2.1 MB/s |  64 kB     00:00
(5/6): xz-devel-5.2.4-3.el8.x86_64.rpm          768 kB/s |  62 kB     00:00
(6/6): libxml2-devel-2.9.7-7.el8.x86_64.rpm     3.8 MB/s | 1.0 MB     00:00
--------------------------------------------------------------------------------
Total                                           4.9 MB/s | 1.7 MB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Installing       : libgpg-error-devel-1.31-1.el8.x86_64                   1/6
  Running scriptlet: libgpg-error-devel-1.31-1.el8.x86_64                   1/6
  Installing       : libgcrypt-devel-1.8.3-4.el8.x86_64                     2/6
  Running scriptlet: libgcrypt-devel-1.8.3-4.el8.x86_64                     2/6
  Installing       : xz-devel-5.2.4-3.el8.x86_64                            3/6
  Installing       : cmake-filesystem-3.11.4-7.el8.x86_64                   4/6
  Installing       : libxml2-devel-2.9.7-7.el8.x86_64                       5/6
  Installing       : libxslt-devel-1.1.32-4.el8.x86_64                      6/6
  Running scriptlet: libxslt-devel-1.1.32-4.el8.x86_64                      6/6
  Verifying        : cmake-filesystem-3.11.4-7.el8.x86_64                   1/6
  Verifying        : libxml2-devel-2.9.7-7.el8.x86_64                       2/6
  Verifying        : libxslt-devel-1.1.32-4.el8.x86_64                      3/6
  Verifying        : libgcrypt-devel-1.8.3-4.el8.x86_64                     4/6
  Verifying        : libgpg-error-devel-1.31-1.el8.x86_64                   5/6
  Verifying        : xz-devel-5.2.4-3.el8.x86_64                            6/6

Installed:
  cmake-filesystem-3.11.4-7.el8.x86_64    libgcrypt-devel-1.8.3-4.el8.x86_64
  libgpg-error-devel-1.31-1.el8.x86_64    libxml2-devel-2.9.7-7.el8.x86_64
  libxslt-devel-1.1.32-4.el8.x86_64       xz-devel-5.2.4-3.el8.x86_64

Complete!
yum install -y gd-devel

Result:

[root@tutorialspots  nginx-1.14.1]# yum install -y gd-devel
Last metadata expiration check: 2:02:14 ago on Wed 08 Jul 2020 06:31:28 AM CEST.
Dependencies resolved.
================================================================================
 Package                   Arch        Version             Repository      Size
================================================================================
Installing:
 gd-devel                  x86_64      2.2.5-6.el8         AppStream       50 k
Installing dependencies:
 bzip2-devel               x86_64      1.0.6-26.el8        BaseOS         224 k
 expat-devel               x86_64      2.2.5-3.el8         BaseOS          55 k
 fontconfig-devel          x86_64      2.13.1-3.el8        BaseOS         151 k
 freetype-devel            x86_64      2.9.1-4.el8         BaseOS         464 k
 libX11-devel              x86_64      1.6.8-3.el8         AppStream      976 k
 libX11-xcb                x86_64      1.6.8-3.el8         AppStream       14 k
 libXau-devel              x86_64      1.0.8-13.el8        AppStream       20 k
 libXpm-devel              x86_64      3.5.12-8.el8        AppStream       39 k
 libjpeg-turbo-devel       x86_64      1.5.3-10.el8        AppStream      109 k
 libpng-devel              x86_64      2:1.6.34-5.el8      BaseOS         327 k
 libtiff-devel             x86_64      4.0.9-17.el8        AppStream      511 k
 libuuid-devel             x86_64      2.32.1-22.el8       BaseOS          95 k
 libwebp-devel             x86_64      1.0.0-1.el8         AppStream       37 k
 libxcb-devel              x86_64      1.13.1-1.el8        AppStream      1.1 M
 xorg-x11-proto-devel      noarch      2018.4-1.el8        AppStream      283 k

Transaction Summary
================================================================================
Install  16 Packages

Total download size: 4.3 M
Installed size: 12 M
Downloading Packages:
(1/16): libX11-xcb-1.6.8-3.el8.x86_64.rpm       181 kB/s |  14 kB     00:00
(2/16): libXau-devel-1.0.8-13.el8.x86_64.rpm    763 kB/s |  20 kB     00:00
(3/16): gd-devel-2.2.5-6.el8.x86_64.rpm         392 kB/s |  50 kB     00:00
(4/16): libXpm-devel-3.5.12-8.el8.x86_64.rpm    995 kB/s |  39 kB     00:00
(5/16): libjpeg-turbo-devel-1.5.3-10.el8.x86_64 1.4 MB/s | 109 kB     00:00
(6/16): libwebp-devel-1.0.0-1.el8.x86_64.rpm    907 kB/s |  37 kB     00:00
(7/16): libtiff-devel-4.0.9-17.el8.x86_64.rpm   4.7 MB/s | 511 kB     00:00
(8/16): libX11-devel-1.6.8-3.el8.x86_64.rpm     3.7 MB/s | 976 kB     00:00
(9/16): xorg-x11-proto-devel-2018.4-1.el8.noarc 5.2 MB/s | 283 kB     00:00
(10/16): bzip2-devel-1.0.6-26.el8.x86_64.rpm    2.4 MB/s | 224 kB     00:00
(11/16): expat-devel-2.2.5-3.el8.x86_64.rpm     986 kB/s |  55 kB     00:00
(12/16): fontconfig-devel-2.13.1-3.el8.x86_64.r 5.0 MB/s | 151 kB     00:00
(13/16): freetype-devel-2.9.1-4.el8.x86_64.rpm  6.6 MB/s | 464 kB     00:00
(14/16): libpng-devel-1.6.34-5.el8.x86_64.rpm   6.6 MB/s | 327 kB     00:00
(15/16): libxcb-devel-1.13.1-1.el8.x86_64.rpm   5.7 MB/s | 1.1 MB     00:00
(16/16): libuuid-devel-2.32.1-22.el8.x86_64.rpm 3.5 MB/s |  95 kB     00:00
--------------------------------------------------------------------------------
Total                                           8.4 MB/s | 4.3 MB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Installing       : libpng-devel-2:1.6.34-5.el8.x86_64                    1/16
  Installing       : xorg-x11-proto-devel-2018.4-1.el8.noarch              2/16
  Installing       : libXau-devel-1.0.8-13.el8.x86_64                      3/16
  Installing       : libxcb-devel-1.13.1-1.el8.x86_64                      4/16
  Installing       : libuuid-devel-2.32.1-22.el8.x86_64                    5/16
  Installing       : expat-devel-2.2.5-3.el8.x86_64                        6/16
  Installing       : bzip2-devel-1.0.6-26.el8.x86_64                       7/16
  Installing       : freetype-devel-2.9.1-4.el8.x86_64                     8/16
  Installing       : fontconfig-devel-2.13.1-3.el8.x86_64                  9/16
  Installing       : libwebp-devel-1.0.0-1.el8.x86_64                     10/16
  Installing       : libtiff-devel-4.0.9-17.el8.x86_64                    11/16
  Installing       : libjpeg-turbo-devel-1.5.3-10.el8.x86_64              12/16
  Installing       : libX11-xcb-1.6.8-3.el8.x86_64                        13/16
  Installing       : libX11-devel-1.6.8-3.el8.x86_64                      14/16
  Installing       : libXpm-devel-3.5.12-8.el8.x86_64                     15/16
  Installing       : gd-devel-2.2.5-6.el8.x86_64                          16/16
  Running scriptlet: gd-devel-2.2.5-6.el8.x86_64                          16/16
  Verifying        : gd-devel-2.2.5-6.el8.x86_64                           1/16
  Verifying        : libX11-devel-1.6.8-3.el8.x86_64                       2/16
  Verifying        : libX11-xcb-1.6.8-3.el8.x86_64                         3/16
  Verifying        : libXau-devel-1.0.8-13.el8.x86_64                      4/16
  Verifying        : libXpm-devel-3.5.12-8.el8.x86_64                      5/16
  Verifying        : libjpeg-turbo-devel-1.5.3-10.el8.x86_64               6/16
  Verifying        : libtiff-devel-4.0.9-17.el8.x86_64                     7/16
  Verifying        : libwebp-devel-1.0.0-1.el8.x86_64                      8/16
  Verifying        : libxcb-devel-1.13.1-1.el8.x86_64                      9/16
  Verifying        : xorg-x11-proto-devel-2018.4-1.el8.noarch             10/16
  Verifying        : bzip2-devel-1.0.6-26.el8.x86_64                      11/16
  Verifying        : expat-devel-2.2.5-3.el8.x86_64                       12/16
  Verifying        : fontconfig-devel-2.13.1-3.el8.x86_64                 13/16
  Verifying        : freetype-devel-2.9.1-4.el8.x86_64                    14/16
  Verifying        : libpng-devel-2:1.6.34-5.el8.x86_64                   15/16
  Verifying        : libuuid-devel-2.32.1-22.el8.x86_64                   16/16

Installed:
  bzip2-devel-1.0.6-26.el8.x86_64      expat-devel-2.2.5-3.el8.x86_64
  fontconfig-devel-2.13.1-3.el8.x86_64 freetype-devel-2.9.1-4.el8.x86_64
  gd-devel-2.2.5-6.el8.x86_64          libX11-devel-1.6.8-3.el8.x86_64
  libX11-xcb-1.6.8-3.el8.x86_64        libXau-devel-1.0.8-13.el8.x86_64
  libXpm-devel-3.5.12-8.el8.x86_64     libjpeg-turbo-devel-1.5.3-10.el8.x86_64
  libpng-devel-2:1.6.34-5.el8.x86_64   libtiff-devel-4.0.9-17.el8.x86_64
  libuuid-devel-2.32.1-22.el8.x86_64   libwebp-devel-1.0.0-1.el8.x86_64
  libxcb-devel-1.13.1-1.el8.x86_64     xorg-x11-proto-devel-2018.4-1.el8.noarch

Complete!
yum install perl-ExtUtils-Embed

(Read: CentOS: how to fix error: perl module ExtUtils::Embed is required)

Step 9: Configure and build dynamic module

cd ../nginx*/
NGINX_CONFIGURE_ARGUMENTS=$(echo $(nginx -V 2>&1) | sed -nr '/configure arguments:/ s/.*configure arguments:([^"]+).*/\1/p'|sed 's/--with-ipv6 //g'|sed 's/-Wl,-z,relro -Wl,-z,now -specs=\/usr\/lib\/rpm\/redhat\/redhat-hardened-ld -Wl,-E/-Wl,-rpath,\/usr\/local\/lib/g')
eval "CFLAGS=-Wno-error ./configure --add-dynamic-module=../ngx_devel_kit-0.3.1 --add-dynamic-module=../lua-nginx-module-0.10.15 $NGINX_CONFIGURE_ARGUMENTS"
make modules

Result:

[root@tutorialspots nginx-1.14.1]# NGINX_CONFIGURE_ARGUMENTS=$(echo $(nginx -V 2>&1) | sed -nr '/configure arguments:/ s/.*configure arguments:([^"]+).*/\1/p'|sed 's/--with-ipv6 //g'|sed 's/-Wl,-z,relro -Wl,-z,now -specs=\/usr\/lib\/rpm\/redhat\/redhat-hardened-ld -Wl,-E/-Wl,-rpath,\/usr\/local\/lib/g')
[root@tutorialspots nginx-1.14.1]# eval "CFLAGS=-Wno-error ./configure --add-dynamic-module=../ngx_devel_kit-0.3.1 --add-dynamic-module=../lua-nginx-module-0.10.15 $NGINX_CONFIGURE_ARGUMENTS"
checking for OS
 + Linux 4.18.0-193.6.3.el8_2.x86_64 x86_64
checking for C compiler ... found
 + using GNU C compiler
 + gcc version: 8.3.1 20191121 (Red Hat 8.3.1-5) (GCC)
checking for gcc -pipe switch ... found
checking for --with-ld-opt="-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-E" ... found
checking for -Wl,-E switch ... found
checking for gcc builtin atomic operations ... found
checking for C99 variadic macros ... found
checking for gcc variadic macros ... found
checking for gcc builtin 64 bit byteswap ... found
checking for unistd.h ... found
checking for inttypes.h ... found
checking for limits.h ... found
checking for sys/filio.h ... not found
checking for sys/param.h ... found
checking for sys/mount.h ... found
checking for sys/statvfs.h ... found
checking for crypt.h ... found
checking for Linux specific features
checking for epoll ... found
checking for EPOLLRDHUP ... found
checking for EPOLLEXCLUSIVE ... found
checking for O_PATH ... found
checking for sendfile() ... found
checking for sendfile64() ... found
checking for sys/prctl.h ... found
checking for prctl(PR_SET_DUMPABLE) ... found
checking for prctl(PR_SET_KEEPCAPS) ... found
checking for capabilities ... found
checking for crypt_r() ... found
checking for sys/vfs.h ... found
checking for poll() ... found
checking for /dev/poll ... not found
checking for kqueue ... not found
checking for crypt() ... not found
checking for crypt() in libcrypt ... found
checking for F_READAHEAD ... not found
checking for posix_fadvise() ... found
checking for O_DIRECT ... found
checking for F_NOCACHE ... not found
checking for directio() ... not found
checking for statfs() ... found
checking for statvfs() ... found
checking for dlopen() ... not found
checking for dlopen() in libdl ... found
checking for sched_yield() ... found
checking for sched_setaffinity() ... found
checking for SO_SETFIB ... not found
checking for SO_REUSEPORT ... found
checking for SO_ACCEPTFILTER ... not found
checking for SO_BINDANY ... not found
checking for IP_TRANSPARENT ... found
checking for IP_BINDANY ... not found
checking for IP_BIND_ADDRESS_NO_PORT ... found
checking for IP_RECVDSTADDR ... not found
checking for IP_SENDSRCADDR ... not found
checking for IP_PKTINFO ... found
checking for IPV6_RECVPKTINFO ... found
checking for TCP_DEFER_ACCEPT ... found
checking for TCP_KEEPIDLE ... found
checking for TCP_FASTOPEN ... found
checking for TCP_INFO ... found
checking for accept4() ... found
checking for kqueue AIO support ... not found
checking for Linux AIO support ... found
checking for int size ... 4 bytes
checking for long size ... 8 bytes
checking for long long size ... 8 bytes
checking for void * size ... 8 bytes
checking for uint32_t ... found
checking for uint64_t ... found
checking for sig_atomic_t ... found
checking for sig_atomic_t size ... 4 bytes
checking for socklen_t ... found
checking for in_addr_t ... found
checking for in_port_t ... found
checking for rlim_t ... found
checking for uintptr_t ... uintptr_t found
checking for system byte ordering ... little endian
checking for size_t size ... 8 bytes
checking for off_t size ... 8 bytes
checking for time_t size ... 8 bytes
checking for AF_INET6 ... found
checking for setproctitle() ... not found
checking for pread() ... found
checking for pwrite() ... found
checking for pwritev() ... found
checking for sys_nerr ... found
checking for localtime_r() ... found
checking for clock_gettime(CLOCK_MONOTONIC) ... found
checking for posix_memalign() ... found
checking for memalign() ... found
checking for mmap(MAP_ANON|MAP_SHARED) ... found
checking for mmap("/dev/zero", MAP_SHARED) ... found
checking for System V shared memory ... found
checking for POSIX semaphores ... not found
checking for POSIX semaphores in libpthread ... found
checking for struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found
checking for struct tm.tm_gmtoff ... found
checking for struct dirent.d_namlen ... not found
checking for struct dirent.d_type ... found
checking for sysconf(_SC_NPROCESSORS_ONLN) ... found
checking for sysconf(_SC_LEVEL1_DCACHE_LINESIZE) ... found
checking for openat(), fstatat() ... found
checking for getaddrinfo() ... found
configuring additional dynamic modules
adding module in ../ngx_devel_kit-0.3.1
 + ngx_devel_kit was configured
adding module in ../lua-nginx-module-0.10.15
checking for LuaJIT library in /usr/local/lib and /usr/local/include/luajit-2.1 (specified by the LUAJIT_LIB and LUAJIT_INC env, with -ldl) ... found
checking for export symbols by default (-E) ... found
checking for export symbols by default (--export-all-symbols) ... not found
checking for SO_PASSCRED ... found
checking for SA_RESTART ... found
checking for __attribute__(constructor) ... found
checking for malloc_trim ... found
checking for pipe2 ... not found
checking for signalfd ... found
 + ngx_http_lua_module was configured
checking for PCRE library ... found
checking for PCRE JIT support ... found
checking for OpenSSL library ... found
checking for zlib library ... found
checking for libxslt ... found
checking for libexslt ... found
checking for GD library ... found
checking for GD WebP support ... found
checking for perl
 + perl version: This is perl 5, version 26, subversion 3 (v5.26.3) built for x86_64-linux-thread-multi
 + perl interpreter multiplicity found
creating objs/Makefile

Configuration summary
  + using system PCRE library
  + using system OpenSSL library
  + using system zlib library

  nginx path prefix: "/usr/share/nginx"
  nginx binary file: "/usr/sbin/nginx"
  nginx modules path: "/usr/lib64/nginx/modules"
  nginx configuration prefix: "/etc/nginx"
  nginx configuration file: "/etc/nginx/nginx.conf"
  nginx pid file: "/run/nginx.pid"
  nginx error log file: "/var/log/nginx/error.log"
  nginx http access log file: "/var/log/nginx/access.log"
  nginx http client request body temporary files: "/var/lib/nginx/tmp/client_body"
  nginx http proxy temporary files: "/var/lib/nginx/tmp/proxy"
  nginx http fastcgi temporary files: "/var/lib/nginx/tmp/fastcgi"
  nginx http uwsgi temporary files: "/var/lib/nginx/tmp/uwsgi"
  nginx http scgi temporary files: "/var/lib/nginx/tmp/scgi"
[root@tutorialspots nginx-1.14.1]# make modules
...
objs/ngx_stream_module_modules.o \
-L/usr/local/lib -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-E \
-shared
make[1]: Leaving directory '/usr/local/src/nginx-1.14.1'

Step 10: Move modules to modules-path

mv objs/*.so /usr/lib64/nginx/modules

Step 11: Configure to load these modules configuration

echo -e "load_module /usr/lib64/nginx/modules/ndk_http_module.so;\nload_module /usr/lib64/nginx/modules/ngx_http_lua_module.so;" > /usr/share/nginx/modules/lua.conf

Step 12: Enable OpenResty-core
Place the following inside the http block of nginx.conf

lua_package_path "/usr/local/lib/lua/?.lua;;";

init_by_lua_block {
    require "resty.core"
    collectgarbage("collect")  -- just to collect any garbage
}

Or you can create a file: /etc/nginx/conf.d/openresty.conf with the above content.

Step 13: Restart Nginx

service nginx restart

Recent search terms:

  • centos install vim with lua

Leave a Reply