Virtual machine installation:
https://www.virtualbox.org/wiki/Downloads virtualbox download
https://www.vagrantup.com/downloads vagrant download
https://app.vagrantup.com/boxes/search vagrant mirror download
Open cmd and run vagrant init centos/7 to initialize a centos/7
You can boot by running vagrant up. It is slower for the first time. Suggestion: https://blog.csdn.net/padawan75/article/details/107520914
Run vagrant ssh to open the virtual machine whoami
Modify the virtual machine ip vagrantfile config.vm.network "private_network", ip: "192.168.56.10"
The ip of the virtual machine is not fixed, it is recommended to modify it and then test again to ping