1.进入vim模式
进入终端,然后输入sudo su,在输入密码
然后输入下面的命令: vim /etc/apt/sources.list
2.国内源
-
# 官方源
-
# 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://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: