一、网络配置
nmtui
nmcli connection add type ethernet con-name eth0 ifname eth0 \
ipv4.addresses 192.168.1.100/24 \
ipv4.gateway 192.168.1.1 \
ipv4.dns 8.8.8.8 \
ipv4.method manual
nmcli connection up eth0
nmcli connection modify eth0 ipv4.addresses "192.168.1.200/24"
nmcli connection down eth0 && nmcli connection up eth0