Linux/Unix
ubuntu 16.04 設定固定IP
Ubuntu 在安裝完成時會設DHCP 並自動取得 IP,但伺服器的IP位置不可能承受連不到的風險。 這時候可以透過文字介面來手動設定。 1.修改 Ethernet 網路設定 root@management:~# vim /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5).source /etc/network/interfaces.d/*# The loopback network interface auto lo iface lo