diff --git a/Home.md b/Home.md index afc35e9..966ab6a 100644 --- a/Home.md +++ b/Home.md @@ -8,6 +8,31 @@ apt update -y apt install curl -y ``` +### 针对[DV](https://digitalvirt.com/)debian镜像中127.0.0.1无法使用的问题。 + +- cat /etc/network/interfaces + +``` +# network-config +auto lo +iface lo inet loopback + dns-nameservers 8.8.8.8 + dns-search local + +auto eth0 +iface eth0 inet static + address 10.0.11.2 + netmask 255.255.255.0 + gateway 10.0.11.1 +``` + +- 删除其中配置,重启即可正常使用了。 +``` +dns-nameservers 8.8.8.8 +dns-search local +``` + + ### 国内换源 ``` bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh)