Good day.
I want to clarify the next question. I am just starting to develop websites using PHP and I would like to have a deployment server on a local virtual machine. What is better to use for this? What to know to set it up the way I need? What articles / books on networks to read to understand their actions?
The picture seems to me to be the following - locally (for example, in the virtual box ) ubunt is installed (again, let's say), there is apache/php/mysql , I open my virtual box machine’s ip in the browser and get the Apache response from there. At the same time for mysql use something like HeidiSQL with connection to a HeidiSQL , as to a remote server.
There are shared folders, that is, I can develop on the client, and look already on the server. And the ideal option would be with git - I am developing something in the local repository, and uploading a branch to a remote virtual machine. Something like this.