Install Kali 2022 in VMware Workstation

Install Kali 2022 in VMware Workstation

foreword

The work has started, the related tools in the notebook should be updated, record it today.
The first thing to record is to install kali in VMware Workstation, which is a relatively simple process.
I just want to expand my blog and give beginners a reference.

download

Download the kali iso image:
insert image description here
now it is version 2022.4, choose a different version and path.
VMware Workstation download and installation process: omitted

Install

Create a new virtual machine

Use the New Virtual Machine wizard.
insert image description here
Typical settings are fine.
insert image description here
Optionally install the operating system later.
insert image description here
Linux, Ubuntu (not really relevant).
insert image description here
Set the name and storage location of the virtual machine. The location is recommended to be a larger partition of the solid-state hard drive. Using kali for a long time takes up a lot of space.
insert image description here
The disk size is the maximum space occupied.
Choose to store as a single file, the performance of a single file is good, and the current copy speed is also very good, so splitting is not considered.
insert image description here
After clicking Finish, click Edit, adjust the cpu, memory, network card (if there is a network during the installation process, the software package will be downloaded, you can set the network card mode, bridge or NAT according to the environment in advance), and delete unnecessary peripherals.
The dvd is set to browse to the downloaded iso image.
insert image description here
It should be noted that in the display part, it is recommended to uncheck the accelerated 3D graphics.
This option consumes more memory, especially when multiple virtual machines are running at the same time. Also mentioned in my other articles.
Make sure to start the virtual machine later.

install kali

insert image description here
Use the default first option, graphical installation,
insert image description here
follow the wizard step by step, set the host name, domain name, create users, set passwords, etc.
insert image description here
This step can also be used by default, advanced users can set to use lvm (logical volume management), or manually divide the partition.
insert image description here
Whether to mount the home and other folders separately to the partition.

insert image description here
Finally, confirm that it is correct and click Continue.
insert image description here
Whether to write the changes to the disk, the default cannot be used, and you must click: Yes.
Then click Continue.
insert image description here
The software selection interface can be defaulted. In fact, the first and fifth items will be useless if you look at the content. The last 2 items are recommended to be installed.
As for which desktop environment you prefer to use, Xfce is the default and takes up less resources. GNOME and KDE are slightly larger, and KDE is very similar to Windows.
insert image description here
This step is not default, you need to select the device installed by grub, and select /dev/sda.
insert image description here
After the installation is complete, click Continue to restart the system.

use

VMware Tools

I don’t know whether this version of kali comes with it or it was downloaded and installed during the installation process. Anyway, after the virtual machine is installed, the tools are also installed, and there is no problem in dragging files and dragging the mouse.
Through the command, you can see that Open-vm-tools is installed.
insert image description here
If you want to replace it with VMware tools, you need to delete Open-vm-tools.

root user

In the past, kali only had root users by default, because many tools required root privileges to execute, and the users were experienced personnel, so they didn’t need to take off their pants and fart.
I don't know which version starts, but by default, the general user logs in, and I don't know the password of the root account.

We can use ordinary users to log in, use sudo su to switch to root after logging in, and use passwd to change the root password, so that we can use root to log in.

ssh

During use, you may need to log in to kali with ssh, and use systemctl to modify the service status.

systemctl command help:
start service: systemctl start name.service
stop service: systemctl stop name.service
restart service: systemctl restart name.service
service status: systemctl status name.service
service reload: systemctl daemon-reload

Modify the ssh configuration file to allow the root user to log in (this item is risky, not necessary)
vi /etc/ssh/sshd_config
to find /Permit

insert image description here
1yy copy the above line, p to the bottom, x deletes the comment, dw deletes the following word, and changes the latter to yes.

systemctl status name.service
It can be seen that the original ssh is in the disabled state, and it is changed to the enable state to automatically start at boot.
Start the service with the start command.
insert image description here
You can see the successful startup, use the terminal to log in:
insert image description here

system update

Generally, a system update is required after installation.
apt update && apt upgrade.

Guess you like

Origin blog.csdn.net/imtech/article/details/128815742