📜  cent os 中没有网络 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:47.502000             🧑  作者: Mango

代码示例1
Add the following to /etc/sysconfig/network-scripts/ifcfg-enp0s3

DNS1=8.8.8.8
DNS2=8.8.4.4
# Note this was set to no
ONBOOT=yes