Welcome! Log In Create A New Profile

Advanced

Relocatable installations

Michael Williamson
November 05, 2012 04:26PM
Hello,

Is it possible to compile nginx such that installations can be moved?
For instance, say we install nginx to /tmp/original/nginx:

./configure --prefix=/tmp/original/nginx
make
make install

And we then move the installation directory to /tmp/relocated/nginx:

mv /tmp/original/nginx /tmp/relocated/nginx

Is there a way to run nginx in its new directory as though it had been
installed there directly, using either compile- or run-time options?

Thanks

Mike

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Relocatable installations

Michael Williamson November 05, 2012 04:26PM

Re: Relocatable installations

Reinis Rozitis November 05, 2012 04:44PM

Re: Relocatable installations

Michael Williamson November 05, 2012 04:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 136
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