Welcome! Log In Create A New Profile

Advanced

Re: Compile Nginx

Anoop Alias
April 28, 2020 09:54AM
The Nginx binary compiled on one system can be run on a similar
architecture system as it is portable code.

The ones you download from the repo are compiled on a machine to binary by
the repo maintainer

you can ship the binary in a tool like rpm or deb

On Tue, Apr 28, 2020 at 7:13 PM Praveen Kumar K S <praveenssit@gmail.com>
wrote:

> I usually install from the official nginx apt repo. But since I want to
> use modules like more_set_headers which requires building nginx from
> source, I'm looking for best practices.
>
> On Tue, Apr 28, 2020 at 6:50 PM Reinis Rozitis <r@roze.lv> wrote:
>
>> > Can I compile nginx on Ubuntu 16.04 and reuse it on other deployments?
>> Or do I need to compile every time ? Please advise.
>>
>> As far as the hosts have all the shared libraries like openssl/pcre etc
>> (you can check with 'ldd /path/to/nginx') there is no need to compile every
>> time and you can just copy the nginx binary.
>>
>> rr
>>
>> _______________________________________________
>> nginx mailing list
>> nginx@nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
>
> --
>
>
> *Regards,*
>
>
> *K S Praveen KumarM: +91-9986855625 *
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



--
*Anoop P Alias*
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Compile Nginx

Praveen Kumar K S April 28, 2020 08:44AM

Re: Compile Nginx

basti April 28, 2020 09:18AM

RE: Compile Nginx

Reinis Rozitis April 28, 2020 09:22AM

Re: Compile Nginx

Praveen Kumar K S April 28, 2020 09:44AM

Re: Compile Nginx

Anoop Alias April 28, 2020 09:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 265
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready