LunovaFrps Linux 节点一键部署

← 返回首页

本教程提供 一键安装 / 更新 / 卸载 LunovaFrps 的方式。

准备工作

在执行脚本前,请确保系统已安装以下工具:

若缺少,可先安装:

# Debian / Ubuntu
sudo apt-get update
sudo apt-get install -y curl wget tar systemd

# CentOS / RockyLinux / AlmaLinux
sudo yum install -y curl wget tar systemd

一键部署命令

直接在 Linux 终端执行:

curl -sL https://galaxyfrp-download.xhuzim.top/frps/frps-install.sh -o frps-install.sh && chmod +x frps-install.sh && ./frps-install.sh

一键部署命令

1.1新版部署命令

curl -sL https://resources.xhuzim.top/d/GalaxyFrps/frps-install-1.1.sh -o frps-install-1.1.sh && chmod +x frps-install-1.1.sh && ./frps-install-1.1.sh

脚本功能

运行后交互

脚本会提示你输入(或选择):

端口占用检查(ss / netstat)

建议在部署前检查端口是否被占用:

# 使用 ss(推荐,现代系统普遍自带)
ss -tulnp | grep -E "7000|7500|80|443"

# 使用 netstat(如未安装请先装 net-tools)
# Debian / Ubuntu
sudo apt-get install -y net-tools
# CentOS / RockyLinux / AlmaLinux
sudo yum install -y net-tools

# 检查端口占用
netstat -tulnp | grep -E "7000|7500|80|443"

# 若看到端口被占用,可结束对应 PID(谨慎操作)
sudo kill -9 <PID>

常见命令

# 查看运行状态
sudo systemctl status LunovaFrps

# 停止服务
sudo systemctl stop LunovaFrps

# 重启服务
sudo systemctl restart LunovaFrps

# 查看日志(实时)
sudo journalctl -u LunovaFrps -f

部署失败怎么办?

curl -sL https://galaxyfrp-download.xhuzim.top/frps/frps-install.sh -o frps-install.sh \
&& chmod +x frps-install.sh && ./frps-install.sh

部署完成后

  1. 前往 https://console.xhfrp.xhuzim.top/donate 填写节点信息(节点地区、带宽、端口范围、面板地址、权限等)。
  2. 提交后进入审核流程:
    • 审核通过:节点上线,我们会通过你内网穿透账号绑定邮箱发送提醒。
    • 审核不通过:同样会通过邮箱告知未通过原因及修改建议。