1:安装最小化Ubuntu访问外网,配置ssh,修改root密码
1:编辑网卡配置文件
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 inet loopback
# The primary network interface
auto enp96s0f0
iface enp96s0f0 inet static #设置静态IP
address 10.151.5.144 #IP
netmask 255.255.255.0 #子网掩码
network 10.15