1.10 kali虚拟机安装
作者:互联网
1.10 kali虚拟机安装
kali虚拟机
1.配置环境步骤:
解压——ls——tar -zxvf VM+tab——ls——cd vm+tab——./vm+tab
2.网络:
IP配置 /etc/network/interfaces
auto eth0 //指定eth0网卡
iface eth0 inet static //静态地址(动态获取用dhcp)
address 192.168.115.133 //IP地址
netmask 255.255.255.0 //子网掩码
gateway 192.168.115.2 //默认网关
DNS配置 /etc/resolv.conf
nameserver 192.168.115.2
**重启命令:/etc/init.d/networking restart
service networking restart
3.更新源:
apt-get install wget
wget archive.kali.org/archive-key.asc
apt-key add archive-key.asc
apt-get update&&apt-get upgrade
4.Kali-Linux 设置中文,汉化:
sudo vim /etc/apt/sources.list 换源
按 i 进入vim的编辑模式,用 # 把用来的注释掉,加阿里源
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
sudo apt-get update
sudo apt-get upgrade 有提示按y
sudo apt-get upgrade
sudo dpkg-reconfigure locales
选择en_US.UTF-8,zh_CN.GBK、zh_HK.UTF-8,选择HK
sudo apt-get install ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy
sudo reboot(重启)
标签:1.10,get,kali,虚拟机,sudo,apt,etc 来源: https://www.cnblogs.com/yxy2661/p/15795137.html