kail 更新源

更新源

https://jingyan.baidu.com/article/454316ab6fb11af7a7c03ae0.html

 

进入源文件进行修改   vim  leafpad /etc/apt/sources.list

复制代码
(其实系统本身就自带了更新源,去掉其注释也是可以的,现在官方源的下载速度也还ok,下面的三选一亦可)
#kali官方源 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 http://mirrors.ustc.edu.cn/kali kali-rolling main contrib non-free deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main contrib non-free deb http://mirrors.ustc.edu.cn/kali-security kali-current/updates main contrib non-free deb-src http://mirrors.ustc.edu.cn/kali-security kali-current/updates main contrib non-free #阿里云源 deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib deb http://mirrors.aliyun.com/kali-security/ kali-rolling main contrib non-free deb-src http://mirrors.aliyun.com/kali-security/ kali-rolling main contrib non-free
复制代码

apt-get update

apt-get upgrade

apt-get dist-upgrade

apt-get clean

 

然后安装docker:aqt-get install docker.io

posted @ 2020-01-28 19:41  Res0lve  阅读(258)  评论(0编辑  收藏  举报