文件Web预览器kkFileView

By admin , 30 四月, 2025

https://github.com/kekingcn/kkFileView

项目没有提供jar包,需要到一个收费的社区里下载,但可以自己编译:

https://kkview.cn/zh-cn/docs/build.html

编译大概耗时40分钟,编译好后把server/target/kkFileView-4.4.0.jar复制到server/src/main/bin。

做些配置:server/src/main/config/application.properties

  • server.servlet.context-path,base.url(和nginx的反向代理路径前缀保持一致)
  • trust.host(既要添加带域名,也要添加127.0.0.1:8012)

最后运行./startup.sh(需要先chmod a+x赋予脚本运行权限)。

刚启动时大概占用300M内存。

评论

Restricted HTML

  • 允许的HTML标签:<a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <img src>
  • 自动断行和分段。
  • 网页和电子邮件地址自动转换为链接。
CAPTCHA
请输入"Drupal"
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

最新内容

最新评论