Debian9.12镜像下载及网络、软件源配置
Debian镜像下载
·
Debian9.12安装、配置
获取镜像
Debian9.12[Debian 9.12 官方原版镜像下载 | 任我乐 (renwole.com)]
使用迅雷下载磁力链接
虚拟机安装
配置网络
cd /etc/network
vim interface
双网卡配置:
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo ens192 ens192:1
iface lo inet loopback
# The primary network interface
allow-hotplug ens192 ens192:1
iface ens192 inet static
address 172.21.1.8/16
iface ens192:1 inet static
address 172.16.211.8/16
gateway 172.16.1.1
单网卡配置:
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo ens192
iface lo inet loopback
# The primary network interface
allow-hotplug ens192
iface ens192 inet static
address 172.21.1.8/16
gateway 172.16.1.1
配置合适的仓库源
用于更新软件包、依赖包 (有自动更新镜像源的指令,但是后面找了一圈没找到)
目前的sources.list
文件一
# deb cdrom:[Debian GNU/Linux 10.5.0 _Buster_ - Official amd64 DVD Binary-1 20200801-11:35]/ buster contrib main
#deb cdrom:[Debian GNU/Linux 10.5.0 _Buster_ - Official amd64 DVD Binary-1 20200801-11:35]/ buster contrib main
deb http://mirrors.163.com/debian/ buster main
deb-src http://mirrors.163.com/debian/ buster main
deb http://security.debian.org/debian-security buster/updates main contrib
deb-src http://security.debian.org/debian-security buster/updates main contrib
# buster-updates, previously known as 'volatile'
deb http://mirrors.163.com/debian/ buster-updates main contrib
deb-src http://mirrors.163.com/debian/ buster-updates main contrib
文件二
# deb cdrom:[Debian GNU/Linux 9.12.0 _Stretch_ - Official amd64 DVD Binary-1 20200209-02:13]/ stretch contrib main
#deb cdrom:[Debian GNU/Linux 9.12.0 _Stretch_ - Official amd64 DVD Binary-1 20200209-02:13]/ stretch contrib main
# stretch-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
deb https://mirrors.bfsu.edu.cn/debian/ stable main non-free contrib
deb-src https://mirrors.bfsu.edu.cn/debian/ stable main non-free contrib
文件三
deb https://mirrors.163.com/debian/ bullseye main non-free contrib
deb-src https://mirrors.163.com/debian/ bullseye main non-free contrib
deb https://mirrors.163.com/debian-security/ bullseye-security main
deb-src https://mirrors.163.com/debian-security/ bullseye-security main
deb https://mirrors.163.com/debian/ bullseye-updates main non-free contrib
deb-src https://mirrors.163.com/debian/ bullseye-updates main non-free contrib
deb https://mirrors.163.com/debian/ bullseye-backports main non-free contrib
deb-src https://mirrors.163.com/debian/ bullseye-backports main non-free contrib
更新软件包、安装所需工具、搭建环境
apt-get update
apt-get install xxxxx
Debian镜像下载链接
Debian 华为镜像源
示 例: debian11.5
Debian 全球镜像站
其他资源
debian 9.12种子 : https://renwole.com/archives/1722
Linux上安装Debian 9:https://ywnz.com/linuxaz/4940.html
更多推荐
已为社区贡献1条内容
所有评论(0)