Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

VMware kali virtual machine environment configuration method

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

| 1 | 0 compiles kernel |

(1) execute the command uname-r to view the kernel version.

(2) execute the command apt-cache search linux-headers to see if kernel header files are installed.

(3) if uname-r appears in the lookup kernel header file, then there is no need to install the kernel, if not, enter the following instructions to install.

Apt-get install linux-headers-$ (uname-r)

| 2 | 0 install VMware Tools |

Tar zxpf VMwareTools-x.x.x-yyyy.tar.gzcd vmware-tools-distribsudo. / vmware-install.plreboot

Or

Apt-y-reinstall install open-vm-tools-desktop fusereboot

| 3 | 0 update source |

(an error in the update source may be a network problem)

Leafpad / etc/apt/sources.list# deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contribdeb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib# Aliyun deb http://mirrors.aliyun.com/kali kali-rolling main non-free contribdeb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib# deb http://mirrors.tuna.tsinghua.edu of Tsinghua University .cn / kali kali-rolling main contrib non-freedeb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free# deb http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-freedeb-src http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free# official source deb http://http.kali.org/kali kali-rolling main non-free contribdeb-src http://http.kali.org/kali kali-rolling main non-free contrib

| 4 | 0 update |

Apt-get update reports errors using apt-get update-- fix-missing updates index apt-get upgrade updates apt-get dist-upgrade when there is a large version of the use

Other commands

Sudo apt-get autoclean cleaning system garbage sudo apt-get clean cleaning old version of software cache sudo apt-get autoremove cleaning all software cache sudo nautilus / boot removing orphaned software execution that is no longer used by the system

| 5 | 0 Chinese input method |

Apt-get install fcitxapt-get install fcitx-googlepinyinreboot

| 6 | 0 displays the network speed netspeed |

Https://extensions.gnome.org/#

| 7 | 0 network configuration |

Dhclient eth0 eth0 API gets IP address configuration temporary address (reboot will reacquire ifconfig eth0 192.168.1.1 + 24 ehh0 configuration IP address route add default gw 192.168.1.1 set default route echo nameserver 192.168.1.1 > / etc/resolv.conf write dns server address permanent configuration address (static address) cat / etc/network/interface

Auto eth0

Iface eth0 inet static

Address 192.168.20.1

Netmask 255.255.255.0

Network 192.168.20.0

Broadcast 192.168.20.255

Gateway 192.168.20.2

Dns-nameservers 192.168.1.1 192.168.1.2

Up route add-net 172.16.5.0 eth2 24 gw 192.168.10.100 Network Card starts writing

Delete when down route del-net 172.24.0.0 Compact 24 is closed

8 | 0ssh setting

Vi / etc/ssh/sshd_config

(1) add a line of PermitRootLogin yes

(2) delete the comment number of PasswordAuthentication yes

(3) start ssh / etc/init.d/ssh start

(4) check whether the SSH service status is running etc/init.d/ssh status normally.

Summary

The above is the VMware kali virtual machine environment configuration method introduced to you by the editor. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply you in time. Thank you very much for your support to the website!

If you think this article is helpful to you, you are welcome to reprint it, please indicate the source, thank you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report