Installing dynamic modules when Nginx itself is installed via yum/dnf (Linux)

Phoenix Kiula phoenix.kiula at gmail.com
Wed Jan 6 22:30:53 UTC 2021


Thank you Miguel. But you misunderstood the question. This suggestion...



> nginx blog as a great guide on it though
> https://www.nginx.com/blog/compiling-dynamic-modules-nginx-plus/
>
>


...misses the very first question in this thread: we cannot compile nginx
from source on our server. At least not in a way that that compiled version
would become the nginx installed in our *system*. We need to install nginx
via the default Fedora dnf package manager, which at this time installs
1.18.0.

Now, what I don't mind doing is to compile nginx in some self-contained
folder somewhere, then use that compilation to create the .so or whatever
the module file for that version is....if all of this module compiling does
*not* affect the system-installed dnf version of nginx. Is this possible?

If so, the instructions do not help with this. The first step in that
official tutorial is to compile nginx and that compiled nginx then becomes
the system's main nginx. It replaces whatever was installed via "dnf
install nginx". Yes?

Hope this makes sense. Have I correctly understood how nginx compilation
works? Appreciate any pointers.

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20210106/bc7547c1/attachment.htm>


More information about the nginx mailing list