Settings after kali is installed in VMWare
1. Change apt source to Alibaba Source
Root @ jiaduobao :~ # Vim/etc/apt/sources. list
Add the following content:
Deb http://mirrors.aliyun.com/kali kali main non-free contrib
Deb-src http://mirrors.aliyun.com/kali kali main non-free contrib
Deb http://mirrors.aliyun.com/kali-security kali/updates main contrib non-free
2. install linux-header to prepare for installing vmtools below
Apt-get install gcc make linux-headers-$ (uname-r)
Ln-s/usr/src/linux-headers-$ (uname-r)/include/generated/uapi/linux/version. h/usr/src/linux-headers-$ (uname-r)/include/linux/
3. Install VMTools
Tar zxvf VMwareTools *
Cd vmware-tools-distrib/
/Vmware-tools-install.pl
4. Quick Search Settings in MSF
Root @ jiaduobao :~ # Insserv postgresql
Root @ jiaduobao :~ # Insserv metasploit
Restart the computer to enter metasploit and execute the following command. Then, wait for a while and wait for reconstruction.
Msf> db_rebuild_cache
Run the following command to view the status:
Msf> db_status
[*] Postgresql connected to msf3
Msf>