debian踩坑笔记
  fFNahfJvxgqO 2023年11月02日 290 0


安装

下载镜像:​​http://mirrors.ustc.edu.cn/debian-cd/​​​ 选择对应的版本和CPU类型,然后我选的​​iso-dvd​​,只下载​​DVD-1.iso​​就好了,其他的都是额外的软件包。

安装前一定要把网线拔了,因为安装过程中,即使选了镜像,​​http://security.debian.org/debian-security​​仍然会被使用,这特别慢。

提示缺少iwlwifi firmware时,先选否,装好系统之后再装wifi驱动。

分区要选择格式化,可启动标志可以保持​​关​​。

网络镜像那里选否,因为我们已经把网线拔了。

相信我,不要选debian桌面环境,那个桌面连个文本文档都放不了。我选的xfce。

装完了之后,如果笔记本用了外接显示器,那笔记本自带的那个屏幕会被设置为主屏幕,上面的状态栏和下面的栏只会显示在主屏幕上,外接的那个显示器上啥都没有,坑的一批。

换镜像源

这里换成中科大源。
编辑​​​/etc/apt/sources.list​​,把内容替换成:

deb http://mirrors.ustc.edu.cn/debian stable main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian stable main contrib non-free
deb http://mirrors.ustc.edu.cn/debian stable-updates main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian stable-updates main contrib non-free

# deb http://mirrors.ustc.edu.cn/debian stable-proposed-updates main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian stable-proposed-updates main contrib non-free

# security mirror
deb http://mirrors.ustc.edu.cn/debian-security/ stable/updates main non-free contrib
# deb-src http://mirrors.ustc.edu.cn/debian-security/ stable/updates main non-free contrib
sudo apt

输入法

sudo apt install

然后可能要重新登录一下。
右键右上角的键盘图标,点击configure,就可以进入fcitx配置界面了。

sunpinyin

sudo apt install fcitx-sunpinyin
# 然后可能要重新登录一下。

取消​​Only Show Current Language​​的勾,搜pinyin,点OK。

rime

sudo apt install fcitx-rime
# 然后可能要重新登录一下。

取消​​Only Show Current Language​​的勾,搜rime,点OK。

然后按ctrl+空格切换到rime输入法,然后右键右上角的rime图标,​​Schema List -> xx拼音-简化字​​,就可以输入简体中文了。

安装wifi驱动

先查看当前debian的版本代号:
​​​https://www.debian.org/releases/index.zh-cn.html​​ debian10是buster。

然后在​​/etc/apt/sources.list​​里加上

deb http://httpredir.debian.org/debian/ debian版本代号 main contrib non-free

比如debian10就是

deb http://httpredir.debian.org/debian/ buster main contrib non-free
sudo apt

然后安装wifi驱动

sudo apt install

然后重启。

没有声音

存在的一些问题

笔记本装好之后,合上盖子再打开,桌面就进不去了。这可能是debian的bug,因为我更新了一下系统就好了:

sudo apt

参考文献

​https://mirrors.ustc.edu.cn/help/debian.html​​​​javascript:void(0)​


【版权声明】本文内容来自摩杜云社区用户原创、第三方投稿、转载,内容版权归原作者所有。本网站的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@moduyun.com

  1. 分享:
最后一次编辑于 2023年11月08日 0

暂无评论

推荐阅读
  lG7RE7vNF4mc   2023年11月13日   34   0   0 默认值html搜索
  ckHWW4G1YMhd   2023年11月13日   31   0   0 html
  M9aMEIE19lAW   2023年11月13日   35   0   0 htmlphp
fFNahfJvxgqO