The picture below is the problem I encountered when I typed the LInux command on the remote tool, as shown in the picture below:
Cause: The corresponding software package is not installed. In this picture, net-tools is not installed , so the solution is to install net-tools .
The installation command is:
yum install net-tools #虚拟机要能与外网连通,才能下载安装,不然会出现无法连接镜像等的问题
It is as shown below:
So, problem solved! This method can also be used for similar problems. It is very important to learn to draw inferences from one instance!