Answer the question
In order to leave comments, you need to log in
How to update on nginx server?
Tell me if I took the nginx source from the ubuntu repository, added google pagesped there, compiled and installed the deb package on the server - when updating nginx through the package manager, everything that I added will be lost and will need to be built again?
Answer the question
In order to leave comments, you need to log in
1. Specify a different name in debian/control (for example, nginx-kkoshakk ) so that it does not overlap with the distribution one, correct the names of the .postinst files. .dir etc. to match the package name and rebuild.
Before installing your package, it's best to apt-get purge nginx (assuming you already have config backups) to avoid config conflicts.
2. It can be simpler: apt-mark hold nginx
when updating nginx through the package manager, everything that I added will be lost and will need to be rebuilt?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question