赞
踩
vim /etc/apt/sources.list
//注释原来下载源,加入阿里源
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
apt-get update
apt-get upgrade
apt-get update
dpkg-reconfigure locales
reboot
apt install open-vm-tools
apt install open-vm-tools-desktop
vim /etc/network/interfaces #若想直接复制粘贴可用 leafpad /etc/network/interfaces,没有leafpad则先下载:apt install leafpad #尾部添加以下内容: auto eth0 iface eth0 inet static address xxx.xxx.xxx.xxx #(ip a查看,若查看为192.168.12.124,可填写192.168.12.xxx) netmask 255.255.255.0 gateway xxx.xxx.xxx.xxx #vmware虚拟网络编辑器中的Vmnet8里的网关保持一致,否则不能上网 #添加完成后保存退出 #重启网络: service networking restart 或者 systemctl restart networking #输入ip a查看ip是否为上一步中设置的值 #若仍为以前的旧ip,则输入以下内容: ip addr flush dev eth0 ifdown eth0 ifup eth0 #此时再次查看,ip即为设置值
从2022.1版本后,安装kali后,MySQL数据库,默认关闭且无密码
systemctl start mysqld #开启MySQL服务
systemctl enable mysqld #设置开机自启
考虑到安全问题,建议设置MySQL数据库密码
#最后千万别忘了拍摄快照,系统出问题可以通过“恢复到快照所在位置”来修复。#
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。