前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >magicbook 与debian的故事

magicbook 与debian的故事

作者头像
impdx-忧郁的派大星
发布2020-11-03 16:26:03
9080
发布2020-11-03 16:26:03
举报
文章被收录于专栏:impdx-blog

2020.2.11 原文中iwlwifi方法已经失效,参考ax200的文章。

安装很慢的原因 选择 高级选项里的exp install安装时,去掉安全源更新。因为安全源是国外的。你选了国内镜像也是从国外下载的。

magicbook AMD2500U与debian的故事

扯淡篇

为什么选择debian

因为我喜欢

下载debian

建议清华源去下载 https://mirrors.tuna.tsinghua.edu.cn/debian-cd/

debian-cd/10.0.0/amd64/iso-dvd/ 下载DVD1就够了

其他的2,3都是软件包

刻录

在这里我使用rufus 直接刻录进u盘

开始安装

安装不多说了吧。

有几点要注意下

  • 装的时候会显示没有wifi驱动,选否跳过
  • 装的时候如果没有域名填写loaclhost
  • 其他好像也没啥问题了。

开始采坑(正文)

如果你使用桌面环境会无法进入。 因为缺少依赖包

会发现grub引导进系统后光标在左上角一直跳动,怎么解决呢

ctrl+alt+F2

你会发现可以进入tty2 然后开始重点了

改源

建议使用nano,如果比较熟悉可以选择vim

使用清华源或者其他国内源,推荐中科大,清华,阿里。不推荐华为。 详细教程可以看清华源官网 https://mirrors.tuna.tsinghua.edu.cn/help/debian/

代码语言:javascript
复制

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free

nano 是ctrl+o保存然后回车,按ctrl+x

vim是在命令模式下按: 然后输入wq 接着回车

  • 改完源之后就需要安装安装firmware-linux-nonfree

我看我的x-server报错为firmware 然后输入

代码语言:javascript
复制
apt-get install firmware-linux-nonfree

接着如果出现Y/N 输入Y 回车

然后等会输入reboot。重启

  • 你会发现桌面出来了。但是没有wifi,有蓝牙

进入桌面后,使用ctrl+alt+T弹出终端 输入

代码语言:javascript
复制
apt-get update

然后输入

代码语言:javascript
复制
apt-get install firmware-iwlwifi

一路Y下去 然后输入

代码语言:javascript
复制
modprobe -r iwlwifi
modprobe iwlwifi

然后我使用的是wicd 输入

代码语言:javascript
复制
sudo aptitude install wicd

然后在桌面中搜索wicd network manager就行了。

你会发现wifi可以用了

  • root下debian/Ubuntu 默认不加载pluseaudio

这个你会发现你使用root登录无法开启扬声器。。但是普通用户却可以用 怎么解决呢 在 /root/.profile 文件最后加上

代码语言:javascript
复制
pulseaudio --start --log-target=syslog

接着在终端中输入

代码语言:javascript
复制
source  /root/.profile

使之生效就ok啦

总结

  • 装好后需要安装firmware-linux-nonfree 不然无法启动桌面环境
  • wifi 需要驱动firmware-iwlwifi
  • root用户下pluseaudio需要加载。(root用户下没声音)
  • 桌面刚装好是很丑的需要美化,个人推荐lxqt+xfwm4 占用内存小。然后去github搜 lxqt theme/xfwm theme
  • grub2也需要美化 github搜 grub2 theme

# 附上桌面截图 ![GCWv.jpg](https://files.alexhchu.com/2020/02/11/1ee1de5b59d71.jpg) ![Gs78.jpg](https://files.alexhchu.com/2020/02/11/6b7eb224fd00f.jpg) ![GTfp.png](https://files.alexhchu.com/2020/02/11/a8196e1586e94.png)

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2020-02-11,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 扯淡篇
    • 为什么选择debian
      • 下载debian
        • 刻录
          • 开始安装
          • 开始采坑(正文)
          • 总结
          领券
          问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档