admin 发布的文章

创建或修改 /etc/apt/sources.list.d/debian.sources

Types: deb
#URIs: https://deb.debian.org/debian   官方源注释了
URIs: http://mirrors.ustc.edu.cn/debian
Suites: trixie trixie-updates
#Components: main non-free-firmware
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

Types: deb
URIs: https://security.debian.org/debian-security
Suites: trixie-security
Components: main non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

重装升级Debian13后发现NetworkManager没有WIFI选项,其实这个问题在某次系统升级后就发现了想着要重装了一直没解决。今天升级到Debian13不得不面对这个问题,找了很多文章,最终得以解决,记录一下。免得下次忘记
sudo apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
sudo apt-get install -f
sudo dpkg-reconfigure broadcom-sta-dkms
find /lib/modules/$(uname -r)/updates
sudo modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
sudo modprobe wl

感谢参考

  • Debian官方WIKI https://wiki.debian.org/fr/wl?highlight=%28BCM43142%29
  • deepin论坛https://bbs.deepin.org/post/151171
  • 博客园(通过该链接找到了官方页面)https://www.cnblogs.com/yfceshi/p/7371374.html

tmux终端操作

命令快捷键解释
tmux new -s Test创建新窗口
tmux ls列出终端
tmux attach -t Test连接终端

tmux终端内操作

命令快捷键解释
tmux new-windowCtrl+b c创建新终端
tmux rename-window NameCtrl+b ,终端重命名
tmux select-window -t 0Ctrl+b 数字切换终端
tmux split-window -hCtrl+b %终端垂直分割
tmux split-windowCtrl+b "终端水平分割
tmux select-pane -[UDLR]Ctrl+b [上下左右]切换窗口
tmux detachCtrl+b d分离终端
Ctrl+b s列出所有会话
Ctrl+b w从列表中选择窗口
Ctrl+b x结束终端

su -

vi /etc/apt/sources.list
# 默认注释了源码仓库,如有需要可自行取消注释
deb http://mirrors.ustc.edu.cn/debian trixie main contrib non-free non-free-firmware
# deb-src http://mirrors.ustc.edu.cn/debian trixie main contrib non-free non-free-firmware
deb http://mirrors.ustc.edu.cn/debian trixie-updates main contrib non-free non-free-firmware
# deb-src http://mirrors.ustc.edu.cn/debian trixie-updates main contrib non-free non-free-firmware

# backports 软件源,请按需启用
# deb http://mirrors.ustc.edu.cn/debian trixie-backports main contrib non-free non-free-firmware
# deb-src http://mirrors.ustc.edu.cn/debian trixie-backports main contrib non-free non-free-firmware

apt update
apt upgrade
apt install vim
update-alternatives --config editor   #默认编辑器是nano我喜欢vim选择/usr/bin/vim.basic
apt install locales
dpkg-reconfigure locales    //修改默认语言
apt install sudo

visudo 
exit