The latest version of kali linux installation tutorial in 2023

1. Preliminary preparation

Reminder in the front row, there is a green version of the installation package at the end of the article for free!

Two, VMware virtual machine configuration

1. Open vmware, click to create a new virtual machine

2. Select the custom (advanced) option, click Next

3. Continue to the next step

4. Select [Install the operating system later], and then click Next

5. Guest operating system Select [Linux], select [Debian] for the version, as for 64-bit or 32-bit, we choose the corresponding version according to the image, of course, you can also directly select 64-bit, after all, it is backward compatible. Secondly, we chose Debian because Kali Linux is a Debian-based Linux distribution, so we choose Debian, and after the selection is complete, continue to click Next 6. Name the

virtual machine: You can change the name of the virtual machine according to your preferences. It is best to choose a location other than the C drive. After finishing, click the next step

7. Processor configuration: configure reasonably according to your own needs and the hardware limitations of the computer. Here, I give 2 the number of processors and the number of cores of each processor, that is, the total number of processor cores. Got 4. After the completion, continue to click the next step

8. The memory of the virtual machine: here is also allocated according to your own needs. Then click Next

9. Network type: Here first select the second item [Use Network Address Translation (NAT)], and you can change it later, and then click Next 10. Click Next by

default

11. Continue to click Next

12. Select the disk : Choose to create a new virtual disk here, and then click Next

13. Specify the disk capacity: Also here, allocate it according to your needs. After allocating, select the bottom item [Split the virtual disk into multiple files], and then Next step

14. Click Next by default

15. Click Customize Hardware

16. In the hardware, first select [CD/DVD (IDE)] on the left, then click Use ISO image file, select Browse, and then select the ISO image downloaded in advance file, then click Close

17, then click Finish

3. At this time, the configuration of the virtual machine is completed, and then the Kali operating system can be installed directly

1. First click [Start this virtual machine]
2. Click [I have completed the installation] to remove the yellow box below

3. Select Graphical install (graphical installation)

4. Select [Chinese (Simplified)-Chinese (Simplified) ], then click Continue

5. Select China and continue

6. Select language and continue

7. Wait for a while

8. 【Configure Network】Enter a host name here, and then continue

9. 【Set Username and Password】Enter an ordinary user account here 10.

[Set Username and Password] Here, enter the username of an account, and remember the username, and then continue

11. [Set Username and Password] Here, set a password for the user just now, and then continue

12. [Disk Partition] Here, select [Wizard-Use Entire Disk], and then continue. 13. [Disk Partition], keep the default

and continue.

Put the files in the same partition (recommended for beginners)], then continue to

15, [Partition the disk] Here we choose the option of [End partition setting and write the modification to the disk], and then click to continue

16, [Partition the disk] Partitioning] Here we select [Yes] and continue

17. Keep the default here, click to continue directly

18. Wait patiently, it will take a long time

19. Install GRUB boot loader] Select [Yes] and click to continue

20. [Install GRUB Start the bootloader] You must select /dev/sda here, and then continue to

21. After the installation is complete, click Continue

4. Enter the Kali system

1. Enter the user name and password just now and click Login to enter the desktop

2. Enter the desktop to use Kali

5. Add root user and password

1. Open the terminal and enter the [sudo -i] command in it

sudo -i		#Linux终端命令下改变用户对命令使用权限的命令


2. Enter the login password of the login user, then press Enter, and then enter the command [passwd root]

passwd root		#这条命令表示修改root用户的密码


3. Then enter the new root password and press Enter. Note that the entered password will not be displayed. Then re-enter the new root password, and then press Enter to modify the password of the root user.

4. Restart

5. Enter the user name root and password to enter the system as a super administrator.

Sixth, set the snapshot

1. Shut down the virtual machine first, and then click an icon like a wrench below the table in the figure below on the interface before starting the virtual machine, click it 2. First select the current location, and then click to take a snapshot 3. Then fill in

the

snapshot Name and description, here we need to emphasize that it is recommended to write the user name and password of the system in the description to prevent later forgetting. After completing the filling, click to take a snapshot, so that the snapshot is set.

4. When you want to return to a previous state, you only need to select the state you want to return to, then click Go, and then confirm Yes to restore to A certain state saved before is clicked


The advantage of this is that it avoids the need to reinstall the system in the later period due to problems, and saves the steps and time of reinstalling the system.

Seven, apt update and operation


Enter the super administrator user:

sudo apt install open-vm-tools-desktop -y

8. Change the source warehouse of kali

Because the official source of kali is foreign, it will be slower; here it is recommended to use Tsinghua source

deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-freedeb-src
https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free

sudo vim /etc/apt/sources.list

9. How to share kali Linux files to physical machines

1. Create a shared folder on the physical machine

2. Start the kali system, open the menu bar—virtual machine——settings——options——

3. Select the shared path

4. Enable this share

5. Then you can verify that there is this file in the Kali system

6. The solution to the fact that there is no share folder in the /mnt/hgfs directory in vmware

vmhgfs-fuse .host:/ /mnt/hgfs -o nonempty -o allow_other 
#第一条执行不了的话执行下面这条
vmhgfs-fuse .host:/ /mnt/hgfs

9. Learning materials sharing

You can scan the QR code in the lower right corner to get the green installation package and more network security-related content in the above article for free!

Guess you like

Origin blog.csdn.net/BlueSocks152/article/details/128682820