Files
nexus/wiki/sources/ubuntu-an-zhuang-frp-0-65-0-x86-64-cao-zuo-bi-ji.md
2026-04-14 16:02:50 +08:00

53 lines
1.6 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: "Ubuntu 安装 FRP 0.65.0x86_64操作笔记"
type: source
tags: [frp, ubuntu, x86_64, 内网穿透, systemd]
date: 2026-04-13
source_file: raw/Technical/Home Office/🟣Ubuntu 安装 FRP 0.65.0x86_64操作笔记.md
---
## Summary
- 核心主题Ubuntu Server上安装配置FRP内网穿透客户端
- 问题域Linux软件安装、systemd服务管理、内网穿透配置
- 方法/机制:下载解压 → 配置frpc.toml → systemd服务注册
- 结论/价值实现从公网通过VPS访问内网Ubuntu服务器
## Key Claims
- FRP 0.65.0支持x86_64架构
- systemd是Linux推荐的服务管理方式
- 软链接方案便于版本切换
## Key Concepts
- [[内网穿透]]通过FRP实现外网访问内网服务
- [[systemd]]Linux系统服务管理器
- [[FRP]]:高性能内网穿透工具
## Key Entities
- [[Ubuntu Server]]:内网服务器
- [[FRP]]:内网穿透工具
## Connections
- [[Ubuntu Server]] ← 运行 ← [[FRP]]
- [[FRP]] ← 隧道 ← [[VPS]]
## 配置参数
| 参数 | 值 |
|------|-----|
| 安装路径 | /opt/frp/frp_0.65.0_linux_amd64 |
| 服务器地址 | 192.227.222.142 |
| 服务器端口 | 7000 |
| 服务管理 | systemd |
## systemd服务配置
服务文件:`/etc/systemd/system/frpc.service`
- Type=simple
- Restart=on-failure
- ExecStart=/opt/frp/frp_0.65.0_linux_amd64/frpc
## 常用命令
| 命令 | 说明 |
|------|------|
| sudo systemctl start frpc | 启动 |
| sudo systemctl enable frpc | 开机自启 |
| sudo systemctl status frpc | 查看状态 |
| sudo journalctl -u frpc -f | 查看日志 |