Debian系统设置
配置默认编辑器:update-alternatives --config editor
配置IP:
sudo 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
allow-hotplug eth0
#iface eth0 inet dhcp
auto eth0
iface eth0 inet static
address 192.168.1.101
netmask 255.255.255.0
gateway 192.168.1.1
或
iface enp4s0 inet static
address 192.168.1.68/24
gateway 192.168.1.253
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 202.101.172.35
本文来自博客园,作者:源世,转载请注明原文链接:https://www.cnblogs.com/jsxzhub/articles/15208814.html
浙公网安备 33010602011771号