Debian8系统如何使用vi命令修改hosts文件
时间:2024/5/12 19:25:00 来源:米安网络 作者:云主机配置专家 点击:241次
debian8系统如何使用vi命令修改hosts文件?本教程以debian8系统为例
本配置适用于debian8,9版本
1.先进入hosts文件vi /etc/hosts
修改如上 127.0.0.7 www.wenqin.com(这个网站只是个例子不是唯一,具体可以看需求网站)
保存完后重启网络即可生效
/etc/init.d/networking restart
版权保护: 本文「Debian8系统如何使用vi命令修改hosts文件」由 云主机配置专家 原创,转载请保留链接: https://www.miandns.com/docs/system/1291.html