Answer the question
In order to leave comments, you need to log in
On what OS is it best to set up a web server in a virtual machine?
On what OS is it best to set up a web server in a virtual machine?
It is interesting to consider this issue from the point of view of performance and serviceability.
Answer the question
In order to leave comments, you need to log in
Chose Debian, looked at the minimum system requirements.
Debian turned out to be less demanding and a fairly stable system.
The advantage is that it will be possible to run even on a simple computer.
Installed without a graphical shell.
The result was an image of about 850 MB.
Great for deploying a site on a local network.
Performance in your case will be about the same. In terms of serviceability, the operating system with which the attendant is best familiar. If it's you, well...
Any of the common (Debian, Ubuntu server, Centos, Fedora) Linux + Docker (A full virtual machine, such as KVM, is unnecessary for a web server, as for me.)
The one you know or one that an available trusted guru knows.
To the list of Linux - I would add FreeBSD, NetBSD, OpenBSD.
And if you know something more exotic (Windows, OS/2, OpenVMS, OpenSolaris, something else), then take it. True, finding a guru and / or community advice will be much more difficult.
Debian
CentOS
The choice generally depends on the software that you will host. Some packages have OS requirements.
And it doesn't matter, install nginx, add php-fpm or net core and go.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question