• 【转】Kali更新源


    1.切换到root用户(如果已经是root用户就直接看第二步)

    dnt@Kali:~$ su
    

    2.用vim打开sources.list,手动添加下面的更新源

    root@Kali:~# vim /etc/apt/sources.list
    

    3.添加完毕后执行下面的更新指令,进行系统或者工具的更新

    root@Kali:~# apt-get update && apt-get upgrade && apt-get dist-upgrade 
    

    先确定自己是什么版本:

    lsb_release -a
    

    ---------------------------------Kali 2.0 ---更新源-----------------------------------

    kali-rolling版本:(中科大的就够用了,个人按需吧)

    #中科大
    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
    
    #官方源
    #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
    
    

    sana版本:(其实你把上面的版本都改成sana就可以了)

    #科大的云
    deb http://mirrors.ustc.edu.cn/kali sana main non-free contrib
    deb-src http://mirrors.ustc.edu.cn/kali sana main non-free contrib
    deb http://mirrors.ustc.edu.cn/kali-security sana/updates main contrib non-free
    
    
    #阿里云
    deb http://mirrors.aliyun.com/kali sana main non-free contrib
    deb-src http://mirrors.aliyun.com/kali sana main non-free contrib
    deb http://mirrors.aliyun.com/kali-security sana/updates main contrib non-free
    

    ----------------------------------Kali 1.0--更新源-------------------------------------

    #官方源
    deb http://http.kali.org/kali kali main non-free contrib
    deb-src http://http.kali.org/kali kali main non-free contrib
    deb http://security.kali.org/kali-security kali/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
    
    
    #上海交大 Kali源 (比较慢,直接忽略)
    #deb http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
    #deb-src http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib 
    #deb http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib 
    #deb-src http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib 
    #deb http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib 
    #deb-src http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
    
    

    -------------------------------------这个是我的sources.list(64位kali)----------------------------------------

    
    #
    
    # deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150312-17:50]/ kali contrib main non-free
    
    #deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150312-17:50]/ kali contrib main non-free
    
    deb http://http.kali.org/kali moto main non-free contrib
    deb-src http://http.kali.org/kali 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
    
    

    From: http://www.cnblogs.com/dunitian/p/4712852.html

  • 相关阅读:
    IO复用三种方式
    sql server如何通过pivot对数据进行行列转换(进阶)
    sql server排序规则冲突问题解决
    sql server如何通过pivot对数据进行行列转换
    sql server如何通过排序控制insert into ... select ... 语句的记录插入顺序
    sql server如何用不同语种语言显示报错的错误消息
    Python编程求解第1天1分钱之后每天两倍持续一个月的等比数列问题
    sql server临时删除/禁用非聚集索引并重新创建加回/启用的简便编程方法研究对比
    sql server通过临时存储过程实现使用参数添加文件组脚本复用
    sql server重建全库索引和更新全库统计信息通用脚本
  • 原文地址:https://www.cnblogs.com/litlife/p/7680538.html
Copyright © 2020-2023  润新知