原因
我们在安装Ubuntu虚拟机时一般都会默认精简安装,这就导致Ubuntu的有些功能无法使用
解决方法
打开控制台,使用root用户依次执行以下命令
apt-get update
apt install net-tools #ifconfig
apt install inputils-ping #ping
我们在安装Ubuntu虚拟机时一般都会默认精简安装,这就导致Ubuntu的有些功能无法使用
打开控制台,使用root用户依次执行以下命令
apt-get update
apt install net-tools #ifconfig
apt install inputils-ping #ping