zoukankan      html  css  js  c++  java
  • 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)原创或整理,转载请注明出处。
  • 相关阅读:
    查看windows下指定的端口是否开放
    网易云音乐评论爬虫:爬取歌曲的全部评论
    用 Python 玩转 GitHub 的贡献板
    用python实现linux口令破解
    Python 音频数据扩充的技巧
    教你使用python+Opencv完成人脸解锁
    opencv+Python特征检测及K-最近邻匹配
    opencv+python 统计及绘制直方图
    学会用这个工具做分析,1年积累3年工作经验
    15分钟,教你用Python爬网站数据,并用BI可视化分析!
  • 原文地址:https://www.cnblogs.com/lnlidawei/p/15128222.html
Copyright © 2011-2022 走看看