OS: kali linux的安裝和配置


KALI LINUX的安裝和配置

 

 

 

一、安裝(kali-linux-2021-W32-installer-amd64.iso)

1、選擇 “Graphical install”

2、Select a language:  English

3、Select your location:  other -> Asia -> China

4、Configure locales:  United States - en_US.UTF-8

5、Configure the keyboard:  American English

6、Configure the network:  Do not configure the network at this time

7、Hostname:  kali

8、Set up users and passwords - Full name for the new user: novice

9、Set up users and passwords - Username for your account: novice

10、Set up users and passwords - choose a password for the new user: 2n

11、Partition disks: Guided - use entire disk and set up LVM

12、Partition disks - selected for partitioning: All files in one partition

13、Partition disks - Write the changes to disks and configure LVM?  Yes

14、Partition disks - write the changes to disks?  Yes

15、Installing the base system...

16、Software selection: default + large

 

 

二、網絡配置

1、IP配置

┌──(novice㉿kali)-[~]

└─$ sudo vim /etc/network/interfaces

# This file describes the network interfaces available on your system

# and how to activate them. For more information, see interfaces(5).

 

source /etc/network/interfaces.d/*

 

# The loopback network interface

auto lo

iface lo inet loopback

 

# date-2021-08-11

auto eth0

iface eth0 inet static

address 192.168.3.13

gateway 192.168.3.1

netmask 255.255.255.0

 

2、DNS配置

┌──(novice㉿kali)-[~]

└─$ sudo vim /etc/resolv.conf  

# Generated by NetworkManager

nameserver 114.114.114.114

nameserver 8.8.8.8

nameserver 192.168.3.1

 

 

三、ssh配置

1、開啟ssh服務: sudo  systemctl  start  ssh

2、開機自啟動ssh服務: sudo  systemctl  enable  ssh

 

 

四、Apt-get 源配置

        1、 ┌─(novice㉿kali)-[~]

              └─$ sudo vim /etc/apt/sources.list

deb https://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib

deb-src https://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib

 

 

五、服務器開關機:

 

        1、重啟:sudo   reboot  

 

        2、關機: sudo   shutdown  -h  now  

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM