From 30063feba41d00f7737a653e0f354281e8a5c324 Mon Sep 17 00:00:00 2001 From: Docker7530 <121306237+Docker7530@users.noreply.github.com> Date: Tue, 31 Mar 2026 09:04:50 +0800 Subject: [PATCH] 1774919088 --- .obsidian/workspace.json | 15 ++++----- personal/服务器-香港.md | 69 ++------------------------------------ resource/系统/网络/s-ui.md | 64 +++++++++++++++++++++++++++++++++++ 3 files changed, 73 insertions(+), 75 deletions(-) create mode 100644 resource/系统/网络/s-ui.md diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index c548b3d..582a7f8 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -13,13 +13,13 @@ "state": { "type": "markdown", "state": { - "file": "personal/服务器-香港.md", + "file": "000-inbox/2026-03-29_16-52-52.md", "mode": "source", "source": false, "backlinks": false }, "icon": "lucide-file", - "title": "服务器-香港" + "title": "2026-03-29_16-52-52" } }, { @@ -37,8 +37,7 @@ "title": "2026-03-29_16-52-52" } } - ], - "currentTab": 1 + ] } ], "direction": "vertical" @@ -227,17 +226,18 @@ "templater-obsidian:Templater": false } }, - "active": "c3b31f156a70117f", + "active": "1184ee15ec1fc896", "lastOpenFiles": [ - "000-inbox/2026-03-29_16-51-46.md", + "resource/系统/网络/s-ui.md", "personal/服务器-香港.md", + "000-inbox/2026-03-29_16-52-52.md", + "000-inbox/2026-03-29_16-51-46.md", "000-inbox/2026-03-30_20-38-38.md", "resource/系统/ubuntu.md", "resource/ai/大模型安装笔记/关于模型思考问题.md", "000-inbox/n8n 安装.md", "000-inbox/2026-03-29_16-55-23.md", "000-inbox/2026-03-29_22-08-03.md", - "000-inbox/2026-03-29_16-52-52.md", "attachment/Pasted image 20260329165253.png", "000-inbox/2026-03-291.md", "000-inbox/2026-03-291111111111111111111.md", @@ -259,7 +259,6 @@ "attachment/templates/查找未引用图片.md", "calendar/diary/2026-03-28.md", "calendar/diary/2026-03-27.md", - "000-inbox/Untitled 2.md", "attachment/Pasted image 20260329133947.png", "attachment/jsscripts/openTerminal.js", "attachment/jsscripts/新建文本文档.txt", diff --git a/personal/服务器-香港.md b/personal/服务器-香港.md index b23b298..62bcb93 100644 --- a/personal/服务器-香港.md +++ b/personal/服务器-香港.md @@ -121,6 +121,8 @@ jgw5wpe!HVB@vem2wmp # Gitea +注意如果套了 cloudflare 会有文件大小限制,可暂时通过修改 hosts 来处理。同时注意调整 Openresty 中 `client_max_body_size` 的设置。 + ``` 数据库 gitea 数据库用户 gitea @@ -130,73 +132,6 @@ HTTP 端口 3000 SSH 端口 222 ``` -# s-ui - -安装 - -[节点搭建](https://bulianglin.com/archives/nicename.html) - -``` -bash <(curl -Ls https://raw.githubusercontent.com/alireza0/s-ui/master/install.sh) -``` - -``` -############################################### -username:Yha0HLb5 -password:pEJ3HHa7 -############################################### -if you forgot your login info,you can type s-ui for configuration menu -reset admin credentials success -First admin credentials: - Username: Yha0HLb5 - Password: pEJ3HHa7 -Created symlink /etc/systemd/system/multi-user.target.wants/s-ui.service → /etc/systemd/system/s-ui.service. -s-ui vv1.3.7 installation finished, it is up and running now... -You may access the Panel with following URL(s): -Local address: -http://82.158.226.4:2095/app/ -http://172.17.0.1:2095/app/ -http://172.18.0.1:2095/app/ - -Global address: -http://82.158.226.4:2095/app/ - - -The OS release is: ubuntu -S-UI Control Menu Usage ------------------------------------------- -SUBCOMMANDS: -s-ui - Admin Management Script -s-ui start - Start s-ui -s-ui stop - Stop s-ui -s-ui restart - Restart s-ui -s-ui status - Current Status of s-ui -s-ui enable - Enable Autostart on OS Startup -s-ui disable - Disable Autostart on OS Startup -s-ui log - Check s-ui Logs -s-ui update - Update -s-ui install - Install -s-ui uninstall - Uninstall -s-ui help - Control Menu Usage ------------------------------------------- - -``` - -``` -for d in cdn.userway.org intel.com s.mp.marsflag.com ts4.tc.mm.bing.net apps.mzstatic.com beacon.gtv-pub.com mscom.demdex.net www.intel.com go.microsoft.com logx.optimizely.com ; do t1=$(date +%s%3N); timeout 1 openssl s_client -connect $d:443 -servername $d /dev/null && t2=$(date +%s%3N) && echo "$d: $((t2 - t1)) ms" || echo "$d: timeout"; done -``` - -``` -apps.apple.com -``` - -s-ui 配置信息 - -``` -curl --location 'http://82.158.226.4:2095/app/apiv2/load' \ ---header 'Token: HkpCXP8AkxqOjKbo29KdnrlPrlxmNksW' -``` - # excalicode 服务用户 diff --git a/resource/系统/网络/s-ui.md b/resource/系统/网络/s-ui.md new file mode 100644 index 0000000..9d54b29 --- /dev/null +++ b/resource/系统/网络/s-ui.md @@ -0,0 +1,64 @@ +安装 + +[节点搭建](https://bulianglin.com/archives/nicename.html) + +``` +bash <(curl -Ls https://raw.githubusercontent.com/alireza0/s-ui/master/install.sh) +``` + +``` +############################################### +username:Yha0HLb5 +password:pEJ3HHa7 +############################################### +if you forgot your login info,you can type s-ui for configuration menu +reset admin credentials success +First admin credentials: + Username: Yha0HLb5 + Password: pEJ3HHa7 +Created symlink /etc/systemd/system/multi-user.target.wants/s-ui.service → /etc/systemd/system/s-ui.service. +s-ui vv1.3.7 installation finished, it is up and running now... +You may access the Panel with following URL(s): +Local address: +http://82.158.226.4:2095/app/ +http://172.17.0.1:2095/app/ +http://172.18.0.1:2095/app/ + +Global address: +http://82.158.226.4:2095/app/ + + +The OS release is: ubuntu +S-UI Control Menu Usage +------------------------------------------ +SUBCOMMANDS: +s-ui - Admin Management Script +s-ui start - Start s-ui +s-ui stop - Stop s-ui +s-ui restart - Restart s-ui +s-ui status - Current Status of s-ui +s-ui enable - Enable Autostart on OS Startup +s-ui disable - Disable Autostart on OS Startup +s-ui log - Check s-ui Logs +s-ui update - Update +s-ui install - Install +s-ui uninstall - Uninstall +s-ui help - Control Menu Usage +------------------------------------------ + +``` + +``` +for d in cdn.userway.org intel.com s.mp.marsflag.com ts4.tc.mm.bing.net apps.mzstatic.com beacon.gtv-pub.com mscom.demdex.net www.intel.com go.microsoft.com logx.optimizely.com ; do t1=$(date +%s%3N); timeout 1 openssl s_client -connect $d:443 -servername $d /dev/null && t2=$(date +%s%3N) && echo "$d: $((t2 - t1)) ms" || echo "$d: timeout"; done +``` + +``` +apps.apple.com +``` + +s-ui 配置信息 + +``` +curl --location 'http://82.158.226.4:2095/app/apiv2/load' \ +--header 'Token: HkpCXP8AkxqOjKbo29KdnrlPrlxmNksW' +```