WHAT'S NEW?
Loading...

Kali Linux Tutorial - How To Install Kali Linux Network



Kali Mini ISO Install

The Kali mini ISO is a convenient way to install a minimal Kali system and install it “from scratch”. The mini install ISO will download all required packages from our repositories, meaning you need to have a fast Internet connection to use this installation method.

Installation Prerequisites

  • A minimum of 8 GB disk space for the Kali Linux install.
  • For i386 and amd64 architectures, a minimum of 512MB RAM.
  • CD-DVD Drive / USB boot support

Preparing for the Installation

  1. Download the Kali mini ISO.
  2. Burn The Kali Linux ISO to DVD or Image Kali Linux Live to USB.
  3. Ensure that your computer is set to boot from CD / USB in your BIOS.

Kali Linux Installation Procedure

When you first boot the mini ISO, you will be presented with a small boot menu with various options. For this article, we will simply be doing a basic install.
mini_iso_1
You will next be prompted for various things such as your language and keyboard type, then you will need to select a hostname for your installation. We will stick with the default of kali.
mini_iso_2
Next, you will need to select your time zone, then you’ll be shown the partition options. To get up and running quickly, we will use ‘Guided – use entire disk’ and follow the prompts all the way through to create the new partitioning setup.
mini_iso_3
In order to reduce network bandwidth, a small subset of packages will be selected by default. If you wish to add different services or features, this is the area you would make your selections.
mini_iso_4
At this point, the installer will download all of the packages it requires and install them on the system. Depending on your Internet connectivity speed, this could take some time. Eventually, you will finally be prompted to install GRUB to finish the installation.
mini_iso_5

Setup a PXE Server

Booting and installing Kali over the network (PXE) can be useful from a single laptop install with no CDROM or USB ports, to enterprise deployments supporting pre-seeding of the Kali installation.
First, we need to install dnsmasq to provide the DHCP/TFTP server and then edit the dnsmasq.conffile.
apt-get install dnsmasq
nano /etc/dnsmasq.conf
In dnsmasq.conf, enable DHCP, TFTP and PXE booting as shown below, changing the dhcp-range to match your environment:
interface=eth0
dhcp-range=192.168.8.100,192.168.8.254,12h
dhcp-boot=pxelinux.0
enable-tftp
tftp-root=/tftpboot/
With the edits in place, the dnsmasq service needs to be restarted in order for the changes to take effect.
service dnsmasq restart

Download Kali PXE Netboot Images

Now, we need to create a directory to hold the Kali Netboot image and download the image we wish to serve from the Kali repos.
mkdir -p /tftpboot
cd /tftpboot
# for 64 bit systems:
wget http://repo.kali.org/kali/dists/kali/main/installer-amd64/current/images/netboot/netboot.tar.gz
# for 32 bit systems:
wget http://repo.kali.org/kali/dists/kali/main/installer-i386/current/images/netboot/netboot.tar.gz
tar zxpf netboot.tar.gz
rm netboot.tar.gz

Configure Target to Boot From Network

With everything configured, you can now boot your target system and configure it to boot from the network. It should get an IP address from your PXE server and begin booting Kali.
Source From - http://docs.kali.org/network-install/kali-linux-network-mini-iso-install

0 comments:

Post a Comment