首页
关于
友链
便签
统计
Search
1
QQ闪照如何查看 2022.7.29
402 阅读
2
Cloudreve挂载本机存储目录
347 阅读
3
Debian10 升级内核5.10
329 阅读
4
docker映射端口部署wikihost Looking-glass Server (ALS)
226 阅读
5
使用Docker部署HTML5 - Speedtest
169 阅读
默认分类
服务器
生活有感
AI
Linux
MySQL
Photoshop
Web建站
编程
登录
Search
标签搜索
Linux
windows
web建站
win10
nginx
五哲
debian
docker
vps
CF
iptables
端口
apt
yum
java
自动更新
jia
HTML
内核
CF Workers
史沛思
累计撰写
65
篇文章
累计收到
54
条评论
首页
栏目
默认分类
服务器
生活有感
AI
Linux
MySQL
Photoshop
Web建站
编程
页面
关于
友链
便签
统计
搜索到
2
篇与
的结果
2023-09-26
WSL的使用与基础命令
一、安装WSL和Debian并切换至WSL2在“启用或关闭Windows功能”中启用以下两个选项:Windows虚拟机平台、适用于Linux的Windows子系统。在Windows应用商店中选择需要安装的Linux发行版。(我选择Debian)打开Debian,完成安装。(先安装Linux再转换WSL2)在PowerShell中运行以下指令,将WSL1转换成WSL2。wsl --set-version Debian 2 wsl --set-default-version 2二、执行默认配置并安装ca-certificatesapt-get update apt-get install ca-certificates三、切换默认源为清华镜像源编辑文件vim /etc/apt/sources.list清华源deb [trusted=yes] https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free # deb-src [trusted=yes] https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free deb [trusted=yes] https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free #deb-src [trusted=yes] https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free deb [trusted=yes] https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free # deb-src [trusted=yes] https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free deb [trusted=yes] https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free # deb-src [trusted=yes] https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free四、替换完整版vim编辑器apt-get remove vim-common apt-get install vim查看wsl版本、wsl -l -v查看已安装的wslwsl --list卸载已安装的wslwsl --unregister Debian查看可安装的wslwsl --list --online
2023年09月26日
41 阅读
0 评论
0 点赞
2022-11-21
Debian10 升级内核5.10
首先添加Debian官方源echo 'deb http://deb.debian.org/debian buster-backports main' |\ sudo tee -a /etc/apt/sources.list.d/backports.list 更新源apt update查找内核版本apt search linux-image'bpo' 表示 backports'rt' 表示 realtime'dbg' 表示 debugging安装常规版本sudo apt install linux-image-5.10.0-0.bpo.7-amd64 sudo apt install linux-headers-5.10.0-0.bpo.7-amd64 sudo reboot开机后 apt autoreemove参考
2022年11月21日
329 阅读
0 评论
0 点赞