2021kali_linux换国内源记录

背景

因为国外源太慢了,所以需要把kali源换成国内的

方法

对kali的软件源配置文件进行相应的更改即可完成换源。

  1. 用vim打开/etc/apt/sources.list: vim /etc/apt/sources.list
    2021kali_linux换国内源记录
  2. 把原有的配置注释掉,然后换成我们想换的国内源。
  3. :wq保存并退出
  4. 用国内源进行软件更新:
    apt-get update更新索引
    apt-get upgrade更新软件

国内的kali源

官方源
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://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
新加坡kali源
deb http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib
deb-src http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib
163 Kali源
deb http://mirrors.163.com/debian wheezy main non-free contrib
deb-src http://mirrors.163.com/debian wheezy main non-free contrib
上一篇:PotatoSunscr靶机渗透攻略 ----------hydra暴力破解实战训练


下一篇:Kali-Linux-2021.1 root登录