打开kali kali自带源是国外的 。首先配置本地apt源]
进入root权限
终端输入 vi /etc/apt/sources.list
按 “i” 进入编辑模式,把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.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://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
:wq ** 保存退出**
更新系统和软件:apt-get update && apt-get upgrade
开启阿帕奇 : service apache2 start
查看阿帕奇状态 : service apache2 status
关闭阿帕奇 : service apache2 stop
问题:
**1. VMtools已安装 但是不能复制粘贴**
解决办法: 1、用winscp
2、更新系统和软件:apt-get update && apt-get upgrade
编辑kali源 (可不用) vi /etc/apt/sources.list
3、安装vmtools: apt-get install open-vm-tools-desktop fuse
4、重启: reboot
** 2. 签名无效或者失效**
解决办法: 下载签名: wget archive.kali.org/ archive-key. asc
安装签名: apt-key add archive-key. asc
版权归原作者 奈·Suriel 所有, 如有侵权,请联系我们删除。