Debian安装

1. vmm调整视频模式vga

2. 不更新软件

3. 一定要选openssh

4.进入系统之后的问题

  1. vi上下左右乱码

    vi /etc/vim/vimrc.tiny
    set compatible修改成set nocompatible,添加一行set backspace=2
    
  2. 更新镜像源

    cd /etc/apt
    vi sources.list
    deb https://mirrors.ustc.edu.cn/debian/ bookworm main non-free non-free-firmware contrib
    deb-src https://mirrors.ustc.edu.cn/debian/ bookworm main non-free non-free-firmware contrib
    deb https://mirrors.ustc.edu.cn/debian-security/ bookworm-security main
    deb-src https://mirrors.ustc.edu.cn/debian-security/ bookworm-security main
    deb https://mirrors.ustc.edu.cn/debian/ bookworm-updates main non-free non-free-firmware contrib
    deb-src https://mirrors.ustc.edu.cn/debian/ bookworm-updates main non-free non-free-firmware contrib
    deb https://mirrors.ustc.edu.cn/debian/ bookworm-backports main non-free non-free-firmware contrib
    deb-src https://mirrors.ustc.edu.cn/debian/ bookworm-backports main non-free non-free-firmware contrib
    
  3. 更新软件源

    apt update -y && apt upgrade -y
    
  4. 安装sudo

    apt-get install sudo
    
    sudo vim /etc/sudoers
    # User privilege specification
    root	ALL=(ALL:ALL) ALL
    user	ALL=(ALL:ALL) ALL
    
    
    
    
    
    
    
    

致谢

  1. Debian安装
  2. CentOS安装
  3. vim使用
  4. sudo安装
  5. Debian软件源