Changes between Version 2 and Version 3 of Debian


Ignore:
Timestamp:
12/13/22 20:11:06 (2 years ago)
Author:
sky
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Debian

    v2 v3  
    55
    66{{{
     7## For 11 Bullseye
    78
    8 apt-get install build-essential autoconf automake asciidoc
     9cd /etc && ln -sf /usr/share/zoneinfo/Asia/Shanghai localtime
     10echo "deb http://ftp.cn.debian.org/debian/ bullseye main contrib non-free" >> /etc/apt/sources.list
     11echo "deb-src http://ftp.cn.debian.org/debian/ bullseye main contrib non-free" >> /etc/apt/sources.list
     12echo "" >> /etc/apt/sources.list
     13echo "deb http://ftp.cn.debian.org/debian/ bullseye-updates main contrib non-free" >> /etc/apt/sources.list
     14echo "deb-src http://ftp.cn.debian.org/debian/ bullseye-updates main contrib non-free" >> /etc/apt/sources.list
     15echo "" >> /etc/apt/sources.list
     16echo "deb http://ftp.cn.debian.org/debian/ bullseye-backports main contrib non-free" >> /etc/apt/sources.list
     17echo "deb-src http://ftp.cn.debian.org/debian/ bullseye-backports main contrib non-free" >> /etc/apt/sources.list
     18echo "" >> /etc/apt/sources.list
     19echo "deb http://ftp.cn.debian.org/debian-security/ bullseye-security main contrib non-free" >> /etc/apt/sources.list
     20echo "deb-src http://ftp.cn.debian.org/debian-security/ bullseye-security main contrib non-free" >> /etc/apt/sources.list
     21echo "" >> /etc/apt/sources.list
     22apt update
     23apt install -y vim dnsutils iperf nmap tcpdump
     24echo "set paste" >> /etc/vim/vimrc.local
    925
    1026################################################################################
    1127
    12 ## 2
    13 2
     28apt install -y openssh-server
     29rm -f /etc/network/interfaces.d/setup
     30systemctl stop NetworkManager.service
     31systemctl disable NetworkManager.service
    1432
    1533################################################################################