最后更新日期:2023-12-6
10年前的一个笔记本电脑,一直吃灰中,现在装一个LINUX版本,折腾一下。下面是碰到的问题记录。不间断更新。
一 ISO下载,要下no free版本,里面带网卡驱动
Index of /cdimage/unofficial/non-free/images-including-firmware
2022-09-09现在是11.4版本。
备注:12版本后,驱动已经集成了,不用单独下载。
下载完,再写到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地址
ip addr
如果还想使用ifconfig
命令,需要安装包:
sudo apt-get install net-tools
sudo apt-get install net-tools
安装服务被官方推荐安装Debian系统,发现没有reboot命令,搞了半天是因为没有把这些常用命令所在路径加入到系统环境变量当中。
解决办法:
export PATH=$PATH:/sbin/
加入到文件中
cd ~
nano .bashrc
加入内容:PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
六 使用VM虚拟机安装DEBAIN11,发现无法登录图形界面。
原因:虚拟机设置时,打开了3D图形加速。关掉正常了
七 Linux下彻底卸载LibreOffice方法
sudo apt-get purge libreoffice?
或
sudo aptitude purge libreoffice?
不要漏掉通配符“?”,否则无法清除/卸载全部 LibreOffice 软件包
或者
sudo apt-get remove --purge libreoffice*
作者:你说你要一场
链接:https://www.jianshu.com/p/7815025e7711
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。