新版kail解決中文亂碼問題
-
安裝環境
Debian 7 x64位
Vmware 15 Pro
-
更新軟件源
vi /etc/apt/sources.list #編輯源服務器的地址
添加軟件源
我們選擇阿里雲的源
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
按下Esc鍵 然後輸入 :wp! 保存退出
- 執行命令更新升級清理
apt-get update && apt-get upgrade && apt-get clean
- 安裝新字體
sudo apt-get install ttf-wqy-microhei ttf-wqy-zenhei xfonts-intl-chinese
-
更改默認編碼方式
窗口輸入dpkg-reconfigure locales進入圖形界面
選中en_US.UTF-8 UTF-8和zh_CN.UTF-8 UTF-8
空格是選中 選中後前面有*
然後TAB切換選項到左邊,回車
選中zh_CN.UTF-8 UTF-8 再次回車。
最後重啓看看是不是成功了
重啓命令:reboot