一,ISO下载
通过 HTTP/FTP 下载 Debian USB/CD/DVD 映像
通过网盘分享的文件:debian-12.9.0-amd64-DVD-1.iso
链接: https://pan.baidu.com/s/1RFHZMUMgjpd6D2pUfbkFwQ?pwd=dufi 提取码: dufi
--来自百度网盘超级会员v5的分享
镜像名称:debian-12.9.0-amd64-DVD-1 适用x86平台
说明:
amd64
表示该镜像适用于基于x86 - 64架构的计算机。这种架构广泛应用于传统的桌面电脑、笔记本电脑和服务器,常见的英特尔(Intel)和AMD的64位处理器都采用了这种架构。例如,英特尔酷睿系列(Core i3、i5、i7等)和AMD锐龙系列处理器。
二,U盘启动盘制作
工具下载
网址 Index of /downloads 工具 rufus-3.21
三,系统安装
将制作好的U盘启动盘连接到主机,并UEFI启动 (主机开机自检时触发快速启动键 如 F11或自己查询自己的主机)
1.选择图形界面安装
2.语言选择及账户密码设置
3.磁盘选择及分区设置 (新手按图所选项进行)
4.图形界面进行选择
5,安心等待安装完成(大约5-7分钟)(任何弹窗选择否即可)
6.完成安装,重启即可进入图形界面系统
四,更换系统安装源
sudo nano /etc/apt/sources.list
#复制以下源文件
deb https://mirrors.aliyun.com/debian/ bookworm main non-free non-free-firmware contrib
deb-src https://mirrors.aliyun.com/debian/ bookworm main non-free non-free-firmware contrib
deb https://mirrors.aliyun.com/debian-security/ bookworm-security main
deb-src https://mirrors.aliyun.com/debian-security/ bookworm-security main
deb https://mirrors.aliyun.com/debian/ bookworm-updates main non-free non-free-firmware contrib
deb-src https://mirrors.aliyun.com/debian/ bookworm-updates main non-free non-free-firmware contrib
deb https://mirrors.aliyun.com/debian/ bookworm-backports main non-free non-free-firmware contrib
deb-src https://mirrors.aliyun.com/debian/ bookworm-backports main non-free non-free-firmware contrib
#更新软件包索引升级系统
sudo apt update
sudo apt upgrade
五,修改内核参数
Debian系统与Ubunt系统不同,会出现端口加载 不全的现象,需要手动修改内核之后才能完全识别到端口,如,主板6串口,系统下识别的4个,修改以下内核
sudo nano /etc/default/grub
在文件中找到 `GRUB_CMDLINE_LINUX` 这一行。如果该行不存在,可以手动添加。然后在引号内添加 `8250.nr_uarts=8`,示例如下:
GRUB_CMDLINE_LINUX="8250.nr_uarts=8"
如果你已经有其他内核参数,只需用空格将它们分隔开,例如:
GRUB_CMDLINE_LINUX="quiet splash 8250.nr_uarts=8"
编辑完成后,按下 `Ctrl + X`,然后按 `Y` 确认保存,最后按回车键退出 `nano` 编辑器。
更新 GRUB 配置
修改 `/etc/default/grub` 文件后,需要重新生成 `/boot/grub/grub.cfg` 文件,使用以下命令更新 GRUB 配置:
sudo update-grub
执行该命令后,系统会根据 `/etc/default/grub` 文件的设置重新生成 `/boot/grub/grub.cfg` 文件。
重启系统
更新 GRUB 配置后,重启系统使新的内核参数生效:
sudo reboot