派生自 pfms_20210718_old

编辑 | blame | 历史 | 原始文档

简介

pfms,中文名称:私人文件管理系统,它是基于 EasyFS 二次升级改造,
改造后更方便灵活、文件以及文件夹的管理、定时分享文件,
轻量级文件服务器,支持缩略图,下载支持中文名,不依赖其它容器,可独立部署,
使用Java语言、SpringBoot框架、Thymeleaf模板引擎、Layer前端、Java内存缓存开发.

平台支持

  1. Windows
  2. Linux

预览

image
image
image
image
image
image
image
image

使用场景

私人文件在线管理,主要功能有:
文件上传、下载、查看、删除、重命名、新建文件夹、定时分享文件等...

Linux独立部署

  1. 本地修改配置打包,上传jar包到linux服务器
  2. 运行命令: nohup java -jar fms-1.0.jar &
  3. 访问:http://ip:8081
  4. 你也可以直接使用IDEA导入源码运行

使用指南

配置文件中以下两个参数标识管理员账号和密码:

admin.uname=root
admin.pwd=123

PS: 如果是图片、音频、视频、pdf、网页、文本类型的文件会在浏览器直接打开,其他类型弹出下载框。

服务器参数配置

fs.dir配置为上传到硬盘的指定文件夹中,并且会生成图片缩略图。

其他可选参数

fs.dir:文件上传位置
fs.uuidName:文件是否使用uuid命名
fs.useSm:文件是否生成缩略图
fs.useNginx:文件是否使用nginx做转发
fs.nginxUrl:nginx服务器地址

编辑 | blame | 历史 | 原始文档
MIT License

Copyright (c) 2019 MrCinco

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.