code学习

Linux——Kali更新源(常用镜像源已列出)

Linux——Kali更新源(常用镜像源已列出)

????????‍????博主介绍:大家好,我是芝士味的椒盐,一名在校大学生,热爱分享知识,很高兴在这里认识大家????

????擅长领域:Java、大数据、运维、电子

????????如果本文章各位小伙伴们有帮助的话,????关注+????????点赞+????评论+????收藏,相应的有空了我也会回访,互助!!!

  • 更新指令

    ​apt-get update apt-get upgrade ​

  • 更换kali最新国内更新源sources.list

    打开sources.list文件命令:

    ​leafpad /etc/apt/sources.list ​

    ​添加以下更新源:

    ​#中科大 deb <http://mirrors.ustc.edu.cn/kali> kali-rolling main non-free contrib deb-src shttp://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://mirrors.163.com/debian/> jessie main non-free contrib deb <http://mirrors.163.com/debian/> jessie-updates main non-free contrib deb <http://mirrors.163.com/debian/> jessie-backports main non-free contrib deb-src <http://mirrors.163.com/debian/> jessie main non-free contrib deb-src <http://mirrors.163.com/debian/> jessie-updates main non-free contrib deb-src <http://mirrors.163.com/debian/> jessie-backports main non-free contrib deb <http://mirrors.163.com/debian-security/> jessie/updates main non-free contrib deb-src <http://mirrors.163.com/debian-security/> jessie/updates main non-free contrib ​

    ​保存后执行:

    ​apt-get update # 取回更新的软件包列表信息 apt-get upgrade # 进行一次升级 apt-get clean # 删除已经下载的安装包 reboot #重启 ​