• 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  

    本文由lnlidawei(https://www.cnblogs.com/lnlidawei)原创或整理,转载请注明出处。
  • 相关阅读:
    COMPUTE BY 子句 cube 子句
    性能计数器 可接受值 或者说参考范围
    我们也来hold住优化SQL SERVER锁的使用
    反编译工具源代码
    图片居中,图片垂直居中,图片水平居中
    SessionStateTempDataProvider类需要启用会话状态(2)
    是我Out了,还是IT市场真井喷了?
    四天玩转 Windows Phone 开发
    从物理结构说sql server 优化
    SEO和百度
  • 原文地址:https://www.cnblogs.com/lnlidawei/p/15128222.html
Copyright © 2020-2023  润新知