Last Updated on October 12, 2020 by admin
Nowadays, the installation process of Linux has been very “easy”, just a few clicks of the mouse can complete the installation of the entire system. The installation of Kali Linux operating system is also very simple. This section will introduce the detailed process of How to install kali Linux to hard disk, USB drive, Raspberry Pi, VMware Workstation.
Install Kali Linux to hard disk
Installing to the hard disk is one of the most basic operations. The realization of this work allows users to run Kali Linux normally without using DVD. Before installing this brand new operating system, some preparations need to be done. For example, where did you get Linux? What are the requirements for computer configuration? …These requirements are listed below.
- The minimum disk space for Kali Linux installation is 8GB. For ease of use, it is recommended to save additional programs and files at least 25GB.
- The memory is preferably 512MB or more.
- The download address of Kali Linux is http://www.kali.org/downloads
The official website provides 32-bit and 64-bit ISO files. We will takes 32-bit as an example to explain the installation and use. After downloading the ISO file, burn the image file to a DVD disc. Then you can install Kali Linux to the hard drive.
(1) Insert the installation CD DVD into the CD drive of the user’s computer, restart the system, and you will see the interface as shown in Figure 1.2.
(2) This interface is the guide interface of Kali. Choose the installation method on this interface. Select Graphical Install (graphical interface installation), the interface shown in Figure 1.3 will be displayed.
(3) In this interface, select the default language of the installation system, and then click the Continue button to display the interface as shown in Figure 1.4.
4) Select your location “United States” on this interface, and then click the “Continue” button, the interface shown in Figure 1.5 will be displayed.
(5) In this interface, select the keyboard mode as “American English”, and then click the “Continue” button, the interface as shown in Figure 1.6 will be displayed.
This interface is used to set the host name of the system, here the default host name Kali is used (users can also enter the name of their own system). Then click the “Continue” button, the interface shown in Figure 1.7 will be displayed.
This interface is used to set the domain name used by the computer. The domain name entered in this example is kali.kalitut.com. If the current computer is not connected to the network, you don’t need to fill in the domain name, just click the “Continue” button, and the interface as shown in Figure 1.8 will be displayed.
Set user and password Say the user is WTS
Set the root user password on this interface, and then click the “Continue” button, the interface shown in Figure 1.9 will be displayed.
(9) This interface is for users to select partitions. Here select “Use the entire disk”, and then click the “Continue” button, the interface shown in Figure 1.10 will be displayed.
(10) This interface is used to select the disk to be partitioned. There is only one disk in the system, so the default disk is fine here. Then click the “Continue” button, the interface shown in Figure 1.11 will be displayed.
(11) This interface requires the selection of a partition scheme, and three schemes are provided by default. Here select “Place all files in the same partition (recommended for novices)”, and then click the “Continue” button, the interface shown in Figure 1.12 will be displayed.
(12) In this field, select “Partition setting ends and write changes to disk”, and then click the “Continue” button, the interface shown in Figure 1.13 will be displayed. If you want to modify the partition, you can select “Undo the modification of partition settings” on this interface to re-partition.
(13) Select the “Yes” check box on this interface, and then click the “Continue” button, the interface shown in Figure 1.14 will be displayed.
(14) Now start to install the system. Some information needs to be set during the installation process, such as setting up a network mirror, as shown in Figure 1.15. If the computer where the Kali Linux system is installed is not connected to the network, select the “No” checkbox on this interface, and then click the “Continue” button. Select the “Yes” check box here, and the interface shown in Figure 1.15 will be displayed.
(15) Set the HTTP proxy information on this interface. If you do not need to connect to the external network through an HTTP proxy, just click the “Continue” button, and the interface shown in Figure 1.16 will be displayed.
Figure 1.17 Is the GRUB boot loader installed on the master boot record (MBR)?
(19) Select the “Yes” check box on this interface, and then click the “Continue” button, the interface as shown in Figure 1.17 will be displayed.
The installation will continue at this time. After the installation process is completed, the system will automatically restart.
The Kali Linux USB drive provides the ability to permanently save system settings, permanent updates and install software packages on USB devices, and allows users to run their own personalized Kali Linux. Create a bootable Live USB drive of the Linux distribution on the Win32 Disk Imager, which includes persistent storage of Kali Linux. This section will introduce the steps to install Kali Linux to a USB drive.
Installing an operating system on a USB drive is a bit different from installing on a hard disk. Therefore, some preparations need to be done before installation. For example, where did you get Linux? The format of the USB drive? The size of the USB drive? …These requirements are listed below.
- A USB drive in FAT32 format with a minimum space of 8GB.
- A Kali Linux ISO image.
- Win32 disk imager (write image to U disk).
- Download Kali Linux from http://www.kali.org/downloads/
After the previous preparations are completed, you can install the system. The steps to install Kali Linux on a USB drive are as follows.
(1) Insert a formatted and writable USB drive into the Windows system. After insertion, the display interface is shown in Figure 1.23.
(2) Start Win32 Disk Imager, the startup interface is shown in Figure 1.24. In the Image File location, click the Folder icon to select the location of the Kali Linux DVD ISO image, and select the USB device where Kali Linux will be installed. The device in this example is I. After selecting the ISO image file and USB device, click the Write button to write the ISO file to the USB drive.
Check this article about: how install kali linux on usb
install kali Linux on raspberry pi
Raspberry Pi is an ARM-based microcomputer motherboard, with SD card as the memory hard disk. For portability, installing Kali Linux on the Raspberry Pi is a good choice. This section will introduce the installation of Kali Linux operating system on Raspberry Pi.
- Download Kali Linux Raspberry Pi image from https://www.offensive-security.com/kali-linux-arm-images/
- The downloaded image file is a compressed package and needs to be decompressed you can use 7-Zip compression software.
- Use etcher to write the decompressed image file to the SD card of the Raspberry Pi.
- Download Etcher:https://www.balena.io/etcher/
- a fast SD card for Raspberry Pi with at least 8 GB capacity. Class 10 SD cards are highly recommended.
Start Etcher tool
- Select image file of kali Linux
- select the SD card
At this time, eject the SD card from the Windows system and insert it into the Raspberry Pi. Then connect to the monitor, plug in the Internet cable, mouse, keyboard and power supply, and the Kali Linux operating system will start in a few seconds. Use Kali’s default username and password to log in. The default username and password are root and toor.
How to connect to kali Linux rdp
If the user feels that it is troublesome to use Kali on the Raspberry Pi to plug some devices back and forth, here you can use PuTTY to connect to the command line of Kali remotely. To do so we must get Kali Linux ready for that
Open Kali Linux terminal window and run the following commands:
adduser mike #Add a user for remote login. Set a password and other info. sudo apt-get update #Get an updated list of installable packages sudo apt-get install xrdp #Install the RDP server sudo systemctl start xrdp #Start the base XRDP server sudo systemctl start xrdp-sesman #Start the XRDP session manager
Now we install PuTTY in windows. PuTTY not only can remotely connect to the Kali operating system on the Raspberry Pi, it can also connect to the Kali operating system installed on any device. The following will introduce the use of PuTTY tool to remotely connect to the Kali Linux operating system.
- Download the Windows version of PuTTY.
- Start the PuTTY tool, and the interface shown in Figure 1.32 will be displayed.
(3) On this interface, enter the IP address of the Kali system in the text box corresponding to the Host Name (or IP address), and select SSH for the Connection type. Then click the Open button, The interface will displays a warning message, which is to safely confirm whether to connect to the server. This dialog box will only pop up when you connect to a host for the first time. Click the “Yes” button here, and the interface shown in Figure 1.34 will be displayed. If you don’t know the Kali system IP, execute the ifconfig command to check.
(5) Enter the default user name and password of the Kali system on this interface to log in to the system. Now you can run any command under this system.
If users don’t like to operate under the command line, they can also connect to the graphical interface of Kali Linux remotely.
On windows open Remote Desktop(RDP)
After opening Remote Desktop window, enter Kali Linux IP address then click on connect button.
Enter kali linux user name and password and click ok