Read Time:8 Minute, 48 Second

KALI L1NUX : “THE INSTALLATION”

BEFORE WE PROCEED WITH THE INSTALLATION, THERE ARE A FEW PREREQUISITES TO BE CONFIRMED:


  • A laptop with a minimum RAM of 4 gb ( IF u dont have this then there will be a method of installation at the end).
  • Virtualization should be enabled.
  • Disk space: 30 GB.
  • Processor speed: 2.3 GHz or more.

    METHOD 1 ( Using Virtual machines):


  • First confirm whether your PC has virtualization enabled or not.

  •       Open Task manager. Shortcut key ( Ctrl+Shift+Esc).
  •       On the upper row click on Performance option.
  •       See on the right corner on the windows. There you will See Virtualiztion.
  •       Confirm whether its written like Virtualization : Enabled or not.
  •               If the Virtualization is disabled.

* Reboot your pc and Go to BIOS setup on your pc.

Bios Keys based on pc models:

   ASRock: F2 or DEL                                                   

ASUS: F2 for all PCs, F2 or DEL for Motherboard

                                                       Acer: F2 or DEL

                                                       Dell: F2 or F12

                                                       ECS: DEL

                                                       Gigabyte / Aorus: F2 or DEL

                                                       HP: F10

                                                       Lenovo (Consumer Laptops): F2 or Fn + F2

                                                       Lenovo (Desktops): F1

                                                       Lenovo (ThinkPads): Enter then F1.

                                                       MSI: DEL for motherboards and PCs

                                                       Microsoft Surface Tablets: Press and hold volume up button.

                                                       Origin PC: F2

                                                       Samsung: F2

                                                       Toshiba: F2

                                                       Zotac: DEL

                     * In the BIOS settings, find the configuration items related to the CPU. These can be in under the                                     headings ProcessorChipset, or Northbridge

* Enable virtualization; the setting may be called VT-x, AMD-V, SVM, or Vanderpool. Enable Intel VT-                          d or AMD IOMMU if the options are available.

* Save your changes and reboot.

  • After enabling Virtualization enable the Hyper-V services.

* Right click on the Windows button and select ‘Apps and Features‘.

* Select Programs and Features on the right under related settings.

* Select Turn Windows Features on or off.

* Select HyperV and click OK.

* Restart Your PC.

  • Now install any Virtual Machine on your PC. Like VirtualBox or VMWare.

* Download Links:

* Virtualbox : https://download.virtualbox.org/virtualbox/6.1.22/VirtualBox-6.1.22-144080-Win.exe

                       * VMWare :  https://my.vmware.com/en/web/vmware/downloads/details?downloadGroup=WKST- PLAYER-1611&productId=1039&rPId=63655

  • As of now, we will proceed with Virtualbox.
  • Download the kali linux ISO file.

* Link : https://cdimage.kali.org/kali-2021.1/kali-linux-2021.1-installer-amd64.iso

  • After downloading, open VirtualBox .

  • Click on New.
  • Name and operating system. A pop-up window for creating a new VM appears. Specify a name and a destination folder. The Type and Version change automatically, based on the name you provide. Make sure the information matches the package you downloaded and click Next.

  • Memory size. Choose how much memory to allocate to the virtual machine and click Next. The default setting for Linux is 1024 MB. However, this varies depending on your individual needs.
  • Hard disk. The default option is to create a virtual hard disk for the new VM. Click Create to continue. Alternatively, you can use an existing virtual hard disk file or decide not to add one at all.

  • Hard disk file type. Stick to the default file type for the new virtual hard disk, VDI (VirtualBox Disk Image). Click Next to continue.
  • Storage on a physical hard disk. Decide between Dynamically allocated and Fixed size. The first choice allows the new hard disk to grow and fill up space dedicated to it. The second, fixed size, uses the maximum capacity from the start. Click Next.
  •  File location and size. Specify the name and where you want to store the virtual hard disk. Choose the amount of file data the VM is allowed to store on the hard disk. We advise giving it at least 8 GB. Click Create to finish.
  • Now you created a new VM. The VM appears on the list in the VirtualBox Manager.

  • Select a virtual machine and click the Settings icon. Make sure you marked the correct VM and that the right-hand side is displaying details for Kali Linux.

  • In the Kali Linux – Settings window, navigate to General > Advanced tab. Change the Shared Clipboard and Drag’n’Drop settings to Bidirectional. This feature allows you to copy and paste between the host and guest machine.

  • Go to System > Motherboard. Set the boot order to start from Optical, followed by Hard Disk. Uncheck Floppy as it is unnecessary.

  • Next, move to the Processor tab in the same window. Increase the number of processors to two (2) to enhance performance.

  • Finally, navigate to Storage settings. Add the downloaded Kali image to a storage device under Controller: IDE. Click the disk icon to search for the image. Here add the kali iso file you downloaded.Once finished, close the Settings window.

  • Click the Start icon to begin installing Kali.
  • Select the Graphical install option and go through the following installation steps for setting up Kali Linux in VirtualBox.

  • Select a language. Choose the default language for the system (which will also be the language used during the installation process).
  • Select your location. Find and select your country from the list (or choose “other”).
  • Configure the keyboard. Decide which keymap to use. In most cases, the best option is to select American English.
  • Configure the network. First, enter a hostname for the system and click Continue.
  • Next, create a domain name (the part of your internet address after your hostname). Domain names usually end in .com, .net, .edu, etc. Make sure you use the same domain name on all your machines.
  • Set up users and passwords. Create a strong root password for the system administrator account.

  • Configure the clock. Select your time zone from the available options.
  • Partition disks. Select how you would like to partition the hard disk. Unless you have a good reason to do it manually, go for the Guided –use entire disk option.

  • Then, select which disk you want to use for partitioning. As you created a single virtual hard disk in Step 3: Adjust VM Settings, you do not have to worry about data loss. Select the only available option – SCSI3 (0,0,0) (sda) – 68.7 GB ATA VBOK HARDDISK (the details after the dash vary depending on your virtualization software).
  • Next, select the scheme for partitioning. If you are a new user, go for All files in one partition.
  • The wizard gives you an overview of the configured partitions. Continue by navigating to Finish partitioning and write changes to disk. Click Continue and confirm with Yes.
  • The wizard starts installing Kali. While the installation bar loads, additional configuration settings appear.
  • Configure the package manager. Select whether you want to use a network mirror and click Continue. Enter the HTTP proxy information if you are using one. Otherwise, leave the field blank and click Continue again.
  • Install the GRUB boot loader on a hard disk. Select Yes and Continue. Then, select a boot loader device to ensure the newly installed system is bootable.
  • Once you receive the message Installation is complete, click Continue to reboot your VM.
  • With this, you have successfully installed Kali Linux on VirtualBox. After rebooting, the Kali login screen appears. Type in a username (root) and password you entered in the previous steps.Finally, the interface of Kali Linux appears on your screen.

 

 METHOD 2 ( Using WSL2):


  • Make sure you have Virtualization enabled with Hyper-V as in Method 1.
  • INSTALL WSL 2

* RUN POWERSHELL as administrator

⚙️ Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

* RESTART and again RUN POWERSHELL as ADmin

⚙️ dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

⚙️ dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

* RESTART.

⚙️ Download Linux Kernel: https://aka.ms/wsl2kernel

* SET DEFAULT TO WSL 2

                     ⚙️ wsl –set-default-version 2

* CHECK VERSION

                     ⚙️ wsl –list –verbose

  • INSTALL Kali Linux

* Go to microsoft store and search for linux.

* Install The Kali Linux. 

 

* Open Kali Linux Application.

                     * Click on “Kali Linux” and it will display a terminal window with a text “Installing, this may take   a few minutes”. This will happen only for the first time.

                     * Once done, you will be asked to type a user name and then set a password. After typing password                                   twice, you will be logged in to your Kali Linux environment. This is just a minimal installation of Kali                              linux. In the next step, we will convert the minimal installation to full including GUI and tools.

THIS MINIMAL INSTALLATION CAN BE EASILY RUN ON LOW END PCS TOO. e.g; Pcs with 2 gb ram or less.

* For High end Pcs , you can install GUI version with this commands.

sudo apt update && sudo apt install kali-desktop-xfce -y

THIS WILL TAKE TIME. NOW YOU CAN ENJOY THE GUI VERSION TOO.


METHOD 3( IF YOU HAVE A VERY OLD AND LAGGY AND VERY LOW                                                               END PC):


  • Now click on upload and Upload the ipynb file we downloaded.
  • Now click on the play button before Start GUI colab RDP version.

  • After loading you will be asked for the ngrok token.
  • Go to ngrok.com
  • There you signup and under https://dashboard.ngrok.com/auth url, copy ur authtoken and paste.
  • The soon you will be asked country. There you need to type you country name in short. Like in for india and enter.
  • Then after a few minutes, you wil see a window with rdp link and credentials.
  • Now open rdp client of windows. Just type in rdp in search box and open the application.
  • Now type the rdp url in the rdp client url box and click connect.
  • Now a window will will appear with prompting to enter password. Type 12345678 and click enter.
  • You will enter Ubuntu .
  • Now in order to run this for 12 hours, just go back to the colab.research.google.com windows and Click on Play button before, Script Google Colab Keep Running 12 Hours.
  • You will see some js code. copy that and then go to console . Key : Ctrl+Shift+i.
  • Paste the copied code in the console.
  • Now enjoy the ubuntu rdp for 12 hrs.

A warrior is nothing without his weapon!!


STAY SAFE!! STAY ALERT!! JAY HIND!!

DO FOLLOW US ON SOCIAL MEDIA :

Instagram : https://www.instagram.com/indiancybertroops/

Our Website : https://www.indiancybertroops.in

Our blog : http://indiancybertroops.org


 

About Post Author

Indian Cyber Troops

Indian Cyber Work For Nation's Wellness And Nation's Security We Share new and unique things with you Jai Hind Jai Shri Ram