1.更换更新源
打开终端,输入下边命令打开更新源的文件
vim /etc/apt/sources.list
在文件结尾加入下边更新源,选择其中一条就行
#aliyun 阿里云
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
# ustc 中科大
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.ustc.edu.cn/kali-security kali-current/updates main contrib non-free
#deb-src http://mirrors.ustc.edu.cn/kali-security kali-current/updates main contrib non-free
# kali 官方源
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
# 默认的,可以注释掉不用管
#deb http://security.kali.org/kali-security kali-rolling/updates main contrib non-free
#deb-src http://security.kali.org/kali-security kali-rolling/updates main contrib non-free
然后运行更新源并更新软件,此处大概等个几分钟。
apt-get update && apt-get upgrade && apt-get clean
2.默认语言选择
在命令行输入
dpkg-reconfigure locales
进入选择语言的图形化界面之后,(空格是选择,Tab是切换,*是选中),选中en_US.UTF-8和zh_CN.UTF-8,确定后,将en_US.UTF-8选为默认。
图为初始界面,界面下选项,可以下拉,排序为从a-z排序
敲回车键进入下一步
3.安装中文字体
apt-get install xfonts-intl-chinese
apt-get install ttf-wqy-microhei
4,重启,完成
reboot
本文来自投稿,不代表博客主立场,如若转载,请注明出处:https://www.bokezhu.com/2020/06/09/669.html