Loading

解决kali-2019.4中文乱码问题

1.加入更新源:

vim /etc/apt/sources.list

 任选一个源

#中科大
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://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
deb-src http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib

#官方源
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

2、更新源并更新软件。

root@kali:~#apt-get update && apt-get upgrade && apt-get clean

3、.在终端输入 

dpkg-reconfigure locales
进入图形界面,选中en_US.UTF-8 UTF-8和zh_CN.UTF-8 UTF-8(空格是选择,tab是切换,*是选中)并将en_US.UTF-8选为默认。

4、安装中文字体

root@kali:~#apt-get install xfonts-intl-chinese
root@kali:~#apt-get install ttf-wqy-microhei

5、重启

root@kali:~#reboot

posted @ 2020-01-20 13:25  Roc-xb  阅读(8)  评论(0编辑  收藏  举报

易微帮源码


易微帮官网