Debian系统配置
中文语言环境
- 查看系统环境
locale
- 生成中文语言环境
locale-gen zh_CN.UTF-8
- 配置系统语言
dpkg-reconfigure locales
- 更改默认环境变量
source /etc/default/locale
- 再次检查语言环境
locale
apt代理
nano /etc/apt/apt.conf.d/99proxy
1 |
|
网络配置
- 查看网络接口
ip addr
- 编辑接口配置
▶vim /etc/network/interfaces
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18# 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
# DHCP自动获取
allow-hotplug ens192
iface ens192 inet dhcp
# 静态IP地址
allow-hotplug eno1
iface eno1 inet static
address 172.16.31.180/24
gateway 172.16.31.254
dns-nameservers 223.5.5.5
Debian系统配置
http://example.com/2024/11/16/Debian系统配置/