1. Preparation work
Vmware10 and install the CentOS on the virtual machine.
2. Start Configuration
1, open VMware, click on the virtual machine to start, as shown in the network adapter to edit this
2, select Host-only mode
3, select Advanced, click the Generate button, click OK
4, start the system, right click on the image shown below the button
Select Edit Connections
Click Add
Select Creat
Follow the diagram below to select
Click Add to add, before you need to know your widows under VMware's use of IP, open windows under cmd execution ipconfig
According to my Computer configuration my first need to write 192.168.14.* the last one can be configured on its own, and then the second one to write 255.255.255.0, the third one to write 192.168.14.1,
You can take a look at their rules.
And then CentOS to open the Terminal execution Service network restart
In the execution of Ifconfig
To the end of this configuration.