Kali Linux更新源以及设置中文

时间:2021-06-06 17:57:37

在终端输入

gedit /etc/apt/sources.list

复制下列源替换原有的

#官方源
deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free
 
deb-src http://http.kali.org/kali sana main non-free contrib
deb-src http://security.kali.org/kali-security sana/updates main contrib non-free
#阿里云Kali源
deb http://mirrors.aliyun.com/kali kali main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali main non-free contrib
deb http://mirrors.aliyun.com/kali-security kali/updates main contrib non-free

刷新系统和安装更新

apt-get update && apt-get dist-upgrade -y

官方虚拟机包运行可设置系统语言为中文

echo LANG="zh_CN.UTF-8" > /etc/default/locale