Install Kali Linux Through Network PXE

Source: Internet
Author: User
Tags kali linux

Build a PXE Server

The Network (PXE) is used to start and install Kali. It is useful for a notebook without an optical drive or USB port, and even for an enterprise to deploy a pre-installed Kali.

Kali Linux installation series:

  1. Install Kali Linux with a Live USB flash disk
  2. Install Kali Linux on Hard Disk
  3. Encrypted installation of Kli Linux
  4. Installation of Kali and Windows dual-boot in Kali Linux
  5. Download Kali Linux

First, installDnsmasqTo provide DHCP/TFTP services, and then editDnsmasq. confThis configuration file.

Apt-get install dnsmasq
Nano/etc/dnsmasq. conf

InDnsmasq. confIn the file, enable DHCP, TFTP, and PXE as shown below, according to your environment changesDhcp-range:

Interface = eth0
Dhcp-range = 192.168.8.100, 192.168.8.254, 12 h
Dhcp-boot = pxelinux.0
Enable-tftp
Tftp-root =/tftpboot/

After editing, We need to restart the dnsmasq service to make it take effect.

Service dnsmasq restart download and install the kali PXE network startup Image

Now, we want to create a folder to store the Kali network startup image and the image we want to download from the Kali software source.

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

After the configuration is complete, you can now start your computer, and then configure it to start from the network. It will get the IP address from the PXE Server and then start kali.

----------------------------- Split line -----------------------------

Recommended reading:

Linux PXE unattended installation of PXE-E32: TFTP OPen timeout Solution

Use PXE and kickstart to automatically install Linux

RHCE-certified unattended Linux system installation (FTP + TFTP + DHCP + Kickstart + PXE)

PXE network installation (on-duty and unattended installation)

----------------------------- Split line -----------------------------

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.