记一次部署 frp-panel 面板
安装
创建目录
mkdir frp-panel
cd frp-panel
编写配置文件 .env
创建文件 .env
写入如下内容,MASTER_RPC_HOST
修改为服务器的公网IP,APP_GLOBAL_SECRET
填入一个随机字符串
MASTER_RPC_HOST=114.51.4.19
APP_GLOBAL_SECRET=xxxxxxxxxxxxxxxx
DB_DSN=./data.db
安装服务
使用安装脚本直接安装 frp-panel
wget https://github.com/VaalaCat/frp-panel/raw/refs/heads/main/install.sh
chmod +x install.sh
bash install.sh
根据脚本提示,完成安装步骤,启动参数无需填写。安装后,设置服务为开机自动启动
systemctl enable frpp
进入面板
安装完成后,使用 http://IP地址:9000
即可进入面板