Kali Linux is an open - source, Debian - based Linux distribution developed and maintained by Offensive Security. It is specifically designed for advanced penetration testing and security auditing.
How to set up kali Linux in windows system?
1. Install VirtualBox and the Extension Pack.
2. Set up Kali Linux in VirtualBox and configure it.
3. (Optional) Install Visual Studio Code on Kali Linux.
===================
附录: 安装Anaconda (与kali Linux无关)
1. Download Anaconda:
1.1 Go to the official Anaconda website: https://www.anaconda.com/download.
1.2 Download the installer: Anaconda3-2021.05-Windows-x86_64.exe.
2. Install Anaconda:
2.1 Run the downloaded installer and follow the installation prompts.
2.2 During installation, ensure you check the option to Add Anaconda to PATH.
3. Verify Python and Install pywin32:
3.1 Run the following command to check if win32api is available:
#python -c "import win32api; print(win32api.GetVersion())"
3.2 If this fails, install pywin32:
#pip install pywin32
====================
一. Download and Install VirtualBox
1 Go to the official VirtualBox website: https://www.virtualbox.org/wiki/Downloads.
1.2 Download the installer for your operating system: VirtualBox-7.0.14-161095-Win.exe.
1.3 Run the downloaded installer and follow the installation prompts.
2. Install VirtualBox Extension Pack:
2.1 Download the Extension Pack: Oracle_VM_VirtualBox_Extension_Pack-7.0.14.vbox-extpack.
2.2 Open VirtualBox, go to File > Tools > Extension Pack Manager.
2.3 Click Install and select the downloaded Extension Pack file.
==============================
二、 Download and Set Up Kali Linux
1. Download Kali Linux:
1.1 Go to the official Kali Linux download page: https://www.kali.org/get-kali/.
1.2 Download the VirtualBox image: kali-linux-2024.4-virtualbox-amd64.7z.
2. Extract the Kali Linux Image:
2.1 Download and install 7-Zip (if not already installed): https://www.7-zip.org/.
2.2 Right-click the kali-linux-2024.4-virtualbox-amd64.7z file and select Extract Here.
2.3 After extraction, you should see a folder containing VirtualBox VM files (e.g., .vbox, .vmdk).
3. Import the Kali Linux VM into VirtualBox:
3.1 Open VirtualBox.
3.2 Go to Machine > Add. Browse to the extracted folder and select the .vbox file.
3.3 Click Open to import the VM.
4. Configure the VM:
4.1 Select the imported Kali Linux VM and click Settings.
4.2 Go to System > Motherboard and allocate 4 GB of RAM.
4.3 Go to System > Processor and allocate at least 2 CPUs.
4.4 Click OK to save the settings.
5. Start the Kali Linux VM:
5.1 Select the VM and click Start.
5.2 Log in using the default credentials:
5.2.1 Username: kali
5.2.2 Password: kali
6. Adjust Display Resolution (if needed):
6.1 Go to Display Settings in kali Linux and select a suitable resolution (e.g., 1920x1080 or 1280x720).
==================
三. Install Visual Studio Code on Kaii Linux
1.Download VS Code:
1.1 Go to the page: https://code.visualstudio.com/download.
1.2 Download the .deb package (for Debian/Ubuntu systems).
2. Install VS Code:
2.1 cd ~/Downloads
2.2 Install the .deb package:
#sudo dpkg -i code_*.deb
2.2.1 If there are missing dependencies, fix them with:
#sudo apt --fix-broken install
2.3 Launch VS Code:
#code
=================