解決CentOS-7 ifconfig:command not found

最小模式安裝的CentOS-7在使用ifconfig命令查看ip時會出現-bash: ifconfig:command not found。 使用yum安裝net-tools來解決: yum install net-tools 或者 yum install net-tools -y -y:表示在安裝過程中不需要按y進行確認 看到Complete,說明安裝成功。 再次使用ifconfig查看ip:
相關文章
相關標籤/搜索