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

1.5 KiB
Raw Blame History

title, type, tags, date
title type tags date
Mac Mini安装FRP 0.65.0ARM64操作笔记 source
frp
frpc
mac-mini
homelab
2025-03-06

Source File

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] 内网穿透工具
  • launchdmacOS初始化系统和服务管理
  • GatekeepermacOS应用签名和安全验证

Key Entities

  • Mac Mini运行FRP客户端的服务器
  • FRP:内网穿透工具

Connections

Contradictions

  • 与Ubuntu systemd管理FRP对比macOS用launchdUbuntu用systemd配置方式完全不同