The process of the configuration of static IP address in Ubuntu is as follows:

$ sudo vim /etc/network/interfaces

![](http://images0.cnblogs.com/blog2015/383115/201505/142304181266824.png)

2. ```
$ sudo vim /etc/resolv.conf

Config Static IP Address manually in Ubuntu

$ sudo vim /etc/resolvconf/resolv.conf.d/base

Add the following lines:

nameserver 159.226.7.254
nameserver 8.8.8.8


4. ```
$ sudo /etc/init.d/networking restart



References:

  1. Ubuntu系统下配置IP地址方法介绍
  2. Ubuntu14.04下如何配置固定IP

相关文章:

  • 2021-09-12
  • 2022-12-23
  • 2021-08-29
  • 2021-06-11
  • 2021-08-30
  • 2022-12-23
  • 2022-12-23
  • 2021-10-13
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-22
  • 2021-06-22
  • 2021-06-08
  • 2021-12-04
  • 2021-05-26
相关资源
相似解决方案