type
status
date
slug
summary
tags
category
icon
password
Sing-box 客户端配置教程
更新软件源
apt update下载 sing-box:
wget <https://github.com/SagerNet/sing-box/releases/download/v1.5.4/sing-box_1.5.4_linux_amd64.deb>最新版请在项目官方地址获取:
安装 sing-box:
dpkg -i sing-box_1.5.4_linux_amd64.deb查看配置
dpkg -c sing-box_1.5.4_linux_amd64.deb重新加载 systemd:
systemctl daemon-reload配置文件
先查看配置文件路径
dpkg -c sing-box_1.5.4_linux_amd64.deb进去配置文件目录:
cd /etc/sing-box检查所需需要的UI,数据,配置文件等
下载所需文件
目录结构
/etc/sing-box—ui—cache.db—sonfig.json—geoip.db—geosite.db开机启动
systemctl enable sing-box.service启动singbox:
systemctl start sing-box.service停止sigbox
systemctl stop sing-box.service查看运行状态:
systemctl status sing-box.service重载 singbox:
systemctl reload sing-box.service查看占用/启动服务端口
netstat -ntlp感谢 telegram群折腾日记 大佬 超 @lc1568371 提供帮助修改意见。
欢迎您在底部评论区留言,一起交流~
废话
正文
启动脚本
使用命令
nohup sh XXX.sh &>/dev/null &查看正在运行的脚本
使用命令
ps -ef |grep XXX.sh结束脚本运行
使用命令
kill -15 [进程id]- Author:Scu
- URL:https://bk.9277.eu.org//article/sing-box
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!