Debain 11 LINUX 操作系统技巧

发布于:2022-12-23 ⋅ 阅读:(542) ⋅ 点赞:(0)

10年前的一个笔记本电脑,一直吃灰中,现在装一个LINUX版本,折腾一下。下面是碰到的问题记录。不间断更新。

一 ISO下载,要下no free版本,里面带网卡驱动

Index of /cdimage/unofficial/non-free/cd-including-firmware/11.4.0+nonfree

2022-09-09现在是11.4版本。

下载完,再写到U盘里面进行安装 。

二 更新源

将/etc/apt/sources.list文件中Debian默认的软件仓库地址和安全更新仓库地址修改为国内的镜像地址即可

阿里云镜像站 

deb https://mirrors.aliyun.com/debian/ bullseye main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye main non-free contrib
deb https://mirrors.aliyun.com/debian-security/ bullseye-security main
deb-src https://mirrors.aliyun.com/debian-security/ bullseye-security main
deb https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
deb https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib

腾讯云镜像站

deb https://mirrors.tencent.com/debian/ bullseye main non-free contrib
deb-src https://mirrors.tencent.com/debian/ bullseye main non-free contrib
deb https://mirrors.tencent.com/debian-security/ bullseye-security main
deb-src https://mirrors.tencent.com/debian-security/ bullseye-security main
deb https://mirrors.tencent.com/debian/ bullseye-updates main non-free contrib
deb-src https://mirrors.tencent.com/debian/ bullseye-updates main non-free contrib
deb https://mirrors.tencent.com/debian/ bullseye-backports main non-free contrib
deb-src https://mirrors.tencent.com/debian/ bullseye-backports 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

三 把普通用户添加到ROOT权限组。

文件在,/etc/sudoers

先用root登录,修改为读写chmod +wr sudoers

然后在

root  all那行,加入普通用户,再保存。

四 安装五笔

debian 安装五笔输入法
apt-get install fcitx fcitx-table-wbpy

五 打开窗口最大化,最小化

应用程序--搜索"优化"--启动--左侧点击窗口标题栏--右侧将最大化、最小化选项打开

ip addr

如果还想使用ifconfig命令,需要安装包:

sudo apt-get install net-tools
sudo apt-get install net-tools

安装服务被官方推荐安装Debian系统,发现没有reboot命令,搞了半天是因为没有把这些常用命令所在路径加入到系统环境变量当中。
解决办法:

export PATH=$PATH:/sbin/

本文含有隐藏内容,请 开通VIP 后查看

网站公告

今日签到

点亮在社区的每一天
去签到