New pages
Jump to navigation
Jump to search
- 10:55, 29 September 2025 颜值大作战 (hist | edit) [12,258 bytes] Mwroot (talk | contribs) (Created page with "== 衣服 == === 颜色 === 下半身多试亮度低,饱合度低的颜色。 上半身多试浅青、浅白。 原则上不要买牛仔裤,多买运动裤、休闲裤、西裤。 ; 不适合 * <span style="background-color: #A6814C; display: inline-block; width: 30px; height: 18px; vertical-align: middle; margin-right: 5px;"></span> 咖啡色卫衣 * <span style="background-color: #0000B3; display: inline-block; width: 30px; height: 18px; vertical-align: middle;...")
- 10:55, 29 September 2025 怎样创作一首歌 (hist | edit) [3,374 bytes] Mwroot (talk | contribs) (Created page with "== 明确主题与情感基调 == * '''先定情感方向''' ** 爱与离别、成长与迷茫、励志与坚强……先明确歌词要表达的核心情感是什么。 ** 情感越具体(如:初恋的甜涩、失恋的痛苦、毕业时的留恋),越容易产生共鸣。 * '''构思故事或画面''' ** 给歌词一个“微故事”或“电影感画面”,比如“雨中告白”“午夜飞奔在空旷街道”,会让文字更生动。 ** 也可以...")
- 10:54, 29 September 2025 怎样使用 Opentasks,安卓上最有用的任务管理软件 (hist | edit) [6,539 bytes] Mwroot (talk | contribs) (Created page with "__TOC__ == 由一个网贴说起 == 52pojie 论坛的网友 xp1990 写了一个贴子问到《在目前的大环境下,普通人的出路在哪里?》,贴子内容如下: <blockquote> 我这两年基本不看新闻,也不刷短视频。不是我脱离现实,而是我越来越清楚一件事:这些信息,百分之九十九都是没用的,甚至是在消耗你、拖住你。现在很多内容都是一波一波地刺激人情绪,你刚被某个救人新...")
- 10:54, 29 September 2025 怎么处理 PDF (hist | edit) [7,116 bytes] Mwroot (talk | contribs) (Created page with "PDF 全称 Portable Document Format,它的诞生是为了方便携带、统一体验,它做到了。几乎所有平台上的 PDF 阅读体验都是一致的。PDF 的方便,使 PDF 得以流行。 == 猫鼠游戏 == 需求是第一动力,越来越多的用户,渴望找到某个电子资料的 PDF 版本。盗版机构和个人顺势而动,扫描了海量 PDF 文档。原文档发布机构也顺势而动,发布了海量的低糊 PDF,用以分散盗版用...")
- 10:54, 29 September 2025 怎样解密乱码 (hist | edit) [629 bytes] Mwroot (talk | contribs) (Created page with "遇到一个程序报错:鎵句笉鍒版寚瀹氱殑妯″潡銆?) 气死人,根本不知道它是啥。问通义千问和 Kimi 都无解。灵机一动,搜乱码恢复,果然有现成的 [http://www.mytju.com/classCode/tools/messyCodeRecover.asp 乱码恢复] 网站,该网站原理就是假设这串乱码是 A 编码,推算出在 B 编码中它是什么文字,一看可读性就知道此乱码是从哪里乱至哪里的了。 再在 CMD 中 chcp xxx 即...")
- 10:53, 29 September 2025 让 .bashrc 更有效率 (hist | edit) [559 bytes] Mwroot (talk | contribs) (Created page with "<syntaxhighlight lang="bash" line> export EDITOR=emacs alias e='emacs' alias se='sudo emacsclient' alias s='ls -hl' alias eb='emacs ~/.bashrc' alias sb='source ~/.bashrc' alias sp='systemctl poweroff' alias sr='systemctl reboot' alias as='apt search --names-only' alias ai='sudo apt install' alias au='sudo apt update' alias ac='sudo apt autoremove' alias rmd='rm -rf' alias du='du -d 1 -hl' alias pon='export {http,https,ftp,all}_proxy="http://$host_ip:35280"' alias pof...")
- 10:52, 29 September 2025 那些出现 bug 的原因 (hist | edit) [4,251 bytes] Mwroot (talk | contribs) (Created page with "{| class = "wikitable" ! 现象 ! 解决 |- | 更新后报Fatal exception of type "MediaWiki\Extension\Scribunto\Engines\LuaCommon\LuaInterpreterNotExecutableError" | 更新时限制了 lua 二进制文件的权限,给它增加点权限: <syntaxhighlight lang="bash"> sudo chown root:www-data /path/to/lua sudo chmod 750 /path/to/lua </syntaxhighlight> 注意它是 Scribunto 自带的一个 standalone 的 lua,不是系统内从 lua 官方维护者安装的 lua5.4 |-...")
- 10:52, 29 September 2025 完美日用小命令 (hist | edit) [12,436 bytes] Mwroot (talk | contribs) (Created page with "{| class = "wikitable" ! 目标或作用 ! 对应方法 |- | emacs 中插入两个全角空格 | <syntaxhighlight lang="bash"> insert-char 3000 #或者 (global-set-key (kbd "C-c s") (lambda () (interactive) (insert-char #x3000 2))) </syntaxhighlight> |- | 解决 ssh 断联问题 | <syntaxhighlight lang="bash"> # 本地 ~/.ssh/config Host * ServerAliveInterval 60 ServerAliveCountMax 3 # 远程 /etc/ssh/sshd_config ClientAliveInterval 60 ClientAliveCountMax 3 <...")
- 10:51, 29 September 2025 实用工具 (hist | edit) [4,288 bytes] Mwroot (talk | contribs) (Created page with "[https://interactivetextbooks.tudelft.nl/showthephysics/intro.html 99个物理实验] 99个物理实验 [https://rimetool.beginner.center/ rimetool] 任意 txt 生成 rime 词库 [https://www.tiobe.com/tiobe-index/ tiobe 排名] 编程语言排名 [https://en.wikipedia.org/wiki/Anna%27s_Archive Anna's_Archive] 安娜的档案 最大的图书馆 [https://en.wikipedia.org/wiki/Z-Library Zlibrary] 影子图书馆 用户量最大 排版较好 [https://en.wikiped...")
- 10:51, 29 September 2025 有趣的网站 (hist | edit) [1,793 bytes] Mwroot (talk | contribs) (Created page with "[https://github.com/imthenachoman/How-To-Secure-A-Linux-Server 服务器加固教程] 详细的服务器加固教程 用 Debian 做演示 [https://cnsfw.860606.xyz/ 科幻世界梦工厂之星辰部落] 《科幻世界》全集 1991-2024 pdf 可收藏,可读性差,除非配个显示器竖屏专用于读《科幻世界》全集 [https://www.douban.com/group/679239/ TZN工作者茶话会] 进去的人想出来 外边的人想进去 [https://news.ycombinator....")
- 10:50, 29 September 2025 有趣的博主 (hist | edit) [4,094 bytes] Mwroot (talk | contribs) (Created page with "== IT 界 == [https://remacs.fun/page/4/ remacs的世界] 产品经理的 Emacs 教程 一条产品 Dog [https://luolei.org/ 罗磊的博客] 很有质感的博客 到处跑马拉松 [https://lutaonan.com/ 卢涛南] 大一辍学的同龄人 生猛的程序员 [https://frostming.com/archive/ Frost Ming] 被诺奖经济学得主约见的人 Python 开发者 pdm_project [https://www.linggandianbo.com/ 董双赫] 清晰简明的写作 沉思性思考 [https:...")
- 10:44, 29 September 2025 为什么我需要一台 VPS (hist | edit) [863 bytes] Mwroot (talk | contribs) (Created page with "# VirtualBox 与 WSL 不兼容 # VirtualBox 与 Debian 不对脾气 # 对 WSL 不放心 # WSL 里装两个 Debian 想想就闹心 # 本地配环境后,未来转移起来麻烦 # 本地已运行的服务,经不起折腾 # 199 元一年不贵 # VPS 对外联通性更好一点 在真正购买后,我发现在远程机器上开发,几十毫秒的 ssh 延迟我无法忍受,退货了。鉴于最近 Windows 更新时常出现逆天操作,以下为后续解决方案...")
- 10:44, 29 September 2025 怎么使用 composer (hist | edit) [1,750 bytes] Mwroot (talk | contribs) (Created page with "composer 用起来不便,有三种原因,一是 composer 版本旧了,二是网络问题,三是 sudo 问题。 == 解决版本问题 == 不要用发行版自带的 composer,去官网下载最新的 composer,就行了。以下参考近期版本,最新版本请自行去官网查看安装方法: <syntaxhighlight lang="bash" line> php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php -r "if (hash_file('sha384', 'composer-setup.php') =...")
- 10:43, 29 September 2025 怎么使用 python 虚拟环境 venv (hist | edit) [1,032 bytes] Mwroot (talk | contribs) (Created page with "== pip 不要 sudo == 不要用 sudo pip install xxx 安装系统级别的包。不要用 sudo pip,它会改写系统层面的配置。 用 apt 或 pacman 等系统层面的包管理工具,安装系统层面的应用,如 sudo pacman -S python-requests == 用好 venv == <syntaxhighlight lang="bash"> sudo apt install python3-venv python3 -m venv venvsth source venv/bin/activate pip install -r requirements.txt </syntaxhighlight> * 只要你已经执行了 source ve...")
- 10:43, 29 September 2025 常规 Linux 软件快速安装 (hist | edit) [84 bytes] Mwroot (talk | contribs) (Created page with "<syntaxhighlight lang="bash" line> git curl wget emacs tree unzip </syntaxhighlight>")
- 10:42, 29 September 2025 酷比魔方刷机方法 (hist | edit) [1,548 bytes] Mwroot (talk | contribs) (Created page with "# 进 [https://www.51cube.com/firmware/ 官网] 搜索平板型号下载平板系统 # 安装刚下载的压缩文件里的电脑驱动,之后重启电脑 # 电脑打开 SPFlashToolV6.exe,并加载 flash.xml # 酷比魔方多点几次版本号,进入手机开发者模式,打开“OEM解锁” # 电脑上,点 Download 下载 # 此时,酷比魔方关机,插上数据线,电脑会响一个良好的提示音,电脑上的刷机软件开始刷进度 # 电脑...")
- 10:42, 29 September 2025 Flatpak 怎么用 (hist | edit) [1,087 bytes] Mwroot (talk | contribs) (Created page with "软件遇到网络 fail,第一步就考虑换个国内源。 <syntaxhighlight lang="bash" line> # 安装 flatpak sudo apt install flatpak # 可选,适用于 Gnome 用户 sudo apt install gnome-software-plugin-flatpak # 添加官方源 flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo # 添加国内源,中科大源 sudo flatpak remote-modify flathub --url=https://mirrors.ustc.edu.cn/flathub # 恢复官方源 sudo flatpak...")
- 10:42, 29 September 2025 用 bash 脚本计算当前文件夹内所有 .docx 文件的 sha1 值 (hist | edit) [1,500 bytes] Mwroot (talk | contribs) (Created page with "保存这段代码为 calc_sha1_input.sh,再<code>./calc_sha1_input.sh 23333</code>运行,就会计算出 calc_sha1_input.sh 所在文件夹内所有 .docx 文件的 sha1 值,并输出结果为 23333.txt。calc_sha1_input.sh 中的 input 是提示你,这段脚本需要输入一个参数,用以指定结果的文件名前缀。这对于当别人给你发了两个重复文件看着大差不差,但又不确定是否重复时很有用,只需要分别计算 sha1...")
- 10:41, 29 September 2025 怎么使用 beancount (hist | edit) [2,747 bytes] Mwroot (talk | contribs) (Created page with "Beancount 是一款简洁、可靠的财务记账软件。本文讲述如何使用它。想要财务自由的人,可以学一下。 == 安装 == <syntaxhighlight lang="bash" line> # 如果安装很很慢,请学会换用清华 apt 源 sudo apt install pipx mkdir -p ~/.pip echo "[global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple" > ~/.pip/pip.conf pipx install beancount pipx install fava </syntaxhighlight> * 语法检测 bean-check file.beancount * 账本...")
- 10:41, 29 September 2025 Plausible 及 Docker 折腾指北 (hist | edit) [2,038 bytes] Mwroot (talk | contribs) (Created page with "== Plausible == 我是因为之前用了自建版,还挺好用,服务器搬迁后又想用。 我滴个乖乖,现在自建版已经完全不适合个人自用了,连文档都找不到一个完全的。即使我凭以前的经验,和 ChatGPT 的帮助,成功装上了,依然在折腾的路上遇到了很多大无语事件,无法明说。 plausible-ce 爹不疼娘不爱,强烈建议放弃。如果硬要用,我分享一点经验:装在子域名里。...")
- 10:40, 29 September 2025 Msys pacman 用法 (hist | edit) [958 bytes] Mwroot (talk | contribs) (Created page with "以下是一些基本的 pacman 命令用法,是 Kimi.ai 总结、本人补证的: ; pacman -Sy : S 是 sync,y 是 refresh : 更新包数据库 ; pacman -Ss [name] : S 是 sync,s 是 search : 搜索包 ; pacman -S [name] : S 是 sync : 安装包 ; pacman -Q : Q 是 query : 列出已安装的包 ; pacman -Qi [name] : Q 是 query,i 是 info : 列出已安装包的详细信息 ; pacman -Qd [name] : Q 是 query,d 是 deps : 列出已安装包的依赖 ; pacman -R...")
- 10:40, 29 September 2025 XAMPP 在 Windows 上 localhost 运行缓慢的解决办法 (hist | edit) [1,166 bytes] Mwroot (talk | contribs) (Created page with "参考这里 [https://buildio.dev/speed-up-xampp-on-windows/ 提升 XAMPP 在 Windows 上的速度],及这里 [https://serverfault.com/questions/66347/why-is-the-response-on-localhost-so-slow 为什么 localhost 应答慢]。 解决办法: * 在 <code> httpd.conf </code> 中,把 ServeName=localhost:80 改为 ServerName 127.0.0.1:80 * 在 <code> my.ini </code> 中,把以下几个参数的值都改大一些 <syntaxhighlight lang="bash" line> 145:# innodb_buffer...")
- 10:39, 29 September 2025 怎么使用 virt-manager (hist | edit) [1,448 bytes] Mwroot (talk | contribs) (Created page with "== 打不出中文 == # 注销或移除 QT_IM_MODULE、GTK_IM_MODULE; # 在 KDE “系统设置 → 输入设备 → 虚拟键盘” 中选择 IBus Wayland 并应用;或 # 使用 systemsettings 也一样 == 全屏 == * 自带 * 调分辨率 == 共享剪切板 == <syntaxhighlight lang="bash" line> sudo pacman -S spice-vdagent sudo systemctl enable --now spice-vdagentd sudo systemctl start --now spice-vdagentd 确保在硬件里有一个名个 spice 通道,一般...")
- 10:38, 29 September 2025 怎样屏蔽某个网站以令自己更专注地面对生活的真实挑战 (hist | edit) [3,072 bytes] Mwroot (talk | contribs) (Created page with "我有个坏习惯,动不动就刷知乎,仿佛掌管了天下,回首一看除了浪费了时间,收获了焦虑,脑子混沌,眼睛干涩,别的对真实生活的改善几近于无。很不值得。这不是知乎的错,是我自己漫无目标的错。这个脚本可以让我不再滥刷知乎。这个脚本的用途是彻底屏蔽知乎首页,不过对于通过搜索引擎查找到的问题答案界面放行。这样,满足了用知乎查有用资...")
- 10:38, 29 September 2025 读懂 diff (hist | edit) [210 bytes] Mwroot (talk | contribs) (Created page with "在各类代码阅读过程中,diff 结果可谓至关重要。本图讲述怎样读懂 diff 后生成的结果。其中 git diff 形式是最应该引起注意的。 1200px")
- 10:37, 29 September 2025 一段 ahk 脚本,在维基网站上自动输入模板内容 (hist | edit) [1,301 bytes] Mwroot (talk | contribs) (Created page with "在维基编辑过程中,需要输入模板的场景很常见,这个 ahk 脚本可以很方便地使用模板。 <syntaxhighlight lang="ahk" line> ; 适用于 ahk 1.1.37.02 ; 小狼毫对竖线有特殊处理,ahk 不太认识它,所以先用一个变量存储竖线,再用 SendInput 发送 ::case:: su := "|" SendInput, {Raw}{{CaseBox Send, {Enter}{Enter} Send, {Space} SendInput, {Raw}%su% Send, {Enter}{Space} Send, question {Space}= {Enter} Send, {Space} Sen...")
- 10:37, 29 September 2025 一段 ahk 脚本,自动移动光标至标签内,仅输入法中文状态下有效 (hist | edit) [1,472 bytes] Mwroot (talk | contribs) (Created page with "这是一段自动跳转光标进标签的 ahk 脚本样例。它只在输入法中文状态下好用。在英文状态下,始终少跳了一格,我还没找到办法判断小狼毫输入法的中英文状态。 麻烦的地方在于,打中文时,总会先打一个空格键上屏,而打英文时是打什么出什么直出的,这导致英文比中文少打了一个键,往左跳光标时就比中文少跳了一格。 现在,中文状态下,打 del,会...")
- 10:37, 29 September 2025 Crontab 定时任务不按预计运行怎么办 (hist | edit) [783 bytes] Mwroot (talk | contribs) (Created page with "有一个 crontab 定时任务,设定了半个月了,今天一检查发现它压根儿没运行。 原任务: <syntaxhighlight lang="bash"> 20 6 * * * source /path/to/activate && /path/to/python /path/to/old.py && deactivate </syntaxhighlight> 网上检索,发现应该是 crontab 中的 py 脚本,找不到预设的 bash 环境变量,具体怎么解决我也不想深究。把运行 old.py 的以下环境变量,都写进以下 new.sh,新任务用 sh 脚...")
- 10:36, 29 September 2025 Screen 使用指南 (hist | edit) [885 bytes] Mwroot (talk | contribs) (Created page with "500px <pre> 列出 screen -ls 进入 screen 让离开 screen -d 在显示 attached 无法连接时用 退出 exit 连入 screen -[r]eattach 强行连入 screen -D -r sth 离开 C-a [d]etach 创建 screen -S sth 改名 C-a A 再建 C-a c 关闭 C-a X 杀死 C-a k 加解密 C-a x 切换 C-a n 或 C-a p 切换 C-a tab 切换 C-a 1234.abcd 计数 C-a w 分屏 C-a S 或 C-a | </pre> 对我来说,使用 screen -S 创建, C-a d 离开...")
- 10:35, 29 September 2025 一台 apache 服务器托管多个网站的方法 (hist | edit) [2,558 bytes] Mwroot (talk | contribs) (Created page with "一台服务器放多个网站,无外乎子目录、子域名两种方法。 == 子目录 == <syntaxhighlight lang="apache" line> <VirtualHost *:80> ServerName sample.com DocumentRoot /var/www/site1 <Directory /var/www/site1> AllowOverride All Require all granted </Directory> Alias /site2 /var/www/site2 <Directory /var/www/site2> AllowOverride All Require all granted </Directory> Alias /site3 /var/www/s...")
- 10:35, 29 September 2025 最简单的 Anki 同步教程 (hist | edit) [4,877 bytes] Mwroot (talk | contribs) (Created page with "作为一款强大的记忆卡软件,原理如同一张纸质卡片,正面记问题,反面记答案,再加一套渐进式、抗遗忘、间隔复习的算法,Anki 对许多学生的知识记忆,起到了不可估量的作用。Anki 在知识记忆领域的生态蓬勃发展,未来将会有更多人参与进来,Anki 的功能也会更加强大。 Anki 的多端同步,之前叫人头疼,但现在已经非常方便了。要实现多端同步,需要一...")
- 10:34, 29 September 2025 小代码大作用,电脑开荒代码:有哪些代码非常短但非常有用 (hist | edit) [4,752 bytes] Mwroot (talk | contribs) (Created page with "某一天,你拿到了一台新电脑。或者,某一天,你的电脑系统崩溃了。你需要从头配置一套从前习惯的工具链,那么,以下这些小代码,非常有用。请在你理解用处、并自担风险的情况下使用。 == Windows 平台 == <syntaxhighlight lang="powershell" line> # set-network-private.ps1 # 用于把公用网络改为私用网络,实现全屋共享。需以管理员权限运行:创建快捷方式,目标选本...")
- 10:34, 29 September 2025 程序员成长指南 (hist | edit) [2,471 bytes] Mwroot (talk | contribs) (Created page with "== 🧭 第一阶段:打牢基础 == ''目标:读懂常见代码、能用 Linux 解决小问题。'' === 📌 1. 熟练掌握 C 语言 === * 读书推荐:《C 程序设计语言》《C Primer Plus》 * 实践建议: ** 写一个简单的命令行词典或计算器 ** 实现一个 mini 文本编辑器(如 kilo) === 📌 2. 深入 Linux 命令行与系统原理 === * 熟练使用: ** ls, find, chmod, ln, grep, xargs, systemd ** 日志排查:journalctl, ht...")
- 10:34, 29 September 2025 编程基础 (hist | edit) [267 bytes] Mwroot (talk | contribs) (Created page with "== 规则 == {| class="wikitable" |'''符号''' |'''名称''' |'''用途''' |- |; |分号 |表明一条语句 |- |{} |花括号 |表明一个语句块 |- | |空格 |用于区分语法单元 |- |// |双斜杠 |注释符 |- |: |举手符 |注释符 |} == VSCode ==")
- 10:33, 29 September 2025 VirtualBox 安装 Debian 的小 tips (hist | edit) [2,097 bytes] Mwroot (talk | contribs) (Created page with "《VirtualBox 安装 Debian 的小 tips》 == DVD 安装 == 别用 netins,网速太慢了,光安装成功就要半天。 也别用 CD,也要联网。我试都没试。 用 DVD-1。在国内镜像如 [http://mirrors.163.com/debian-cd/ 网易 Debian iso 镜像] 下载,再用 sha256 验证下载文件的准确性,即可。安装时问要不要<b>网络镜像</b>,一定要选否,不然速度慢成狗。这样,半小时下载好 DVD-1,安装速度非常...")
- 10:33, 29 September 2025 QEMU KVM LIBVIRT 的区别 (hist | edit) [2,288 bytes] Mwroot (talk | contribs) (Created page with "Author:ChatGPT。本人排版了 wikitext 格式 本笔记梳理了 Linux 下常用虚拟化组件的概念、作用及关系,方便理解和实践。 == KVM == * 本质:Kernel-based Virtual Machine。Linux 内核模块,提供硬件虚拟化能力(CPU + 内存虚拟化)。 * 作用:把物理 CPU 转变为虚拟 CPU,让 guest OS 可以像在真实硬件上一样运行。 * 特点:仅提供虚拟化能力,不负责虚拟机管理或硬件模拟。 :...")
- 10:32, 29 September 2025 怎样令终端更加高效 (hist | edit) [1,175 bytes] Mwroot (talk | contribs) (Created page with "TTY,即终端。当年,人与大型电脑交互,用的是电传打字机,由 Teletype Corporation 制造。这家公司制造的打字机太出名了,人们就把电传打字机称为 TTY。后来,被沿用至 Unix 和 Linux。 Terminal emulator,简称终端,全称应该是终端模拟器。 == 安装 sudo == <syntaxhighlight lang="bash" line> su root apt install sudo 插入 iso Enter </syntaxhighlight> == 调大字号 == <syntaxhighlight lang="bash" l...")
- 10:32, 29 September 2025 怎么在 Windows 上使用 Minder (hist | edit) [3,403 bytes] Mwroot (talk | contribs) (Created page with "《怎么在 Windows 上使用 Minder》 == 劝退 == 普通人,直接弃用。Windows 用户想要用这软件,极不容易,非刚需用它就是得不偿失。原开发者对提供 Windows 平台安装包也毫无兴趣。 年轻人,有精力折腾的人,可以考虑。Minder 只对少数 Linux 用户才有用,特别是 ArchLinux 平台 Plasma 桌面环境体验不错。Linux 上一般用包管理器安装就行。 现下 Debian 12 平台使用 Minder 1....")
- 10:31, 29 September 2025 WSL2 proxy 的方法 (hist | edit) [904 bytes] Mwroot (talk | contribs) (Created page with "== 查 IP == 在 PowerShell 里运行 ipconfig。 == Host 机 == * Proxy 软件开启允许局域网连入 * 开防火墙允许 WSL 流量接入本机 * 把那条系统自建的 WSL 入站规则先删掉 <syntaxhighlight lang="bash" line> New-NetFirewallRule -Name "WSL-Allow-Inbound" -DisplayName "WSL-Proxy" -InterfaceAlias "vEthernet (WSL)" -Direction Inbound -Action Allow </syntaxhighlight> * .wslconfig 里写入 <syntaxhighlight lang="bash" line> dnsTunneling=false <...")
- 10:31, 29 September 2025 WSLG 趣谈 (hist | edit) [1,750 bytes] Mwroot (talk | contribs) (Created page with "WSLG 是个非常有趣的玩意儿。 一般 Linux 分为终端版、图形版。终端版像电视里黑客用的那样,全是大黑框、纯文字,没有真正的图片,操作也是纯命令行。图形版就和我们用的 Windows 10 一样,到处是漂亮的图形,操作时用鼠标点点点。 WSL 这个玩意儿, Windows Subsystem for Linux 的简写,意思是 Windows 生个儿子叫 Linux。直接在 Windows 里运行 Linux,不用常规的 Virtu...")
- 10:31, 29 September 2025 用 WSL 安装 Linux 发行版的方法 (hist | edit) [1,428 bytes] Mwroot (talk | contribs) (Created page with "== 前置条件 == <syntaxhighlight lang="PowerShell"> # UEFI 中开启虚拟化支持 # 控制面板 - 卸载 - 启用或关闭 Windows 功能中打开“适用于 Linux 的 Windows 子系统”和“虚拟机平台” # 安装新的 Linux 分发版前将 WSL 2 设置为默认版本 # 在 PowerShell 中 wsl --update wsl --set-default-version 2 </syntaxhighlight> 想用 WSL 2,视情况可能需要安装一个 wsl_update_x64.msi 去更新 WSL 的内核。运行 <code...")
- 10:30, 29 September 2025 从 ArchLinux 改回 Debian 的全过程记录 (hist | edit) [2,634 bytes] Mwroot (talk | contribs) (Created page with "ArchLinux 挺好的,不过我的电脑有点旧了,加上我需要 mediawiki,pacman -Syu 时常常因 mediawiki 而中断,导致启动项丢失,恰逢 Debian 13 发布,于是换回用了多年的 Debian。以下为切换过程的全记录。 * 从 USTC 下载 Debian 13 iso:https://mirrors.ustc.edu.cn/help/debian-cd.html * 校验下载文件的 sha512 * 用 Ventoy 制作安装盘 * 备份浏览器书签及密码 * 备份 MediaWiki 数据库 <syntaxhighligh...")
- 10:30, 29 September 2025 一次恢复 ArchLinux 启动项的经历 (hist | edit) [3,243 bytes] Mwroot (talk | contribs) (Created page with "== Fx 问题 == 到底是启动项丢失,还是别的问题导致没有启动项?变量 x 不同,函数 F 不同。 当我遇到开机没有启动项,又没有任何报错时,我最明智的猜测只能是“启动项丢失”这个问题了。 后来问 ChatGPT,还有一些问题可能也有启动项丢失的表象: # grubx64.efi 或 grub.cfg 被误删 # bios 里关闭了 UEFI 或启动了 legacy # CMOS 电池没电了 # 硬盘坏了 如果 <code>efiboo...")
- 10:29, 29 September 2025 EndeavourOS 怎么用 (hist | edit) [644 bytes] Mwroot (talk | contribs) (Created page with "《EndeavourOS 怎么用》 == pacman == <syntaxhighlight lang="bash" line> # 更新系统 sudo pacman -Syu # 仅更新数据库 sudo pacman -Sy # 搜索软件 pacman -Ss # 安装软件 sudo pacman -S # 卸载软件 sudo pacman -R # 卸载无用依赖 sudo pacman -Rns </syntaxhighlight> == AUR == <syntaxhighlight lang="bash" line> # aur: arch user repo # 更新系统 yay -Syu # 搜索包 yay -Ss # 安装包 yay -S </syntaxhighlight> == VirtualBox == <syntaxhig...")
- 10:29, 29 September 2025 在 WSL2 中使用 ArchLinux (hist | edit) [110 bytes] Mwroot (talk | contribs) (Created page with "WSLG 可用性极差。未来再考虑。现在用就是纯纯小白鼠帮人免费搞测试。以后再说。")
- 10:28, 29 September 2025 怎么在 VirtualBox 中使用 ArchLinux (hist | edit) [1,740 bytes] Mwroot (talk | contribs) (Created page with "《怎么在 VirtualBox 中使用 ArchLinux》 == 安装方法 == {| class="wikitable" |+ VirtualBox 中用 archinstall 时建议配置 !项目 !注意事项 !版本 |- |虚拟机 |求旧 |VirtualBox 7.0.24 |- |拓展包 |匹配 |7.0.24.vbox-extpack |- |Guest 包 |与 Arch 对应 |7.1.6-2 |- |Arch |求新 |2025.03.01-x86_64 |- |内核 |求常 |linux |- |桌面 |求常 |KDE Plasma |- |驱动 |求全 |all open sources |} <syntaxhighlight lang="bash" line> 傻瓜式无痛...")
- 10:28, 29 September 2025 怎么在 ArchLinux 中使用 MediaWiki (hist | edit) [3,212 bytes] Mwroot (talk | contribs) (Created page with "《怎么在 ArchLinux 中使用 MediaWiki》 以下只为尝试。真用,我还是推荐用 Debian,或 WSL2,或云服务器。ArchLinux 只适合年轻人,有精力去试错。 == MediaWiki 本体 == <syntaxhighlight lang="bash" line> # 在 archlinux,redis 已经被 valkey 取代了。valkey 兼容 redis 的协议。原本的 redis 在 LocalSettings.php 中的配置方式依然有效 sudo pacman -S mediawiki mariadb php apache php-apache php-intl imagemagick...")
- 10:27, 29 September 2025 怎么使用 ArchLinux (hist | edit) [8,297 bytes] Mwroot (talk | contribs) (Created page with "== 联网安装 == 若用的不是网线,则需要先联 WIFI 再开始 archinstall。 <syntaxhighlight lang="bash" line> iwctl device list station wlan0 scan station wlan0 get-networks station wlan0 connect wifiname exit ping bilibili.com archinstall </syntaxhighlight> == 换源 == <syntaxhighlight lang="bash" line> # /etc/pacman.d/mirrorlist 配置文件开头加上: Server = https://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch </syntaxhighlight> <syntaxhighlight...")
- 10:27, 29 September 2025 在 Debian 上如何挂载一块硬盘 (hist | edit) [383 bytes] Mwroot (talk | contribs) (Created page with "# 找到 UUID 和磁盘格式:<code>lsblk -f</code> 查磁盘分区结构和磁盘类型。<code>sudo blkid</code> 找到 UUID。 # 创建挂载目录:mkdir some # 打开 /etc/fstab 按以下格式写入:<code>UUID=39c71dc4-5576-4660-9f0d-150d8c6c93c2 /home/to/some ext4 defaults,noatime 0 2</code> # <code>sudo mount -a</code>,无报错后检查一遍,才可以重启")
- 10:26, 29 September 2025 Debian 换源方法 (hist | edit) [693 bytes] Mwroot (talk | contribs) (Created page with "<syntaxhighlight lang="bash" line> # 把以下写入 /etc/apt/sources.list.d/ustc.sources Types: deb URIs: http://mirrors.ustc.edu.cn/debian Suites: bookworm bookworm-updates Components: main contrib non-free non-free-firmware Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg Types: deb URIs: http://mirrors.ustc.edu.cn/debian-security Suites: bookworm-security Components: main contrib non-free non-free-firmware Signed-By: /usr/share/keyrings/debian-archive-keyri...")