This commit is contained in:
2026-04-15 15:20:27 +08:00
parent de93193279
commit e3f83f4746
3 changed files with 136 additions and 29 deletions

View File

@@ -32,9 +32,10 @@ server-config zsh install
会执行:
- `apt update && apt upgrade`
- 安装 `zsh git curl`
- 安装 `zsh git curl wget`
- 切换当前用户 shell 到 `/bin/zsh`
- 安装 oh-my-zsh
- 安装 nvm并执行 `nvm install --lts`
- 安装 `zsh-autosuggestions``zsh-syntax-highlighting`
- 更新 `~/.zshrc` 的插件列表为 `git zsh-autosuggestions zsh-syntax-highlighting`
@@ -63,13 +64,14 @@ server-config frp install --token "$FRP_TOKEN"
默认配置:
- `server_addr = "81.70.134.9"`
- `server_port = 15443`
- `tls_enable = false`
- `tcp_mux = true`
- `log_file = "/var/log/frpc.log"`
- `log_level = "info"`
- `log_max_days = 7`
- `serverAddr = "81.70.134.9"`
- `serverPort = 15443`
- `auth.token = "$FRP_TOKEN"`
- `transport.tls.enable = false`
- `transport.tcpMux = true`
- `log.to = "/var/log/frpc.log"`
- `log.level = "info"`
- `log.maxDays = 7`
- frp 版本:`0.58.1`
- 安装目录:`/opt/frp/frp_0.58.1_linux_amd64`
- systemd 服务:`frpc`