重置root密码
su passwd root
- su:提升root权限
- passwd:修改账户密码
- root:管理员账户
更改镜像源
vim /ect/apt/sources.list
更换步骤
按“I”进入编辑模式——“#”把自带的源注释掉——复制以下源到文件当中——“Shift+zz”保存退出
- #清华大学源
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.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
更新系统和软件
- apt-get update
- apt-get upgrade
- apt-get dist-upgrade
- apt-get clean
系统更换中文
dpkg-reconfigure locales
- 选择:zh_CN.UTF-8 UTF-8——zh_CN.UTF-8
- 重启:reboot
🥰