Posted 2026-02-24Updated 2026-03-01静态博客部署17 分钟 read (About 2621 words)一、静态博客部署初始首先,我们需要在服务器上安装 Nginx 负责分发网页,并创建存放博客的文件夹。 N... ... --- 本地环境写博客 + 服务器 Nginx 托管 + Git Hooks 自动部署。 这种方案不需要在服务器安装 Node.js 或 Hexo 核心程序,能把 100% 的内存和性能留给你的 Op...Read more
Posted 2026-02-18Updated 2026-02-28Openclaw5 分钟 read (About 682 words)Openclaw日常问题运行时可能的原因: 1. 网络问题 • npm registry 连接不稳定 • GitHub release 页面加载超时 2. pnpm lockfile 问题 • 更新状态显示 lockfile missing • 这可能导致依赖安装失败 3. 系统资源 • 内存或 CPU 临时不足 ...'...Read more
Posted 2026-02-17Updated 2026-02-28RAG7 分钟 read (About 1082 words)环境配置搭建一套“VS Code + Anaconda”的组合。 - Anaconda:是大脑(包含Python解释器和各种AI库)。 - VS Code:是操作台(写代码的界面)。 - 请访问 Anaconda 官网下载页面:Anaconda Free Download - 如果你觉得官网下载慢,可以用清...Read more
Posted 2026-02-10Updated 2026-02-28Linux5 分钟 read (About 779 words)Playwright 无头浏览器部署在 Ubuntu 服务器(最小化镜像)中运行: 出现错误: error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file browserType.launch: Target page, c...Read more
Posted 2026-02-10Updated 2026-02-28RAG10 分钟 read (About 1518 words)学习路径学过机器学习和NLP,但学校教的可能偏向LSTM/RNN或者传统的统计模型。现在的面试重点全在 Transformer 和 工程落地 上。 1. 补齐理论差(面试必问): - 重点复习: Transformer架构(Self-Attention机制)、BERT与GPT的区别、Decoder-only...Read more
Posted 2026-02-07Updated 2026-03-032 分钟 read (About 366 words)基本命令当内存爆满时,Linux 系统会变得极度迟钝,甚至会为了保命杀掉 SSH 服务进程,导致你 Xshell 断连且无法重连。 执行完上面那一串后,输入 `free -h`,如果你看到 `Swap:` 后面有数字(不再是 0),这台服务器才算真正“活”下来了。 - 关注点:看 `Mounted on` ...Read more
Posted 2026-02-05Updated 2026-02-28RAG11 分钟 read (About 1635 words)RAG初识这是 RAG(检索增强生成)最核心的一步。我们要把资料存进一个向量数据库里,这样 AI 才能“想起来”。 为了避免到处去找 PDF 文件的麻烦,直接用代码生成一段模拟的“机密文档”,先跑通流程。 为了保证代码 100% 能运行 且符合最新版 LangChain 的规范(解决那个导入报错),同...'...Read more
Posted 2026-02-01Updated 2026-02-28Openclaw7 分钟 read (About 1006 words)额外的api配置为降低泄露风险,将API Key配置到系统环境变量,而非直接写入文件: 1. 确认Shell类型:终端输入`echo $SHELL`,判断为zsh或bash; 2. zsh用户配置: - 输入命令(替换“YOURDASHSCOPEAPIKEY”为实际API Key):`echo "expor...'...Read more
Posted 2026-02-01Updated 2026-02-28Openclaw9 分钟 read (About 1407 words)OpenClaw 部署与调试📅 日期: 2026-02-06 💻 环境: Ubuntu 24.04 (远程服务器) + Windows (本地 Xshell) 🔧 核心软件: OpenClaw CLI (v2026.1.30) --- 安装目录: ~/.openclaw (隐藏目录,需使用 ls -a 查看) 配置文件...Read more
Posted 2026-01-07Updated 2026-02-28Linux5 分钟 read (About 676 words)安装1panelSSH 连接服务器后,直接执行: bash 复制代码 `curl -sSL https://resource.fit2cloud.com/1panel/package/v2/quick_start.sh | bash` 等几分钟,它会自动安装。 安装完成后会显示: - 面板访问地址 - 默认端口 -...Read more