From bc06a0f6650f2331edf27f650d083ff3d04c94d8 Mon Sep 17 00:00:00 2001 From: sayurinana Date: Fri, 26 Sep 2025 22:36:38 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=83=20docs:=20=E5=88=9D=E6=AD=A5?= =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/intro.md | 2 +- docs/little-gifts.md | 4 +- docs/ops-doc/2025-09-22_about-this.md | 15 +-- docs/ops-doc/entrance-info/filerun.md | 28 ++++++ docs/ops-doc/entrance-info/gitea.md | 64 +++++++++++++ docs/ops-doc/entrance-info/network-config.md | 4 +- docs/ops-doc/entrance-info/network-printer.md | 59 ++++++++++++ docs/ops-doc/entrance-info/web-explorer.md | 63 +++++++++++++ docs/ops-doc/machine-info/_category_.json | 7 ++ .../machine-info/gitea-Ubuntu-24.04.01.md | 48 ++++++++++ .../machine-info/server-Ubuntu-24.04.01.md | 48 ++++++++++ docs/ops-doc/machine-info/workstation-s14.md | 20 ++++ docs/services/2025-03-03_network-printer.md | 2 +- docs/services/2025-09-24_overview.md | 18 ++-- docs/services/2025-09-26_filerun.md | 91 +++++++++++++++++++ docs/services/2025-09-26_gitea.md | 33 +++++++ docs/services/2025-09-26_web-explorer.md | 53 +++++++++++ docs/services/2025-09-26_wifi.md | 26 ++++++ 18 files changed, 559 insertions(+), 26 deletions(-) create mode 100644 docs/ops-doc/entrance-info/filerun.md create mode 100644 docs/ops-doc/entrance-info/gitea.md create mode 100644 docs/ops-doc/entrance-info/network-printer.md create mode 100644 docs/ops-doc/entrance-info/web-explorer.md create mode 100644 docs/ops-doc/machine-info/_category_.json create mode 100644 docs/ops-doc/machine-info/gitea-Ubuntu-24.04.01.md create mode 100644 docs/ops-doc/machine-info/server-Ubuntu-24.04.01.md create mode 100644 docs/ops-doc/machine-info/workstation-s14.md create mode 100644 docs/services/2025-09-26_filerun.md create mode 100644 docs/services/2025-09-26_gitea.md create mode 100644 docs/services/2025-09-26_web-explorer.md create mode 100644 docs/services/2025-09-26_wifi.md diff --git a/docs/intro.md b/docs/intro.md index 4fbb9f5..2241740 100644 --- a/docs/intro.md +++ b/docs/intro.md @@ -44,7 +44,7 @@ testuser-001 %,},.,>s6.}=&}Mh6Z#@4jjR ``` -则同样的内容位置,在外站显示的是: +则同样的内容位置,在外站显示的是(如果是支持公网访问的服务,问号部分的东西会发在群公告里,用到的时候去群公告里复制就好): #### 可供使用的账户密码 diff --git a/docs/little-gifts.md b/docs/little-gifts.md index d4ec2b9..849a1cb 100644 --- a/docs/little-gifts.md +++ b/docs/little-gifts.md @@ -10,7 +10,7 @@ title: '小小福利' 想给自己也做一个但是无从下手,或者在某个步骤卡住了几个小时、几天, -那作为实验室的成员,可以直接问我,应该能少踩不少坑, +那作为实验室的成员,趁我还没毕业,可以直接问我,应该能少踩不少坑, 比如想做出以下效果: @@ -148,4 +148,4 @@ github pages提供免费的静态网页托管, ennnnn,稍托大一点的说,你在大学期间能碰见的软件方面的问题,我应该都能解决,包括系统软件和应用软件, -硬件嘛,,,还在学哈哈哈哈 \ No newline at end of file +硬件嘛,,,暂时还得问其他学长和老师了,我还在学哈哈 \ No newline at end of file diff --git a/docs/ops-doc/2025-09-22_about-this.md b/docs/ops-doc/2025-09-22_about-this.md index b64b4ee..1cfe700 100644 --- a/docs/ops-doc/2025-09-22_about-this.md +++ b/docs/ops-doc/2025-09-22_about-this.md @@ -16,18 +16,7 @@ title: '关于本文档' 源代码仓库仅托管在实验室内部提供的代码托管平台上, -[sayurinana/huse-lab-ops-doc - huse-lab-ops-doc - 实验室自用 - git仓库托管平台](http://gitea.lab.net/sayurinana/huse-lab-ops-doc) +[sayurinana/huse-lab - huse-lab - 实验室自用 - git仓库托管平台](http://gitea.lab.net/sayurinana/huse-lab) -![image-20250922214711394](https://sayurinana-aliyun-oss.oss-cn-beijing.aliyuncs.com/auto-upload-img-hub/huse-lab-ops-doc/202509230111301.png) +![image-20250926204145027](https://sayurinana-aliyun-oss.oss-cn-beijing.aliyuncs.com/auto-upload-img-hub/huse-lab/202509262041898.png) -## 为什么要倒腾这些 - -首先,对于这个文档,就是字面意思辅助运维, - -免得之后要再添加服务要加IP加端口的时候不清楚哪些已经使用了哪些还没用, - -还有在后续改对原有的服务进行更改的时候,可能会忘记了服务的入口和认证配置项, - -一般这些服务配置好之后如果不出意外或没别的需求,就可能再也不会动了,用不到自然就忘记了,这不是些什么天天折腾的东西, - -然后,对于这个文档所维护的那些服务, diff --git a/docs/ops-doc/entrance-info/filerun.md b/docs/ops-doc/entrance-info/filerun.md new file mode 100644 index 0000000..dc6ddea --- /dev/null +++ b/docs/ops-doc/entrance-info/filerun.md @@ -0,0 +1,28 @@ +--- +sidebar_position: 5 +sidebar_label: 'filerun服务' +title: 'filerun服务' +--- + +## 概述 + +作为docker容器跑在[Ubuntu虚拟机-server](../machine-info/server-Ubuntu-24.04.01.md)里, + +## 关键配置 + +docker配置文件和本地数据目录: + +``` +/opt/myappdata/filerun-local-lan +``` + +``` +/opt/myappdata/filerun-public-web +``` + +修改配置文件后重新创建和运行容器: + +``` +docker compose up -d +``` + diff --git a/docs/ops-doc/entrance-info/gitea.md b/docs/ops-doc/entrance-info/gitea.md new file mode 100644 index 0000000..b553bfe --- /dev/null +++ b/docs/ops-doc/entrance-info/gitea.md @@ -0,0 +1,64 @@ +--- +sidebar_position: 4 +sidebar_label: 'gitea服务' +title: 'gitea服务' +--- + +## 概述 + +单独跑在[Ubuntu虚拟机-gitea](../machine-info/gitea-Ubuntu-24.04.01.md)里, + +以可执行二进制文件的形式安装部署, + +文档参考:[关于Gitea | Gitea Documentation](https://docs.gitea.com/zh-cn/) + +安装时遵循:[使用二进制文件安装 | Gitea Documentation](https://docs.gitea.com/zh-cn/installation/install-from-binary) + +所需的数据库由 1Panel 面板管理, + +## 关键配置 + +可执行文件路径: + +``` +/usr/local/bin/gitea +``` + +数据存储路径: + +``` +/var/lib/gitea/ +``` + +配置文件路径: + +``` +/etc/gitea/ +``` + +服务配置文件路径: + +``` +/etc/systemd/system/gitea.service +``` + +数据库名,数据库用户名,用户密码(三个相同): + +``` +gitea +``` + +1panel 面板登录入口与用户名密码: + +``` +❔❔❔❔❔ +``` + +``` +❔❔❔❔❔ +``` + +``` +❔❔❔❔❔ +``` + diff --git a/docs/ops-doc/entrance-info/network-config.md b/docs/ops-doc/entrance-info/network-config.md index c44f1dd..37b3e31 100644 --- a/docs/ops-doc/entrance-info/network-config.md +++ b/docs/ops-doc/entrance-info/network-config.md @@ -44,6 +44,8 @@ title: '网络配置情况' 目前设置了静态IP的机器有以下几台, +**(仅供参考,如果要改动,请登录后台查看实时状态)** + ![image-20250922205034998](https://sayurinana-aliyun-oss.oss-cn-beijing.aliyuncs.com/auto-upload-img-hub/huse-lab-ops-doc/202509222056309.png) ### 需要固定IP时 @@ -52,5 +54,5 @@ title: '网络配置情况' 也就是说,如果某台机器需要固定IP,主要有两种正规方式: -1. 手动为那台机器设置 192.168.31.2 ~ 192.168.31.99 的IPv4配置,要注意不要IP冲突了 +1. 手动为那台机器设置 **192.168.31.2 ~ 192.168.31.99** 的IPv4配置,要注意不要IP冲突了 2. 在路由器管理页面里设置静态IP,可以按惯例继续在 2xx 号里定,或者自己选都行 diff --git a/docs/ops-doc/entrance-info/network-printer.md b/docs/ops-doc/entrance-info/network-printer.md new file mode 100644 index 0000000..1564ec4 --- /dev/null +++ b/docs/ops-doc/entrance-info/network-printer.md @@ -0,0 +1,59 @@ +--- +sidebar_position: 3 +sidebar_label: '网络打印机' +title: '网络打印机' +--- + +## 概述 + +单独开了一个win 10的虚拟机,1核2G,IP是: + +``` +192.168.31.201 +``` + +把打印机直接虚拟化接到虚拟机里,然后把它网络共享,就成了, + +## 关于这台虚拟机的配置 + +用win10是因为曾经遇到过一些bug,之前是直接用我自己主机连打印机,然后我的电脑是win11,直接在打印机那里共享的, + +后来遇到有人总是连不上打印机,最后定位到确定是操作系统的锅,换了虚拟机装win10开共享就解决了, + +给2GB内存是因为以前给1GB内存时,偶尔会在运行几个小时之后虚拟机卡住, + +就是虽然也能提供服务,网络打印机也能用,但是在VMware里面点win10界面没有反应了,界面卡死, + +给提到2GB内存就没遇到过这个问题了, + +## 用户账户 + +115b那个不用了,不过也懒得删了,密码是: + +``` +❔❔❔❔❔ +``` + +虚拟机默认登录用的账户密码是: + +``` +❔❔❔❔❔ +``` + +用来给网络共享打印机开权限和登录用的账户是: + +``` +lab +``` + +``` +❔❔❔❔❔ +``` + +## 状态截图 + +![image-20250926205809353](https://sayurinana-aliyun-oss.oss-cn-beijing.aliyuncs.com/auto-upload-img-hub/huse-lab/202509262109979.png) + +![image-20250926210011647](https://sayurinana-aliyun-oss.oss-cn-beijing.aliyuncs.com/auto-upload-img-hub/huse-lab/202509262109751.png) + +![image-20250926210050997](https://sayurinana-aliyun-oss.oss-cn-beijing.aliyuncs.com/auto-upload-img-hub/huse-lab/202509262109425.png) diff --git a/docs/ops-doc/entrance-info/web-explorer.md b/docs/ops-doc/entrance-info/web-explorer.md new file mode 100644 index 0000000..f5fe78f --- /dev/null +++ b/docs/ops-doc/entrance-info/web-explorer.md @@ -0,0 +1,63 @@ +--- +sidebar_position: 6 +sidebar_label: 'web目录浏览' +title: 'web目录浏览' +--- + +## 概述 + +web服务由 1panel 管理的网站配置提供, + +跑在[Ubuntu虚拟机-server](../machine-info/server-Ubuntu-24.04.01.md)里, + +## 关键配置 + +具体的配置是在配置文件中手动编辑设置的, + +![image-20250926222405619](https://sayurinana-aliyun-oss.oss-cn-beijing.aliyuncs.com/auto-upload-img-hub/huse-lab/202509262224328.png) + +使用的路径是: + +``` +/www/res +``` + +但是这个路径不是真实的虚拟机的文件系统路径, + +这个位置的文件来自[袁观杰的主机](../machine-info/workstation-s14.md)的: + +``` +D:\classification\share +``` + +这个位置通过VMware的共享文件夹功能映射到虚拟机中: + +``` +/mnt/hgfs/D/classification/share +``` + +把这个虚拟机路径配置为1panel使用的web服务容器openresty的挂载卷,最后得到在openresty容器中的位置为: + +``` +/www/res/public +``` + +即: + +``` +D:\classification\share (物理机) + + ====== >>> + +/mnt/hgfs/D/classification/share (共享到虚拟机) + + ====== >>> + +/www/res/public (挂载到容器内) +``` + +![image-20250926222305625](https://sayurinana-aliyun-oss.oss-cn-beijing.aliyuncs.com/auto-upload-img-hub/huse-lab/202509262223768.png) + +![image-20250926221525604](https://sayurinana-aliyun-oss.oss-cn-beijing.aliyuncs.com/auto-upload-img-hub/huse-lab/202509262223951.png) + +![image-20250926221604255](https://sayurinana-aliyun-oss.oss-cn-beijing.aliyuncs.com/auto-upload-img-hub/huse-lab/202509262223983.png) diff --git a/docs/ops-doc/machine-info/_category_.json b/docs/ops-doc/machine-info/_category_.json new file mode 100644 index 0000000..02d57c4 --- /dev/null +++ b/docs/ops-doc/machine-info/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "机器信息", + "position": 3, + "link": { + "type": "generated-index" + } +} diff --git a/docs/ops-doc/machine-info/gitea-Ubuntu-24.04.01.md b/docs/ops-doc/machine-info/gitea-Ubuntu-24.04.01.md new file mode 100644 index 0000000..b1a8a5c --- /dev/null +++ b/docs/ops-doc/machine-info/gitea-Ubuntu-24.04.01.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 3 +sidebar_label: 'Ubuntu虚拟机-gitea' +title: 'Ubuntu虚拟机-gitea' +--- + +## 概述 + +跑在[袁观杰的主机](./workstation-s14.md)上的虚拟机,操作系统是Ubuntu 24.04.01 LTS, + +## 关键配置 + +IP: + +``` +192.168.31.203 +``` + +用户名和密码: + +``` +❔❔❔❔❔ +``` + +``` +❔❔❔❔❔ +``` + +root密码: + +``` +❔❔❔❔❔ +``` + +1Panel 入口和用户名密码: + +``` +❔❔❔❔❔ +``` + +``` +❔❔❔❔❔ +``` + +``` +❔❔❔❔❔ +``` + diff --git a/docs/ops-doc/machine-info/server-Ubuntu-24.04.01.md b/docs/ops-doc/machine-info/server-Ubuntu-24.04.01.md new file mode 100644 index 0000000..344913b --- /dev/null +++ b/docs/ops-doc/machine-info/server-Ubuntu-24.04.01.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 2 +sidebar_label: 'Ubuntu虚拟机-服务器' +title: 'Ubuntu虚拟机-服务器' +--- + +## 概述 + +跑在[袁观杰的主机](./workstation-s14.md)上的虚拟机,操作系统是Ubuntu 24.04.01 LTS, + +## 关键配置 + +IP: + +``` +192.168.31.202 +``` + +用户名和密码: + +``` +❔❔❔❔❔ +``` + +``` +❔❔❔❔❔ +``` + +root密码: + +``` +❔❔❔❔❔ +``` + +1Panel 入口和用户名密码: + +``` +❔❔❔❔❔ +``` + +``` +❔❔❔❔❔ +``` + +``` +❔❔❔❔❔ +``` + diff --git a/docs/ops-doc/machine-info/workstation-s14.md b/docs/ops-doc/machine-info/workstation-s14.md new file mode 100644 index 0000000..f1181b8 --- /dev/null +++ b/docs/ops-doc/machine-info/workstation-s14.md @@ -0,0 +1,20 @@ +--- +sidebar_position: 1 +sidebar_label: '袁观杰的主机' +title: '袁观杰的主机' +--- + +## 概述 + +为VMware虚拟机提供资源 + +## 配置 + +| 硬件 | 数据 | +| ---- | ---------------------------- | +| CPU | 11400 | +| RAM | 32G DDR4 | +| 硬盘 | 500G SSD + 12T HDD + 10T HDD | + +IP :静态IP 192.168.31.200 + diff --git a/docs/services/2025-03-03_network-printer.md b/docs/services/2025-03-03_network-printer.md index 9ee9207..9a6adc2 100644 --- a/docs/services/2025-03-03_network-printer.md +++ b/docs/services/2025-03-03_network-printer.md @@ -1,5 +1,5 @@ --- -sidebar_position: 2 +sidebar_position: 3 sidebar_label: '网络打印机' title: '网络打印机' --- diff --git a/docs/services/2025-09-24_overview.md b/docs/services/2025-09-24_overview.md index aba35c4..8059a24 100644 --- a/docs/services/2025-09-24_overview.md +++ b/docs/services/2025-09-24_overview.md @@ -6,7 +6,7 @@ title: '服务总览' ## 概述 -这里只是提供一个快捷的访问入口速览,和它对应的用户名与密码, +这里只是提供一个快捷的访问入口汇聚速览, 如果不清楚有什么用和怎么用的,在服务使用书里单独的对应文档里找, @@ -14,6 +14,8 @@ title: '服务总览' > 域名访问功能由路由器局部解析提供, > +> WiFi连接详见[实验室的WiFi](./2025-09-26_wifi.md), +> > 如果已经连上了WiFi `laboratory_5GHz` 或 `laboratory_2.4GHz` 但是浏览器无法打开网页, > > 请检查是否挂了网络代理(例如V2RayN、网络加速器等软件)或VPN, @@ -58,21 +60,21 @@ ok ## gitea git仓库托管平台 -http://git.lab.net +http://gitea.lab.net 支持公网访问: http://106.14.17.86:11101 -> 注意:内网的 http://git.lab.net 同时支持http协议的仓库地址和ssh协议的仓库地址,例如: +> 注意:内网的 http://gitea.lab.net 同时支持http协议的仓库地址和ssh协议的仓库地址,例如: > -> http://gitea.lab.net/sayurinana/huse-lab.git +> - http://gitea.lab.net/sayurinana/huse-lab.git > -> git@gitea.lab.net:sayurinana/huse-lab.git +> - git@gitea.lab.net:sayurinana/huse-lab.git > > 但公网的 http://106.14.17.86:11101 仅支持http协议的仓库地址 > -> http://106.14.17.86:11101/sayurinana/huse-lab.git +> - http://106.14.17.86:11101/sayurinana/huse-lab.git ## filerun 文件共享服务 @@ -88,7 +90,7 @@ a resource ``` -支持公网访问: +支持公网访问外站: http://106.14.17.86:12001 @@ -110,7 +112,7 @@ ennnnnn,外站不给开resource,那里面都是系统镜像和大体积的 开个交换空间账户,万一有用到的时候可以做个临时中转, -## filerun public 文件夹的web文件浏览 +## filerun 用户 a 文件夹的web文件浏览 http://file.lab.net:9999 diff --git a/docs/services/2025-09-26_filerun.md b/docs/services/2025-09-26_filerun.md new file mode 100644 index 0000000..9360cc0 --- /dev/null +++ b/docs/services/2025-09-26_filerun.md @@ -0,0 +1,91 @@ +--- +sidebar_position: 5 +sidebar_label: 'filerun 文件共享服务' +title: 'filerun 文件共享服务' +--- + +## 概述 + +一个以网页形式提供服务的文件服务器, + +按账户密码进行用户登录认证, + +也就是只要有能联网的设备,有浏览器,就能上传和下载文件,传输速度取决于网速, + +## 服务网址 + +http://file.lab.net + +内站的用户名和密码(一共两个账号,用户名和密码相同,比如第一个`a`的意思就是用户名和密码都是`a`): + +``` +a +``` + +``` +resource +``` + +支持公网访问外站: + +http://106.14.17.86:12001 + +外站的用户名和密码: + +``` +a +``` + +``` +❔❔❔❔❔ +``` + +ennnnnn,外站不给开resource,那里面都是系统镜像和大体积的安装包之类的东西, + +公网流量下载太贵了,如果需要Adobe全家桶或者Autodesk全家桶的破解激活软件安装包的百度网盘链接,或者直接QQ给你发一份, + +倒是可以跟我发个消息我给你发就好了, + +开个交换空间账户,万一有用到的时候可以做个临时中转, + +## 关于外站和内站 + +是由两个不同的docker容器提供的服务,映射的文件路径相同,登录的用户名也相同,只有密码不同, + +## 两个用户账户 + +### a + +这个在内站的用户名密码都是 `a`,主要就是方便用的时候省时省事, + +临时快速传大文件用, + +### resource + +> 这个一般情况下用不到,毕竟里面都是我的文件,在预先不知道某个文件有没有的情况下,不好找东西, +> +> 只是,比如你要是需要Adobe的PS或其他软件,Jetbrains的IDEA或其他IDE的安装包和破解程序, +> +> 你可以问问我这有没有,有的话我直接给你发个链接,你用 `resource` 账户登录,几十秒就下完了, +> +> 免得在网上找几个小时又下载几个小时结果还是个无效资源时间全浪费了, + +这个用户登录后的权限是只读的,只能下载里面的文件,不能存和删除, + +主要是分享后面那三个文件夹里的东西,字面意思,安装包,系统镜像,虚拟机, + +其中系统镜像大多是从各官网下载的原镜像文件, + +虚拟机是已经装好过操作系统刚刚安装完成时的状态的数据文件,打包制作来的压缩包,解压即可用VMware运行使用, + +例如如果你想尝试MS DOS系统,Win XP,之类的,但是想跳过前面的安装过程,可以直接下个这里面的压缩包解压出来跑一跑, + +![image-20250926200014752](https://sayurinana-aliyun-oss.oss-cn-beijing.aliyuncs.com/auto-upload-img-hub/huse-lab/202509262039396.png) + +![image-20250926200202397](https://sayurinana-aliyun-oss.oss-cn-beijing.aliyuncs.com/auto-upload-img-hub/huse-lab/202509262039798.png) + +![image-20250926200245038](https://sayurinana-aliyun-oss.oss-cn-beijing.aliyuncs.com/auto-upload-img-hub/huse-lab/202509262039012.png) + +![image-20250926200328735](https://sayurinana-aliyun-oss.oss-cn-beijing.aliyuncs.com/auto-upload-img-hub/huse-lab/202509262039234.png) + +![image-20250926200342967](https://sayurinana-aliyun-oss.oss-cn-beijing.aliyuncs.com/auto-upload-img-hub/huse-lab/202509262039978.png) diff --git a/docs/services/2025-09-26_gitea.md b/docs/services/2025-09-26_gitea.md new file mode 100644 index 0000000..211ef43 --- /dev/null +++ b/docs/services/2025-09-26_gitea.md @@ -0,0 +1,33 @@ +--- +sidebar_position: 4 +sidebar_label: 'gitea git仓库托管平台' +title: 'gitea git仓库托管平台' +--- + +## 概述 + +一个界面和操作都类似github的平台, + +这里是私有化部署的,也就是数据存储和控制权全都在本地机器上, + +一般的话其实应该用不着这玩意儿,大家直接用github就好了, + +如果想用的话可以试一下, + +## 服务网址 + +http://gitea.lab.net + +支持公网访问: + +http://106.14.17.86:11101 + +> 注意:内网的 http://gitea.lab.net 同时支持http协议的仓库地址和ssh协议的仓库地址,例如: +> +> - http://gitea.lab.net/sayurinana/huse-lab.git +> +> - git@gitea.lab.net:sayurinana/huse-lab.git +> +> 但公网的 http://106.14.17.86:11101 仅支持http协议的仓库地址 +> +> - http://106.14.17.86:11101/sayurinana/huse-lab.git diff --git a/docs/services/2025-09-26_web-explorer.md b/docs/services/2025-09-26_web-explorer.md new file mode 100644 index 0000000..49abe44 --- /dev/null +++ b/docs/services/2025-09-26_web-explorer.md @@ -0,0 +1,53 @@ +--- +sidebar_position: 6 +sidebar_label: 'web文件浏览' +title: 'web文件浏览' +--- + +## 概述 + +这是filerun服务的用户a登录后那个文件夹的目录浏览版网页服务, + +主要是用于给有网但是没有浏览器的设备传输文件用,比如嵌入式设备, + +可以使用 `wget` 、`curl` 或者其它能实现类似功能的工具软件来进行网络下载,只要支持http协议即可, + +## 服务网址 + +http://file.lab.net:9999 + +http://192.168.31.202:9999 + +## 用法示例 + +例如现在,文件服务器里是这些文件, + +假设我需要给一个设备传输 `test-file.txt` 文件过去, + +登录filerun,把文件拖进去就上传好了,然后切到9999端口,复制一下链接, + +然后粘贴下载,就好了 + +### filerun文件服务器的状态 + +![image-20250926203110834](https://sayurinana-aliyun-oss.oss-cn-beijing.aliyuncs.com/auto-upload-img-hub/huse-lab/202509262038939.png) + +### web文件浏览的内容 + +filerun的a用户的主目录就是映射的public这个目录,打开public,就是第二张图的内容, + +也就是说,如果在 http://file.lab.net/ 里,上传了一个 `测试文件.txt` , + +就可以打开 http://file.lab.net:9999/public/ ,在里面能看到一个 `测试文件.txt` , + +右击这个文件打开快捷菜单,复制链接就能得到 http://file.lab.net:9999/public/%E6%B5%8B%E8%AF%95%E6%96%87%E4%BB%B6.txt, + +这个有中文,转码后链接很长,换成是 `test-file.txt` ,那么, + +它的链接就是 http://file.lab.net:9999/public/test-file.txt , + +或者 http://192.168.31.202:9999/public/test-file.txt ,这两个都是有效的, + +![image-20250926202529389](https://sayurinana-aliyun-oss.oss-cn-beijing.aliyuncs.com/auto-upload-img-hub/huse-lab/202509262038825.png) + +![image-20250926203206369](https://sayurinana-aliyun-oss.oss-cn-beijing.aliyuncs.com/auto-upload-img-hub/huse-lab/202509262038291.png) diff --git a/docs/services/2025-09-26_wifi.md b/docs/services/2025-09-26_wifi.md new file mode 100644 index 0000000..4ea3f87 --- /dev/null +++ b/docs/services/2025-09-26_wifi.md @@ -0,0 +1,26 @@ +--- +sidebar_position: 2 +sidebar_label: '实验室的WiFi' +title: '实验室的WiFi' +--- + +有俩WiFi,实质上完全是同一个网络,只是频段不一样,并且不同频段导致它的网速上限也不一样, + +密码都是4个ok,`okokokok`, + +``` +laboratory_5GHz +``` + +``` +laboratory_2.4GHz +``` + +都是[二级路由器](../ops-doc/entrance-info/networking#二级路由器)建立的WiFi网络,有需要的话也可以直接找到这个路由器,牵根网线出来有线接入, + +这个路由器的型号是Redmi AX6S,它的 + +5GHz的上限是理论最高2402Mbps,实际大概在1000Mbps左右, + +2.4GHz的上限是理论最高800Mbps,实际大概在100Mbps左右,这个频段开着主要是给嵌入式设备和其他几乎只支持2.4GHz频段的设备用的, +