原因
我們在安裝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