Debian系统如何在终端修改IP地址和DNS服务器

经常带着笔记本去机房处理服务器故障,特别是去处理一些Linux系统的故障,一般都需要在终端下进行相关的操作。每个机房的网络环境肯定是不同的,这就需要我们手动指定Debian系统的IP地址以及DNS服务器地址。

Debian系统的IP地址是通过两个配置文件进行设置的。IP地址配置文件为: /etc/network/interface DNS服务器配置文件为: /etc/resolv.conf

发表评论?

1 条评论。

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>