Kali安装后更新配置

使用官方的更新源使自己的Kali更加强大

  • 1.在百度上找到Kali的更新源(自己决定用哪些就好)
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    # kali官方源
    deb http://http.kali.org/ moto main non-free contrib
    deb-src http://http.kali.org/ moto main non-free contrib

    deb http://security.kali.org/ moto/updates main contrib non-free
    deb-src http://security.kali.org/ moto/updates main contrib non-free

    #中科大kali源
    deb http://mirrors.ustc.edu.cn/kali kali main non-free contrib
    deb-src http://mirrors.ustc.edu.cn/kali kali main non-free contrib
    deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free

    #新加坡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
    deb http://security.kali.org/kali-security kali/updates main contrib non-free
    deb http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free
    deb-src http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free

    #阿里云kali源
    deb http://mirrors.aliyun.com/kali kali main non-free contrib
    deb-src http://mirrors.aliyun.com/kali kali main non-free contrib
    deb http://mirrors.aliyun.com/kali-security kali/updates main contrib non-free

    #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
    deb http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib
    deb-src http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib
    deb-src http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
    deb http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
    #auto
    deb 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.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

    #重庆大学
    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://http.kali.org/kali kali-rolling main non-free contrib
    #deb-src http://http.kali.org/kali kali-rolling main non-free contrib
  • 2.打开一个文档的命令:Leafpad 或者 vim
  • 3.用命令行打开etc/apt/sources.list 文件
  • 4.将更新源的内容复制到锁打开的文件夹中
  • 5.使用安装命令安装更新

    apt-get update
    apt-get install
    apt-get dist-upgrade
    

具体使用的一些命令安装过程中命令行会进行提示

-------------本文结束感谢您的阅读-------------
0%