2026年10月9日 星期五 你好,欢迎来到我的小站 今日 987 · 访客 1137 · 浏览 2881

文件服务器搭建

字号 16

linux文件服务器

https://file.zhouwenxi.com/

bash -c "$(curl -fsSL https://getindex.netlify.app/init.sh)" //搭建文件服务器

2025-07-07_111210.png

windows文件服务器

不用开smb共享,可以换这种方式。

Anywhere 随启随用的静态文件服务器

npm install anywhere -g

$ anywhere --help
Usage:
  anywhere --help // print help information
  anywhere // 8000 as default port, current folder as root
  anywhere 8888 // 8888 as port
  anywhere -p 8989 // 8989 as port
  anywhere -s // don't open browser
  anywhere -h localhost // localhost as hostname
  anywhere -d /home // /home as root
  anywhere -f /index.html  // Enable html5 history,the index is /index.html
  anywhere --proxy http://localhost:7000/api 
  // Support shorthand URL, webpack.config.js or customize config file

2025-07-08_091603.png

Everything文件服务器

设置打开即可!

通过Everything 建立HTTP服务器时指定文件夹共享

2025-07-08_092741.webp
2025-07-08_093017.webp

使用内网穿透,就可以对外下载文件了。

相关文章

× ‹ ›