Set CentOS7 network in vmware and vmwarecentos7 Network
In order to be able to use XShell to manage our installed CentOS7 system, we need to first set up the CentOS7 network so that it can be connected to the Internet.
1. select edit for vmware, and then click Virtual Network Editor 2. click Change settings (administrator privilege required). 3. select VMnet0 as the bridge mode, and select automatic or Nic 4. open "network and sharing center" and select "VMware Virtual Ethernet Adapter for VMnet8" Nic, right-click and select Properties, check VMware Bridge Protocol, and set ip to automatically get 5. set the network settings of the Virtual Machine and select NAT mode 6. enter the command cd/etc/sysconfig/network-scripts to reach the directory, and enter ls to view all files, vi open edit ifcfg-ens33 files. 7. Modify BOOTPROTO = dhcp and ONBOOT = yes. Enter I to enter the editing mode. After modification, click ESC and enter: wq to save and exit 8. enter service network restart to restart the network 9. enter ifconfig to check whether the network is successfully set. If the ip number is set, 10 is successfully set. use the XShell link CentOS 11 installed. link successful