Files
nexus/wiki/sources/Mac-Mini-FRP安装配置.md

39 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Mac Mini安装FRP 0.65.0ARM64操作笔记"
type: source
tags: [frp, frpc, mac-mini, homelab]
date: 2025-03-06
---
## Source File
- [[raw/Home Office/Mac Mini 安装 FRP 0.65.0ARM64操作笔记.md]]
## Summary
- 核心主题Mac Mini M4Apple Silicon上安装配置FRP内网穿透客户端
- 问题域macOS上FRP通过launchd管理需要处理Gatekeeper签名问题
- 方法/机制下载ARM64版本 → 配置frpc.toml → 创建launchd plist → 加载服务
- 结论/价值macOS上FRP通过launchd实现开机自启和崩溃自动重启比systemd更复杂
## Key Claims
- FRP版本0.65.0CPU架构Apple SiliconARM64安装路径/opt/frp/frp_0.65.0_darwin_arm64
- 配置文件frpc.tomlmacOS Gatekeeper处理xattr -cr /opt/frp/frp_0.65.0_darwin_arm64/frpc
- launchd plist位置~/Library/LaunchAgents/com.homebrew.frpc.plist
- 管理命令launchctl unload/load 控制服务重启
- 崩溃自动重启通过launchd的KeepAlive实现
## Key Concepts
- [[FRP]][TODO] 内网穿透工具
- [[launchd]]macOS初始化系统和服务管理
- [[Gatekeeper]]macOS应用签名和安全验证
## Key Entities
- [[Mac Mini]]运行FRP客户端的服务器
- [[FRP]]:内网穿透工具
## Connections
- [[FRP]] ← 运行在 ← [[Mac Mini]]
- [[launchd]] ← 服务管理 ← FRPmacOS
## Contradictions
- 与Ubuntu systemd管理FRP对比macOS用launchdUbuntu用systemd配置方式完全不同