0


kali更新源

打开kali kali自带源是国外的 。首先配置本地apt源]

进入root权限

1c66b62936d24937bb5d57c2e54ee0df.png

终端输入 vi /etc/apt/sources.list

按 “i” 进入编辑模式,把kali自带源用“#”注释掉73e3c88b9eba4d838b120b79b2b5a69c.png

复制下面源码 <**其中之一就好**> 粘贴到里面

#中科大

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


本文转载自: https://blog.csdn.net/weixin_68281676/article/details/126323219
版权归原作者 奈·Suriel 所有, 如有侵权,请联系我们删除。

“kali更新源”的评论:

还没有评论