search
HomeBackend DevelopmentPHP TutorialNew Kali Linux System Installation Guide

Kali Linux system is arguably the best out-of-the-box Linux distribution when it comes to security testing. Many tools and software under Kali can be installed on most Linux distributions. The Offensive Security team has invested a lot of time and energy in the development process of the Kali system to improve this Linux distribution for penetration testing and security auditing.

Kali Linux is a security-oriented distribution based on Debian. The system is famous for having hundreds of well-known security tools pre-installed.

Kali even has a highly valuable certification in the field of information security called "Kali Penetration Testing (Penttesting with Kali)" certification. Applicants for this certification must successfully compromise multiple computers within a grueling 24 hours, then complete a penetration test report and send it to Offensive Security's security staff for review within an additional 24 hours. Those who successfully pass the exam will receive an OSCP certification.

This installation guide and subsequent articles are mainly to help individuals become familiar with the Kali Linux system and the use of some of its tool software.

Please use the tools under Kali with caution, as some of them will cause damage to the computer system if used improperly. Please use the information contained in all Kali series articles in legal ways.

System Requirements

The Kali system has some basic requirements and suggestions for hardware. Depending on the user's purpose, you can enable higher configurations. This article assumes that the reader wants to install kali as the only operating system on the computer.

At least 10GB of disk space; allocating more storage space is highly recommended.

At least 512MB of RAM; would love more, especially with a graphical interface.

Supports USB or CD/DVD boot method.

Kali Linux system ISO image

Use the dd command to create a USB boot tool

This article assumes that a USB device can be used to boot the installation system. Note that if possible, use a 4GB or 8GB USB device, and all data on it will be deleted.

The author of this article encountered problems during the installation process when using a larger-capacity USB device, but others should still be able to do it. Anyway, the following installation steps will clear the data from the USB device.

Be sure to back up all your data before starting. The USB boot device used to install the Kali Linux system will be created on another machine.

The first step is to obtain the Kali Linux system ISO image file. This guide will install using the latest version of Kali Linux system that includes the Enlightenment desktop environment.

Enter the following command in the terminal to obtain this version of the ISO image file.

$ cd ~/Downloads 
$ wget -c http://cdimage.kali.org/kali-2016.2/kali-linux-e17-2016.2-amd64.iso

The above two commands will download the ISO image file of Kali Linux to the Downloads directory of the current user.

The next step is to write the ISO image to a USB device to start the installation program. We can do this using the dd command in Linux systems. First, the USB device must be found under the lsblk command.

$ lsblk

Confirm the USB device name in the Linux system

Make sure the name of the USB device is /dev/sdc. You can use the dd tool to write the Kali system image to the USB device.

$ sudo dd if=~/Downloads/kali-linux-e17-2016.2-amd64.iso of=/dev/sdc

Note: The above command requires root privileges, so use the sudo command or log in with the root account to execute the command. This command will delete all data from the USB device. Make sure you have backed up the required data.

Once the ISO image file is completely copied to the USB device, the next step is to install the Kali Linux system.

Install the Kali Linux system

1. First, insert the USB device into the computer where the Kali operating system is to be installed, and then boot the system from the USB device. As soon as the system is successfully booted from the USB device, you will see the following graphical interface, select the "Install" or "Graphical Install" option.

This guide will use the "Graphical Install" method to install.

New Kali Linux System Installation Guide

Kali Linux startup menu

2. The following interfaces will ask the user to select regional setting information, such as language, country, and keyboard layout.

After the selection is completed, the system will prompt the user to enter the host name and domain name information. After entering the appropriate environment information, click Continue with installation.

New Kali Linux System Installation Guide

Set the host name of the Kali Linux system

New Kali Linux System Installation Guide

Set the domain name of the Kali Linux system

3. After the host name and domain name are set, you need to set the password of the root user. Don't forget this password.

New Kali Linux System Installation Guide

Set Kali Linux system user password

4. After the password is set, the installation step will prompt the user to select a time zone and then stay at the hard disk partition interface.

If Kali Linux is the only operating system on this computer, the easiest option is to use “Guided – Use Entire Disk” and select the storage device on which you need to install Kali.

New Kali Linux System Installation Guide

选择 Kali Linux 系统安装类型

New Kali Linux System Installation Guide

选择 Kali Linux 安装磁盘

5、 下一步将提示用户在存储设备上进行分区。大多数情况下,我们可以把整个系统安装在一个分区内。

New Kali Linux System Installation Guide

在分区上安装 Kali Linux 系统

6、 最后一步是提示用户确认将所有的更改写入到主机硬盘。注意,点确认后将会清空整个磁盘上的所有数据。

New Kali Linux System Installation Guide

确认磁盘分区更改

7、 一旦确认分区更改,安装包将会进行复制文件的安装过程。安装完成后,你需要设置一个网络镜像源来获取软件包和系统更新。如果你希望使用 Kali 的软件库,确保开启此功能。

New Kali Linux System Installation Guide

配置 Kali Linux 包管理器

8、 选择网络镜像源后,系统将会询问你安装 Grub 引导程序。再次说明,本文假设你的电脑上仅安装唯一的 Kali Linux 操作系统。

在该屏幕上选择“Yes”,用户需要选择要写入引导程序信息的硬盘引导设备。

New Kali Linux System Installation Guide

安装 Grub 引导程序

New Kali Linux System Installation Guide

选择安装 Grub 引导程序的分区

9、 当 Grub 安装完成后,系统将会提醒用户重启机器以进入新安装的 Kali Linux 系统。

New Kali Linux System Installation Guide

Kali Linux 系统安装完成

10、 因为本指南使用 Enlightenment 作为 Kali Linux 系统的桌面环境,因此默认情况下是启动进入到 shell 环境。

使用 root 账号及之前安装过程中设置的密码登录系统,以便运行 Enlightenment 桌面环境。

登录成功后输入命令startx进入 Enlightenment 桌面环境。

# startx

New Kali Linux System Installation Guide

Kali Linux 下进入 Enlightenment 桌面环境

初次进入 Enlightenment 桌面环境时,它将会询问用户进行一些首选项配置,然后再运行桌面环境。

New Kali Linux System Installation Guide

Kali Linux Enlightenment 桌面

此时,你已经成功地安装了 Kali Linux 系统,并可以使用了。后续的文章我们将探讨 Kali 系统中一些有用的工具以及如何使用这些工具来探测主机及网络方面的安全状况。


Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
php怎么把负数转为正整数php怎么把负数转为正整数Apr 19, 2022 pm 08:59 PM

php把负数转为正整数的方法:1、使用abs()函数将负数转为正数,使用intval()函数对正数取整,转为正整数,语法“intval(abs($number))”;2、利用“~”位运算符将负数取反加一,语法“~$number + 1”。

php怎么实现几秒后执行一个函数php怎么实现几秒后执行一个函数Apr 24, 2022 pm 01:12 PM

实现方法:1、使用“sleep(延迟秒数)”语句,可延迟执行函数若干秒;2、使用“time_nanosleep(延迟秒数,延迟纳秒数)”语句,可延迟执行函数若干秒和纳秒;3、使用“time_sleep_until(time()+7)”语句。

php字符串有没有下标php字符串有没有下标Apr 24, 2022 am 11:49 AM

php字符串有下标。在PHP中,下标不仅可以应用于数组和对象,还可应用于字符串,利用字符串的下标和中括号“[]”可以访问指定索引位置的字符,并对该字符进行读写,语法“字符串名[下标值]”;字符串的下标值(索引值)只能是整数类型,起始值为0。

php怎么除以100保留两位小数php怎么除以100保留两位小数Apr 22, 2022 pm 06:23 PM

php除以100保留两位小数的方法:1、利用“/”运算符进行除法运算,语法“数值 / 100”;2、使用“number_format(除法结果, 2)”或“sprintf("%.2f",除法结果)”语句进行四舍五入的处理值,并保留两位小数。

php怎么根据年月日判断是一年的第几天php怎么根据年月日判断是一年的第几天Apr 22, 2022 pm 05:02 PM

判断方法:1、使用“strtotime("年-月-日")”语句将给定的年月日转换为时间戳格式;2、用“date("z",时间戳)+1”语句计算指定时间戳是一年的第几天。date()返回的天数是从0开始计算的,因此真实天数需要在此基础上加1。

php怎么读取字符串后几个字符php怎么读取字符串后几个字符Apr 22, 2022 pm 08:31 PM

在php中,可以使用substr()函数来读取字符串后几个字符,只需要将该函数的第二个参数设置为负值,第三个参数省略即可;语法为“substr(字符串,-n)”,表示读取从字符串结尾处向前数第n个字符开始,直到字符串结尾的全部字符。

php怎么替换nbsp空格符php怎么替换nbsp空格符Apr 24, 2022 pm 02:55 PM

方法:1、用“str_replace(" ","其他字符",$str)”语句,可将nbsp符替换为其他字符;2、用“preg_replace("/(\s|\&nbsp\;||\xc2\xa0)/","其他字符",$str)”语句。

php怎么查找字符串是第几位php怎么查找字符串是第几位Apr 22, 2022 pm 06:48 PM

查找方法:1、用strpos(),语法“strpos("字符串值","查找子串")+1”;2、用stripos(),语法“strpos("字符串值","查找子串")+1”。因为字符串是从0开始计数的,因此两个函数获取的位置需要进行加1处理。

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools