Pitfalls and networking problems encountered in installing virtual machine CentOS system

Time:2020-10-23
  1. Holes encountered in installing virtual machine CentOS system
    The virtual machine I installed is version 15.0 of VMware. I encountered some problems during the installation of CentOS system, which has troubled me for a long time.
    Centos7 was installed at the beginning. After the installation, the black screen appeared. Locking this configuration file in exclusive mode failed to work. Some problems such as network failure, etc. For these problems, I have found many solutions on the Internet, and have solved them one by one. But the next time I start the virtual machine again, these problems will happen again. Then I don’t want to continue, so I uninstall the virtual machine (many times).
    As a result, I downloaded cnetos6.5. After the installation, I couldn’t get the IP and networking problems (I couldn’t Ping with the physical machine).
  2. Solve the problem that IP can’t be obtained
    Enter ifconfig to get the address resolved by IPv6. (I modified the configuration, but failed to get the IPv4 address, so I used the following method)
    Solution: edit / virtual network editor / restore default settings
  3. Solving networking problems
    My choice of network connection mode is: Nat mode
    My problem: the virtual machine can ping the host, but the host can’t Ping the virtual machine.
    Solution: check “connect host virtual adapter to this network” in edit / virtual network editor.
    Pitfalls and networking problems encountered in installing virtual machine CentOS system
    If you can’t check it, download the content of CCleaner to repair the registry. The first step is to clean up the memory usage (cleaner), and the second step is to scan the registry vulnerability and fix it.
    Pitfalls and networking problems encountered in installing virtual machine CentOS system
    Pitfalls and networking problems encountered in installing virtual machine CentOS system
    Then you can check it and the networking problem will be solved.