摘要: https://blog.quickso.cn/ 阅读全文
posted @ 2021-02-25 18:33 木子欢儿 阅读(794) 评论(0) 推荐(0)
摘要: 一、安装 uv 和 Python 3.12 uv 可以独立下载 Python,不需要 Ubuntu apt 仓库提供 Python 3.12。 执行: curl -LsSf https://astral.sh/uv/install.sh | sh export PATH="$HOME/.local/ 阅读全文
posted @ 2026-11-22 19:41 木子欢儿 阅读(8) 评论(0) 推荐(0)
摘要: 背景 由于 rustup 官方服务器在国外,直接按照 rust 官网的指南 (opens new window)安装非常容易失败,即使不失败也慢成狗,换用用国内的镜像则可以分分钟搞定。 #官方安装方法 相关文档: rust 安装指南(opens new window) 命令 curl --proto 阅读全文
posted @ 2026-11-07 09:04 木子欢儿 阅读(20) 评论(0) 推荐(0)
摘要: #!/bin/bash set -euo pipefail # 配置区 INSTANCE_DIR="/opt/mcsmanager/daemon/data/InstanceData/a94d087749ce4037a45582cf017485f3" BACKUP_ROOT="/mnt/Data/MC 阅读全文
posted @ 2026-10-25 13:01 木子欢儿 阅读(10) 评论(0) 推荐(0)
摘要: 📦 第一步:安装 vsftpd sudo apt update sudo apt install vsftpd -y 👤 第二步:创建 FTP 专用用户 sudo adduser admin sudo usermod -s /usr/sbin/nologin admin # 禁止 SSH 登录, 阅读全文
posted @ 2026-10-25 12:58 木子欢儿 阅读(28) 评论(0) 推荐(0)
摘要: services: firefox: image: swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jlesage/firefox:v26.01.1 container_name: firefox restart: unless-stopped 阅读全文
posted @ 2026-10-18 23:06 木子欢儿 阅读(22) 评论(0) 推荐(0)
摘要: 1. 安装 OpenConnect 客户端 根据你的发行版选择命令: Debian / Ubuntu: sudo apt update sudo apt install openconnect Fedora: sudo dnf install openconnect CentOS / RHEL / 阅读全文
posted @ 2026-10-18 13:02 木子欢儿 阅读(41) 评论(0) 推荐(0)
摘要: compose.yaml services: # # 1. 数据库服务 (MariaDB) # zabbix-db: image: mariadb:11.8 container_name: zabbix-db restart: always command: - --character-set-se 阅读全文
posted @ 2026-10-06 17:55 木子欢儿 阅读(36) 评论(0) 推荐(0)
摘要: from flask import Flask, request, Response import requests app = Flask(__name__) TARGET_URL = "https://api.deepseek.com" @app.route("/<path:path>", me 阅读全文
posted @ 2026-09-03 23:04 木子欢儿 阅读(85) 评论(0) 推荐(0)
摘要: tcp的frp会被运营商阻断。 无法连接,报错: 1 login to the server failed: i/o deadline reached. With loginFailExit enabled, no additional retries will be attempted 推测是被运 阅读全文
posted @ 2026-08-25 19:43 木子欢儿 阅读(142) 评论(0) 推荐(0)
摘要: Intel 架构的 MacBook Pro 运行 Linux 发热量高是一个非常普遍的现象。根本原因在于 macOS 对 Apple 硬件(尤其是 SMC 物理风扇策略和 Intel Turbo Boost 睿频控制)有深度调校,而原生 Linux 内核的电源管理策略偏向保守或响应迟钝,导致风扇启动 阅读全文
posted @ 2026-08-02 22:14 木子欢儿 阅读(77) 评论(0) 推荐(0)