First install the Linux system, I use the virtual machine installation to do the example, first to download Vitualbox, this is an open-source virtual machine software, https://www.virtualbox.org official website address. or vmware,www.vmware.com, but the software is charged. And, of course, to download a Linux image, I downloaded the CentOS 7 system, Https://www.centos.org/download
After downloading the virtual machine, I use VMware and choose to create a custom virtual machine:
Continue to the next step:
Click Done.
When you see this interface, click the CD/DVD (IDE):
Click on select disc image to put the downloaded CentOS 7 system in:
Then go back to the previous page and click on Startup disk:
Select CD/DVD, and then click Restart:
You can see that the photographed image file is already loaded, select the first installation:
Select language, Continue,
This thing has to go in first, and then keep it.
Comrades who want to surf the internet do not forget to open the network:
This is the time to install, install the root password and user account password settings:
After the setup is complete, we can wait patiently ...
OK, restart the system, log in to the root account, you can also login to your own set up user accounts, is not very cool.
Then you can install a variety of software ... Of course, we first do the business, first look at the network there is no problem, enter the ping www.baidu.com:
OK, no problem, then start installing PHP.
Linux + Nginx + Mysql + PHP Environment Setup