• kali的更新源


    先安装的系统最好更新更新

    apt-get update

    apt-get upgrade

    因为默认会去国外的网站去下载。。。。慢 为了速度 可以修改更新源 vim /etc/apt/sources.list

    下面这位博客有很多的 再次感谢 

    http://www.cnblogs.com/Hi-blog/p/5955113.html

    原文链接http://www.cnblogs.com/dunitian/p/4712852.html

    kali2.0官方下载地址: https://www.kali.org/downloads/

    可能有奇效: 

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

    一、源列表

    -----------kali2.0的更新源------------

    复制代码
    #科大源
    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
    复制代码

    -----------kali1.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
    复制代码

    -----------附上比较好用的kali源 64bits------------

    复制代码
    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
    复制代码

    二、打开sources.list,将以上对应的源添加到源列表中(可以注释或删除掉之前的内容)

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

    三、系统更新

    复制代码
    root@kali:~# apt-get update && apt-get upgrade && apt-get dist-upgrade
    Hit:1 http://mirrors.aliyun.com/kali sana InRelease
    Hit:2 http://mirrors.aliyun.com/kali-security sana/updates InRelease
    Reading package lists... Done                      
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    复制代码

    [注]kali2.0 阿里的源好用些,最后一步更新需要root权限,可使用: sudo -i

  • 相关阅读:
    ExtJS5入门
    时间序列异常检测
    RNN实例
    数据清洗入门
    异常检测LOF
    sklearn异常检测demo
    孤立森林(Isolation Forest)
    WCF初见之SQL数据库的增删改查
    NHibernate与EF(Entity Framework)的区别
    解决IIS7虚拟目录出现HTTP 错误 500.19(由于权限不足而无法读取配置文件)的问题
  • 原文地址:https://www.cnblogs.com/lanjianhappy/p/7113344.html
Copyright © 2020-2023  润新知