debian服务器增加kali源使服务器变成在线kali

打开sources.list文件
命令:

nano /etc/apt/sources.list
我的debian源配置

# See http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.html
# for how to upgrade to newer versions of the distribution.
deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main

## Major bug fix updates produced after the final release of the
## distribution.
deb http://security.debian.org/ buster/updates main
deb-src http://security.debian.org/ buster/updates main
deb http://deb.debian.org/debian buster-updates main

 

国内也可以添加以下更新源:

#中科大
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://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  #重启

2020年kali最新国内更新源sources.list

本文由 泓源视野 作者:admin 发表,其版权均为 泓源视野 所有,文章内容系作者个人观点,不代表 泓源视野 对观点赞同或支持。如需转载,请注明文章来源。

发表评论

Protected with IP Blacklist CloudIP Blacklist Cloud

您是第8237448 位访客, 您的IP是:[3.235.105.97]