VaalaCat / frp-panel

a multi node frp webui and for [frp](https://github.com/fatedier/frp) server and client management, which makes this project a Cloudflare Tunnel or Tailscale Funnel open source alternative
GNU General Public License v3.0
441 stars 29 forks source link

frp服务端安装到windows系统服务中之后怎么卸载 #12

Closed 1186669517 closed 3 months ago

1186669517 commented 3 months ago

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Ssl3 -bor [Net.SecurityProtocolType]::Tls -bor [Net.SecurityProtocolType]::Tls11 -bor [Net.SecurityProtocolType]::Tls12;set-ExecutionPolicy RemoteSigned;Invoke-WebRequest https://raw.githubusercontent.com/VaalaCat/frp-panel/main/install.ps1 -OutFile C:install.ps1;powershell.exe C:install.ps1 server -s b1d3e5b1-667a-4405-b0c7-db197c4154c5 -i moying.s.zj -a cc321113415cbcc01766e3ec5b844ab9 -r x.x.x.x -c 9001 -p 9000 -e http 上面这一串,输入到powershell之后 怎么停止其服务

VaalaCat commented 3 months ago

C:/frpp/nssm.exe stop frpp C:/frpp/nssm.exe remove frpp

即可

1186669517 commented 3 months ago

C:/frpp/nssm.exe 停止 frpp C:/frpp/nssm.exe 删除 frpp

即可

好的谢谢

oslven commented 3 months ago

PS C:\Users\Administrator> [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Ssl3 -bor [Net.SecurityProtocolType]::Tls -bor [Net.SecurityProtocolType]::Tls11 -bor [Net.SecurityProtocolType]::Tls12;set-ExecutionPolicy RemoteSigned;Invoke-WebRequest https://raw.githubusercontent.com/VaalaCat/frp-panel/main/install.ps1 -OutFile C:install.ps1;powershell.exe C:install.ps1 server -s b1d3e5b1-667a-4405-b0c7-db197c4154c5 -i moying.s.zj -a cc321113415cbcc01766e3ec5b844ab9 -r x.x.x.x -c 9001 -p 9000 -e http

执行策略更改 执行策略可帮助你防止执行不信任的脚本。更改执行策略可能会产生安全风险,如 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies 帮助主题所述。是否要更改执行策略? [Y] 是(Y) [A] 全是(A) [N] 否(N) [L] 全否(L) [S] 暂停(S) [?] 帮助 (默认值为“N”): a Invoke-WebRequest : 未能解析此远程名称: 'raw.githubusercontent.com' 所在位置 行:1 字符: 228

C:install.ps1 : 无法将“C:install.ps1”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路 径,请确保路径正确,然后再试一次。 所在位置 行:1 字符: 1

VaalaCat commented 3 months ago

@oslven 把复制的链接从 https://raw.githubusercontent.com/VaalaCat/frp-panel/main/install.ps1 变成 https://mirror.ghproxy.com/https://raw.githubusercontent.com/VaalaCat/frp-panel/main/install.ps1

是你的网络问题

oslven commented 3 months ago

@oslven 把复制的链接从 https://raw.githubusercontent.com/VaalaCat/frp-panel/main/install.ps1 变成 https://mirror.ghproxy.com/https://raw.githubusercontent.com/VaalaCat/frp-panel/main/install.ps1

是你的网络问题

是我的网络有问题,被墙了