博客园 首页 私信博主 显示目录 隐藏目录 管理 动画

新 kali-linux 简单配置

网络:

# vim /etc/network/interfaces     

 

DNS:

vim /etc/resolv.conf

nameserver 114.114.114.114

nameserver 111.11.11.1

换源:

# vim /etc/apt/sources.list

官网kali源
deb http://http.kali.org/kali kali-rolling main contrib non-free
 
中科大kali源
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.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

阿里云kali源
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.aliyun.com/kali-security kali-rolling/updates main contrib non-free 
 deb-src http://mirrors.aliyun.com/kali-security kali-rolling/updates main contrib non-free

apt-get update 

 

# service networking  restart  

# systemctl restart networking.service

# /etc/init.d/networking restart

posted @ 2021-11-16 16:30  CHANG_09  阅读(62)  评论(0编辑  收藏  举报