在kali linux 被玩坏后

  1. 编辑sources.list文件并添加 kali 镜像源地址
leafpad /etc/apt/sources.list
# 

# deb cdrom:[Debian GNU/Linux 2018.4 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20181016-16:07]/ kali-last-snapshot contrib main non-free

#deb cdrom:[Debian GNU/Linux 2018.4 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20181016-16:07]/ kali-last-snapshot contrib main non-free

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
# kali官方源
deb http://http.kali.org/ kali-rolling main non-free contrib 
deb-src http://http.kali.org/ kali-rolling main non-free contrib

#中科大源
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
  1. 更新软件列表 并 下载更新
apt-get update
apt-get upgrade
  1. 安装中文输入法(小企鹅google拼音)
apt-get install fcitx-googlepinyin
  1. 重启
    ps: 如果使用的是笔记本的话最好不要在关机的同时尝试去拔笔记本的电源,可能会造成磁盘损坏

你可能感兴趣的:(在kali linux 被玩坏后)