centos6的網卡重啟方法:
service network restart
centos7的網卡重啟方法:
systemctl restart network
(推薦學習:linux視頻教程)
擴展知識:
DNS配置文件:
cat /etc/resolv.conf
設置主機和IP綁定信息:
cat /etc/hosts
設置主機名:
cat /etc/hostname
相關教程推薦:CentOS使用教程
centos6的網卡重啟方法:
service network restart
centos7的網卡重啟方法:
systemctl restart network
(推薦學習:linux視頻教程)
擴展知識:
DNS配置文件:
cat /etc/resolv.conf
設置主機和IP綁定信息:
cat /etc/hosts
設置主機名:
cat /etc/hostname
相關教程推薦:CentOS使用教程