天天看點

-bash: ifconfig:command not found

(1)   為centos7開啟網卡,cd /etc/sysconfig/network-scripts,vi ifcfg-eno16777736,

(2)   将檔案中的“ONBOOT=no”為“ONBOOT=yes”,使用:wq指令儲存,

(3)   傳回指令行,輸入:service network restart,

(4)   再輸入:yum install net-tools,安裝網絡工具。

繼續閱讀