Preparing Ethical Hacking & Penetration Testing Environment – Kali Linux

Install and Configure Kali Linux

  1. Run below commands from powershell with Administrative rights

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

wsl –set-default-version 2

  1. Install from Window Store (Window 10)

  1. Install Kali Linux

run below scripts

sudo apt update && sudo apt upgrade

  1. Install Win-Kex

sudo apt update && sudo apt install kali-win-kex

  1. Open Kali Linux in a window mode or seamless mode

Window Mode

kex –win -s

Seamless mode

kex –sl -s

Note: If you encounter issue in Kali Linux GUI unable to enable networking, try the solution below.

https://stackoverflow.com/questions/62314789/no-internet-connection-on-wsl-ubuntu-windows-subsystem-for-linux#

Related Posts