macOS: the best Unix Desktop

算是一些个人的使用习惯和笔记,称不上教程。 开发环境 目前使用自动化脚本和 dotfiles 管理和快速部署开发环境,详见 https://github.com/squarezhong/dotfiles 查看系统基本信息 system_profiler SPHardwareDataType check basic hardware info and uuid 手动添加环境变量(Environment Variables) # xxxx 替换为实际路径 # : 是 PATH 路径的分隔符,下方命令相当于在原有环境变量前添加你的路径 echo 'export PATH="xxxx/bin:$PATH"' >> ~/.zshrc # 当然你也可以放在后面 echo 'export PATH="$PATH:xxxx/bin"' >> ~/.zshrc # 添加完后重新读取并执行 .zshrc,或者开一个新的终端 source ~/.zshrc 在终端中打开 刚需功能,可惜被 macOS 藏在二级菜单 ...

October 21, 2026 · 3 min · 1169 words · Square Zhong

Anaconda之外,我们还有哪些选择

前言 AI 生成的前言,感觉不太行啊。 Anaconda Distribution 曾是许多人进入 Python 数据科学生态的第一站,但随着安装体积、商业授权、依赖管理方式和开发工作流的变化,它已经不再是所有场景下的默认答案。Miniforge、Pixi、uv、Poetry,以及传统的 pyenv + pip + venv,都提供了各有侧重的替代方案。 ...

July 24, 2026 · 6 min · 2618 words · Square Zhong

SSH: 连接更广阔的世界

SSH 是一种网络协议。OpenSSH 是 SSH 最常见的开源实现。 OpenSSH 通常包含: ssh 远程登录客户端 sshd SSH 服务端 scp 文件复制 sftp 文件传输 ssh-keygen 生成 SSH 密钥 ssh-agent 管理私钥 ssh-add 向 ssh-agent 添加密钥 SSH Server Linux Refer to OpenSSH Server | Ubuntu ...

April 10, 2026 · 5 min · 2050 words · Square Zhong

Raspberry Pi 4B 折腾记录之 OpenClaw

主要参考Raspberry Pi - OpenClaw 硬件: Raspberry Pi 4B 2GB 内存 三星 128GB 白卡 准备工作 系统安装 使用官方工具 Raspberry Pi Imager 将系统烧录至 tf 卡。 安装的系统版本为 Raspberry Pi OS Lite (64-bit) Kernel version: 6.12 Debian version: 13 (trixie) 修改镜像源 该版本的镜像源采用 DEB822 格式 ...

March 9, 2026 · 2 min · 840 words · Square Zhong

闲置笔记本折腾记录之 fnOS

前言 差不多一年前的这个时候,我在 NAS: 从入坑到入土 | Square Zhong’s Blog 这篇文章中写下了这样一句话: 需求应当被满足,而不是被创造。 那么现在需求回来了,“NAS”也就回来了。 ...

March 7, 2026 · 3 min · 1306 words · Square Zhong

WSL: Make Windows Great Again

[Updated on 2026-09-26]: From CUDA Toolkit to a Comprehensive WSL Tutorial In the past, Linux has been more advanced than Windows in areas such as command-line interfaces, package managers, build toolchains, containers, automation, and AI ecosystems. With the advent of the Agent era, this gap has widened even further. The right approach is not to stubbornly cling to the Windows ecosystem and seek various alternatives, but rather to embrace Linux (with WSL), combining its strengths in development and automation with Windows’ significant advantages in compatibility, graphical user interfaces, and gaming. WSL, make Windows great again. ...

January 26, 2026 · 5 min · 939 words · Square Zhong

闲置笔记本折腾记录之 Ubuntu Server

前言 手里有一台本科室友毕业不要了丢给我的上古联想小新轻薄本,六代 i5,4G 内存,250G 硬盘,之前一直闲置,最近有空了(不如说是给某些不良嗜好找点替代活动)折腾一下,让它发挥一下余热。 ...

January 17, 2026 · 3 min · 1374 words · Square Zhong

Ubuntu: 版本答案

默认讨论 Ubuntu Server,Ubuntu Server 和 Ubuntu Desktop 的稳定性和使用体验完全是天壤之别。 人生苦短,我不用 Linux Desktop。实在要用的建议使用 Gnome 之外的图形界面。 ...

August 27, 2025 · 4 min · 1601 words · Square Zhong

Windows: 均衡存乎万物之间

[Updated on 2026-11-02]: 添加对系统更新的建议 Introduction 均衡存乎万物之间 —— 凯南 Windows 是最全面最均衡的系统,你很难找到别的系统能干但是 Windows 干不了的活,尽管未必是最优解。 ...

July 17, 2025 · 2 min · 868 words · Square Zhong

VENTOY is all you need

[Updated on 2026-09-24]: 纠正原有关于镜像放置位置的误区 项目 Github 地址 如果你有安装系统或者使用 PE 修复现有系统的需求,那你一定绕不开一件事——制作启动盘。 ...

September 10, 2024 · 1 min · 491 words · Square Zhong