(1) How about using Docker? I've never used Docker myself, so I don't know, but I think it will suit your purpose. Link to introduction to Docker
(2) If the purpose is to modify the code locally and check it right away, check the normal behavior, and distribute it to the server, I wonder if it is necessary to copy and use the Linux server itself. Install a Linux-like environment locally (in my case, Rails and Postgresql) and turn the code around and distribute it to the server if there is no problem.
When I virtualized with VMware, there was a tool that converts the contents of the physical server into a VM virtualized image.
Please refer to it when you search for necessary data . .
© 2024 OneMinuteCode. All rights reserved.