kali2020 网络配置 中文字体

网络配置  vi /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


auto eth0
iface eth0 inet static 
address 192.168.147.11
gateway 192.168.147.2
netmask 255.255.255.0

DNS  vi /etc/resolv.conf 

localdomain
nameserver 8.8.8.8
nameserver 223.5.5.5
nameserver 114.114.114.114

重启网络 service networking restart 

重启主机

eth0,eth1,eth2……代表网卡一,网卡二,网卡三……

lo 代表 127.0.0.1,即localhost

换源

#中科大
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
#阿里云
#deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
#deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
#清华大学
#deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
#deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
#浙大
#deb http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
#deb-src http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
#官方源
#deb http://http.kali.org/kali kali-rolling main non-free contrib
#deb-src http://http.kali.org/kali kali-rolling main non-free contrib

配置源

vi /etc/apt/sources.list

更新软件包和清除旧软件缓存

apt update && apt-get clan

安装中文字体

apt-get install ttf-wqy-zenhei

稍等

猜你喜欢

转载自www.cnblogs.com/aidata/p/12690525.html
今日推荐