1 Star 0 Fork 1K

liucuiqiang / DocSys

forked from Rainy / DocSys 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
GPL-2.0

MxsDoc

MxsDoc是基于Web的文件管理系统,支持权限管理、历史版本管理、Office预览/编辑、WPS预览/编辑、在线解压缩、文件分享、文件加密、远程存储、远程文件推送、秒传、断点续传、智能搜索、文件备注、本地自动备份、异地自动备份、一键迁移。

主要应用场景:文件管理系统、文档安全管理系统、分布式文档管理系统、协同办公系统、电子书、软件接口管理系统、自动备份软件、网页版SVN仓库、网页版GIT仓库、FTP客户端、SFTP客户端、SMB客户端、Linux系统远程文件访问。

一键安装 [一键安装,立即使用]

立即体验 [账号/密码: guest/guest]

全平台支持:Linux,Windows,Mac.

输入图片说明

开源协议: 采用GPL 2.0协议;

输入图片说明

多仓库支持

支持定义各自的文件存储、版本管理、权限管理、全文搜索和文件加密规则 输入图片说明

存储更安全

本地化文件存储方案,避免系统意外损坏对仓库文件造成影响 输入图片说明

历史版本

采用目前最流行的SVN和GIT版本仓库,支持增量历史版本管理,支持脱离MxsDoc系统进行访问 输入图片说明

在线编辑

支持各种文本文件在线编辑,支持Office文件协同编辑,无任何外部依赖(无需安装和部署其他Office编辑软件或系统) 输入图片说明

文件分享

支持文件和目录分享,支持访问权限设置和密码访问控制 输入图片说明

全文搜索

支持文件名、文件备注、文件内容搜索,让文件查找更加快捷方便 输入图片说明

后台管理

支持用户管理、用户组管理、仓库管理、系统管理 输入图片说明

系统安装与升级

一、系统安装

1、下载一键安装包

2、安装

(1)解压系统安装包至本地目录

(2)运行start脚本启动系统

注意: 本地目录不得包含空格和中文

3、访问

本机访问:http://localhost:8100/DocSystem

远程访问:将localhost改为IP地址即可

二、系统升级

1、下载DocSystem.war

2、升级

(1)运行stop脚本停止系统

(2)备份tomcat/webapps/DocSystem/WEB-INF/classes/jdbc.properties

(3)删除tomcat/webapps/DocSystem目录

(4)将DocSystem.war解压至tomcat/webapps/DocSystem目录

(5)替换tomcat/webapps/DocSystem/WEB-INF/classes/jdbc.properties

(6)运行start脚本启动系统

限制与价格

限制

功能限制 社区版 个人版 专业版 企业版
价格 免费 免费 购买 购买
文件管理功能 + + + +
权限管理功能 + + + +
用户管理功能 + + + +
历史版本功能 + + + +
文件备注功能 + + + +
全文搜索功能 + + + +
文件分享功能 + + + +
在线解压功能 + + + +
文本文件预览 + + + +
文本文件编辑 + + + +
跨仓库推送功能 + + + +
跨服务器推送功能 + + + +
Office文件预览 - + + +
Office文件编辑 - + + +
日志管理功能 - + + +
远程存储功能 - + - +
本地自动备份 - + - +
异地自动备份 - + - +
文件加密功能 - + - +
LDAP单点登录 - - - +
用户限制 5人 购买 购买
售后服务 一年

商业版价格

专业版价格

有效期/用户数量 20人 50人 100人 200人 500人 不限
长期 3500元 5500元 7500元 9500元 12500元 18500元

企业版价格

有效期/用户数量 20人 50人 100人 200人 500人 不限
长期 7500元 9500元 12500元 18500元 26500元 35000元

技术咨询与购买

购买与咨询 请加群 : 953982034

常见问题

一、二次开发如何集成商业版功能

1、编译开源版本 DocSystem.war

2、下载对应的商业版本DocSystem.war

3、集成商业版功能

复制商业版本中的 DocSystem\web\static\office-editor 和 DocSystem\WEB-INF\classes\com\DocSystem\websocket 目录到开源版本对应的目录

二、商业版如何转成个人版

1、将 DocSystem/defaultDocSysType 的内容改为3

三、商业版如何转成社区版

1、删除 DocSystem\WEB-INF\classes\com\DocSystem\websocket 目录

四、数据库常见问题

1、 使用自定义mysql数据库无法登录

1.1、手动创建数据库
1.2、触发数据库初始化

删除docSys.ini/version文件,重启MxsDoc

2、 mysql无法向文件写入数据

通常发生在linux系统,Linux系统的一些特殊目录(例如:根目录和root目录)通常不允许写入文件

建议更换mxsdoc在Linux系统的安装目录

3、 mysql不支持带空格的路径

通常发生在windows系统,建议将mxsdoc安装在不带空格的目录下

4、mysql启动时缺少libiao库

通常发生在linux系统,有些Linux系统没有默认安装libiao库,手动安装即可

5、mysql Crash导致无法再次启动

删除tc.log文件,重新启动mysql即可

五、Office编辑常见问题

1、Linux系统Office无法预览和编辑

1.1、手动安装动态库

复制 DocSystem\web\static\office-editor\libs\Linux 目录下的所有动态库到 /usr/lib64 目录

1.2、重启MxsDoc

2、Linux系统Excel在线编辑退出后,修改内容丢失

2.1、安装字体库

yum -y install fontconfig

2.2、添加中文字体

将 C:/Windows/Fonts 字体文件复制到 /usr/share/fonts 目录

2.3、生成 fonts.scale 文件

yum -y install ttmkfdir

2.4、刷新字体缓存

fc-cache

2.5、重新生成office字体库

运行 DocSystem\web\static\office-editor\bin\documentserver-generate-allfonts.sh

3、Linux系统 Office 编辑握手延时过大,导致文件打开失败

与DNS解析的配置有关,解决方法如下:

(1)通过 hostnamectl 获取机器名

(2)在 /etc/hosts 文件中添加对应IP的反解析 添加以下内容: 内网IP 机器名全称 机器名(去掉.后缀) 实例: 192.168.0.11 AP-SHA-VM-P85.internal.sungard.corp AP-SHA-VM-P85

4、Windows系统Office无法预览和编辑

4.1、检查系统缺少的动态库并修复

双击运行 DocSystem\web\static\office-editor\bin\documentserver-generate-allfonts.bat ,根据报错提示确定需要修复的动态库

六、什么是分布式远程存储

1、仓库文件可以存储在远程文件服务器(FTP/SFTP/SMB/SVN/GTI/MXSDOC)

2、在当前仓库可查看远程文件服务器文件

3、可将当前仓库文件推送到远程服务器

4、可将远程服务器文件拉取到当前仓库

5、仓库可以独立于远程文件服务器进行文件操作和版本管理

七、什么是文件服务器前置

  1. 设置为文件服务器前置的仓库,可以作为的文件服务器的客户端使用,

  2. 在该仓库页面上,能够查看和操作文件服务器(FTP/SFTP/SMB/SVN/GTI/MXSDOC)上的文件和目录

八、如何使用MxsDoc作为自动备份工具

  1. 新建仓库

  2. 设置文件存储路径,自定义为需要备份的目录

  3. 设置自动备份

(1)本地自动备份需要指定本地备份目录

(2)异地自动备份需要指定备份的文件服务器(目前支持FTP/SFTP/SMB/SVN/GTI/MXSDOC)

(3)根据自己需求勾选备份时间

九、其他常见问题

1、Linux系统中文乱码

1.1、查看当前使用的系统语言

echo $LANG

1.2、查看是否已安装有中文语言包

locale

如有 zh cn 表示已经安装了中文语言

1.3、安装中文语言包

yum groupinstall chinese-support

1.4、修改系统默认语言

vi /etc/sysconfig/i18n

修改为 LANG="zh_CN.UTF-8" 并重启系统

2、Windows的共享文件夹无法远程访问

  1. 打开控制面板-->程序和功能-->启用或关闭windows功能-->勾选SMB 1.0/CIFS文件共享支持

  2. 重启系统

3、数据库文件导入后仓库找不到

原来的数据库字段和新的格式不一致,重置数据库后再导入即可

4、数据库文件导入后仓库的全文搜索设置异常

数据库直接导入不会触发仓库的数据初始化,导致仓库的全文搜索配置为空引起异常,重启系统即可

5、LDAP设置说明

5.1 LDAP设置格式如下

ldap://【域控服务器地址】:【端口】/【基础DN】;【鉴权方式】;【鉴权账号】;【鉴权密码】;【登录账号属性】;【密码校验模式】

5.2 参数说明

######【域控服务器地址】

域控服务地址,可以是域名或IP地址

######【域控服务器端口】

端口默认为389

######【基础DN】

域控服务器的basedn,例如:ou=test,dc=gofreeteam,dc=com,请根据自己公司的basedn进行设置

######【鉴权方式】

域控服务器登录验证方式,例如:authentication=simple,支持以下鉴权方式:

simple\none\DIGEST-MD5\EXTERNAL\CRAM-MD5\GSSAPI

######【鉴权账号】

设置了该参数表示使用指定账号进行域控服务器登录验证,例如:userAccount=admin,否则使用登录账号进行域控服务器账号验证

######【鉴权密码】

仅在设置了鉴权账号的情况下生效,例如:userPassword=admin123

######【登录账号属性】

默认用户登录账号的属性为 uid,设置了该参数,表明使用指定属性查询登录账号的信息,例如:loginMode=cn

######【密码校验模式】

authMode=0:表示不需要进行登录密码校验

authMode=1:表示需要进行登录密码校验

6、FTP服务器连接成功,但无法获取文件列表

FTP服务器为被动模式情况下,需要在MxsDoc的FTP配置中增加参数 isPassive=1

十、调试日志获取

1、调试日志获取(系统可登录)

  1. 进入系统设置页面(管理后台 -> 系统设置)

  2. 调试日志等级设置为debug

  3. 勾选输出到文件

  4. 测试完成后,点击下载

2、调试日志获取(系统无法登录时)

  1. 调试日志等级设置为debug

    将 docsys\tomcat\webapps\docSys.ini\debugLogLevel 文件里的内容改为 0

  2. Windows系统:用startWithLog.bat启动,日志在docsys/logs目录

  3. Linux系统: start.sh > docSys.log

GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc., [http://fsf.org/] 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. {description} Copyright (C) 2017 Rainy This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. {signature of Ty Coon}, 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License.

简介

MxsDoc是基于Web的文件管理系统,支持文件权限管理和历史版本管理,支持文件在线预览和在线编辑,支持压缩文件在线解压预览,支持文件在线分享、支持重复文件的秒传和大文件的断点续传,支持文件名和文件内容搜索,支持Markdown格式的文件备注。 主要应用场景:文件管理系统、协同办公系统、日志管理系统、网页版SVN仓库、网页版GIT仓库、电子书、软件接口管理系统、远程桌面管理、自动备份软件。GPL 2.0开源协议. 展开 收起
Java
GPL-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/liucuiqiang/DocSys.git
git@gitee.com:liucuiqiang/DocSys.git
liucuiqiang
DocSys
DocSys
master

搜索帮助

14c37bed 8189591 565d56ea 8189591