準備virtualbox虛擬機以及kali鏡像文件。
1.百度搜索kali官網,下載iso鏡像文件到本地:
2.創建一個虛擬機,點開控制。
3.配置對應內存、cpu、顯卡設置
4.將準備好kali的iso鏡像文件添加到這裏。(要不然無法啓動)
5.啓動虛擬機,選擇適合的系統進行安裝。
6.老是報這個錯,百度解決,無法解決的話記住每次鼠標沖虛擬機裏面移到物理機的時候按兩下鍵盤右手邊的Ctril.
.
7.系統安裝完成,移除鼠標時候,按Ctrl鍵以後有提示。
8.通過設置共享文件夾,實現物理機和虛擬機的文件共享。
9.在計算機文件夾中可以找到共享的文件。media文件夾裏面
.
10.配置網絡以及命令更新就自己百度了。。。。改兩個配置文件就可以了
一、配置IP
編輯/etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5)。
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0 //指定eth0網卡
iface eth0 inet static //靜態地址(動態獲取用dhcp)
address 192.168.77.133 //IP地址
netmask 255.255.255.0 //子網掩碼
gateway 192.168.77.254 //默認網關
二、配置DNS
編輯/etc/resolv.conf
nameserver 8.8.8.8
nameserver 4.4.4.4
三、重啓網絡
#/etc/init.d/networking restart
或者
#service networking restart