centOS7无法连接外网
解决办法:
vim /etc/resolv.conf
加入:
nameserver 8.8.8.8
nameserver 8.8.4.4
search localdomain
解决办法2:
systemctl restart network
2022-06-22 07:19:55
解决办法:
vim /etc/resolv.conf
加入:
nameserver 8.8.8.8
nameserver 8.8.4.4
search localdomain
解决办法2:
systemctl restart network