O2OA平台存储库配置

2024-01-29 07:30
文章标签 配置 平台 存储 o2oa

本文主要是介绍O2OA平台存储库配置,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

平台存储库配置

 

附件文件(二进制文件)存放在storage服务器上,

 

在默认情况下服务器在启动时自动启动了一个ftp服务作为storage服务器.

 

在生产环境中推荐使用商用服务器来存储附件文件(二进制文件).

 

支持以下协议作为附件存储服务器:

 

ftp,ftps,webdav,cifs(samba)

 

配置外部存储服务配置文件

配置文件样例configSample/externalStorageSources.json

如果在o2server/config目录下没有externalStorageSources.json配置文件.可以将externalStorageSources.json配置文件从o2server/configSample目录下拷贝至o2server/config目录.

 

{"file": [{"protocol": "webdav","username": "admin","password": "admin","host": "127.0.0.1","port": 8080.0,"prefix": "","enable": true,"weight": 100.0,"name": "251","###protocol": "协议,可选值ftp,webdav###","###username": "登录用户名.###","###password": "登录密码.###","###host": "主机地址.###","###port": "端口.###","###prefix": "前缀路径.###","###enable": "是否启用###","###weight": "设置权重.###","###name": "存储节点名,对应存储名称,谨慎修改.###"}],"processPlatform": [{"protocol": "webdav","username": "admin","password": "admin","host": "127.0.0.1","port": 8080.0,"prefix": "","enable": true,"weight": 100.0,"name": "251","###protocol": "协议,可选值ftp,webdav###","###username": "登录用户名.###","###password": "登录密码.###","###host": "主机地址.###","###port": "端口.###","###prefix": "前缀路径.###","###enable": "是否启用###","###weight": "设置权重.###","###name": "存储节点名,对应存储名称,谨慎修改.###"}],"mind": [{"protocol": "webdav","username": "admin","password": "admin","host": "127.0.0.1","port": 8080.0,"prefix": "","enable": true,"weight": 100.0,"name": "251","###protocol": "协议,可选值ftp,webdav###","###username": "登录用户名.###","###password": "登录密码.###","###host": "主机地址.###","###port": "端口.###","###prefix": "前缀路径.###","###enable": "是否启用###","###weight": "设置权重.###","###name": "存储节点名,对应存储名称,谨慎修改.###"}],"meeting": [{"protocol": "webdav","username": "admin","password": "admin","host": "127.0.0.1","port": 8080.0,"prefix": "","enable": true,"weight": 100.0,"name": "251","###protocol": "协议,可选值ftp,webdav###","###username": "登录用户名.###","###password": "登录密码.###","###host": "主机地址.###","###port": "端口.###","###prefix": "前缀路径.###","###enable": "是否启用###","###weight": "设置权重.###","###name": "存储节点名,对应存储名称,谨慎修改.###"}],"calendar": [{"protocol": "webdav","username": "admin","password": "admin","host": "127.0.0.1","port": 8080.0,"prefix": "","enable": true,"weight": 100.0,"name": "251","###protocol": "协议,可选值ftp,webdav###","###username": "登录用户名.###","###password": "登录密码.###","###host": "主机地址.###","###port": "端口.###","###prefix": "前缀路径.###","###enable": "是否启用###","###weight": "设置权重.###","###name": "存储节点名,对应存储名称,谨慎修改.###"}],"okr": [{"protocol": "webdav","username": "admin","password": "admin","host": "127.0.0.1","port": 8080.0,"prefix": "","enable": true,"weight": 100.0,"name": "251","###protocol": "协议,可选值ftp,webdav###","###username": "登录用户名.###","###password": "登录密码.###","###host": "主机地址.###","###port": "端口.###","###prefix": "前缀路径.###","###enable": "是否启用###","###weight": "设置权重.###","###name": "存储节点名,对应存储名称,谨慎修改.###"}],"cms": [{"protocol": "webdav","username": "admin","password": "admin","host": "127.0.0.1","port": 8080.0,"prefix": "","enable": true,"weight": 100.0,"name": "251","###protocol": "协议,可选值ftp,webdav###","###username": "登录用户名.###","###password": "登录密码.###","###host": "主机地址.###","###port": "端口.###","###prefix": "前缀路径.###","###enable": "是否启用###","###weight": "设置权重.###","###name": "存储节点名,对应存储名称,谨慎修改.###"}],"bbs": [{"protocol": "webdav","username": "admin","password": "admin","host": "127.0.0.1","port": 8080.0,"prefix": "","enable": true,"weight": 100.0,"name": "251","###protocol": "协议,可选值ftp,webdav###","###username": "登录用户名.###","###password": "登录密码.###","###host": "主机地址.###","###port": "端口.###","###prefix": "前缀路径.###","###enable": "是否启用###","###weight": "设置权重.###","###name": "存储节点名,对应存储名称,谨慎修改.###"}],"report": [{"protocol": "webdav","username": "admin","password": "admin","host": "127.0.0.1","port": 8080.0,"prefix": "","enable": true,"weight": 100.0,"name": "251","###protocol": "协议,可选值ftp,webdav###","###username": "登录用户名.###","###password": "登录密码.###","###host": "主机地址.###","###port": "端口.###","###prefix": "前缀路径.###","###enable": "是否启用###","###weight": "设置权重.###","###name": "存储节点名,对应存储名称,谨慎修改.###"}],"strategyDeploy": [{"protocol": "webdav","username": "admin","password": "admin","host": "127.0.0.1","port": 8080.0,"prefix": "","enable": true,"weight": 100.0,"name": "251","###protocol": "协议,可选值ftp,webdav###","###username": "登录用户名.###","###password": "登录密码.###","###host": "主机地址.###","###port": "端口.###","###prefix": "前缀路径.###","###enable": "是否启用###","###weight": "设置权重.###","###name": "存储节点名,对应存储名称,谨慎修改.###"}],"teamwork": [{"protocol": "webdav","username": "admin","password": "admin","host": "127.0.0.1","port": 8080.0,"prefix": "","enable": true,"weight": 100.0,"name": "251","###protocol": "协议,可选值ftp,webdav###","###username": "登录用户名.###","###password": "登录密码.###","###host": "主机地址.###","###port": "端口.###","###prefix": "前缀路径.###","###enable": "是否启用###","###weight": "设置权重.###","###name": "存储节点名,对应存储名称,谨慎修改.###"}]
}

 

针对每一类文件可以设置一个或者多个存储点进行文件存储,在同一类文件的存储点中的name必须唯一,且不能进行修改(会导致无法找到附件文件),

assets%2F-LmN_rNQCcekD6lUTyjN%2F-LsQfpDFYdY2hZ-b7tGw%2F-LsQgJaLDwZO6XFWtvGj%2FTIM%E6%88%AA%E5%9B%BE20191030160257.png?alt=media&token=297eb5e1-f812-42d2-ae5c-fb891506978auploading.4e448015.gif转存失败重新上传取消assets%2F-LmN_rNQCcekD6lUTyjN%2F-LsQfpDFYdY2hZ-b7tGw%2F-LsQgJaLDwZO6XFWtvGj%2FTIM%E6%88%AA%E5%9B%BE20191030160257.png?alt=media&token=297eb5e1-f812-42d2-ae5c-fb891506978auploading.4e448015.gif转存失败重新上传取消assets%2F-LmN_rNQCcekD6lUTyjN%2F-LsQfpDFYdY2hZ-b7tGw%2F-LsQgJaLDwZO6XFWtvGj%2FTIM%E6%88%AA%E5%9B%BE20191030160257.png?alt=media&token=297eb5e1-f812-42d2-ae5c-fb891506978auploading.4e448015.gif转存失败重新上传取消assets%2F-LmN_rNQCcekD6lUTyjN%2F-LsQfpDFYdY2hZ-b7tGw%2F-LsQgJaLDwZO6XFWtvGj%2FTIM%E6%88%AA%E5%9B%BE20191030160257.png?alt=media&token=297eb5e1-f812-42d2-ae5c-fb891506978auploading.4e448015.gif转存失败重新上传取消assets%2F-LmN_rNQCcekD6lUTyjN%2F-LsQfpDFYdY2hZ-b7tGw%2F-LsQgJaLDwZO6XFWtvGj%2FTIM%E6%88%AA%E5%9B%BE20191030160257.png?alt=media&token=297eb5e1-f812-42d2-ae5c-fb891506978auploading.4e448015.gif转存失败重新上传取消assets%2F-LmN_rNQCcekD6lUTyjN%2F-LsQfpDFYdY2hZ-b7tGw%2F-LsQgJaLDwZO6XFWtvGj%2FTIM%E6%88%AA%E5%9B%BE20191030160257.png?alt=media&token=297eb5e1-f812-42d2-ae5c-fb891506978auploading.4e448015.gif转存失败重新上传取消assets%2F-LmN_rNQCcekD6lUTyjN%2F-LsQfpDFYdY2hZ-b7tGw%2F-LsQgJaLDwZO6XFWtvGj%2FTIM%E6%88%AA%E5%9B%BE20191030160257.png?alt=media&token=297eb5e1-f812-42d2-ae5c-fb891506978auploading.4e448015.gif转存失败重新上传取消assets%2F-LmN_rNQCcekD6lUTyjN%2F-LsQfpDFYdY2hZ-b7tGw%2F-LsQgJaLDwZO6XFWtvGj%2FTIM%E6%88%AA%E5%9B%BE20191030160257.png?alt=media&token=297eb5e1-f812-42d2-ae5c-fb891506978auploading.4e448015.gif转存失败重新上传取消assets%2F-LmN_rNQCcekD6lUTyjN%2F-LsQfpDFYdY2hZ-b7tGw%2F-LsQgJaLDwZO6XFWtvGj%2FTIM%E6%88%AA%E5%9B%BE20191030160257.png?alt=media&token=297eb5e1-f812-42d2-ae5c-fb891506978auploading.4e448015.gif转存失败重新上传取消assets%2F-LmN_rNQCcekD6lUTyjN%2F-LsQfpDFYdY2hZ-b7tGw%2F-LsQgJaLDwZO6XFWtvGj%2FTIM%E6%88%AA%E5%9B%BE20191030160257.png?alt=media&token=297eb5e1-f812-42d2-ae5c-fb891506978auploading.4e448015.gif转存失败重新上传取消assets%2F-LmN_rNQCcekD6lUTyjN%2F-LsQfpDFYdY2hZ-b7tGw%2F-LsQgJaLDwZO6XFWtvGj%2FTIM%E6%88%AA%E5%9B%BE20191030160257.png?alt=media&token=297eb5e1-f812-42d2-ae5c-fb891506978auploading.4e448015.gif转存失败重新上传取消assets%2F-LmN_rNQCcekD6lUTyjN%2F-LsQfpDFYdY2hZ-b7tGw%2F-LsQgJaLDwZO6XFWtvGj%2FTIM%E6%88%AA%E5%9B%BE20191030160257.png?alt=media&token=297eb5e1-f812-42d2-ae5c-fb891506978auploading.4e448015.gif转存失败重新上传取消assets%2F-LmN_rNQCcekD6lUTyjN%2F-LsQfpDFYdY2hZ-b7tGw%2F-LsQgJaLDwZO6XFWtvGj%2FTIM%E6%88%AA%E5%9B%BE20191030160257.png?alt=media&token=297eb5e1-f812-42d2-ae5c-fb891506978auploading.4e448015.gif转存失败重新上传取消assets%2F-LmN_rNQCcekD6lUTyjN%2F-LsQfpDFYdY2hZ-b7tGw%2F-LsQgJaLDwZO6XFWtvGj%2FTIM%E6%88%AA%E5%9B%BE20191030160257.png?alt=media&token=297eb5e1-f812-42d2-ae5c-fb891506978auploading.4e448015.gif转存失败重新上传取消assets%2F-LmN_rNQCcekD6lUTyjN%2F-LsQfpDFYdY2hZ-b7tGw%2F-LsQgJaLDwZO6XFWtvGj%2FTIM%E6%88%AA%E5%9B%BE20191030160257.png?alt=media&token=297eb5e1-f812-42d2-ae5c-fb891506978auploading.4e448015.gif转存失败重新上传取消

 

name必须唯一

 

FTP协议

File Transfer Protocol

 

FTPS协议

TLS File Transfer Protocol

 

WEBDAV协议

Web-based Distributed Authoring and Versioning

 

CIFS协议

Common Internet File System

这篇关于O2OA平台存储库配置的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/656181

相关文章

Redis多种内存淘汰策略及配置技巧分享

《Redis多种内存淘汰策略及配置技巧分享》本文介绍了Redis内存满时的淘汰机制,包括内存淘汰机制的概念,Redis提供的8种淘汰策略(如noeviction、volatile-lru等)及其适用场... 目录前言一、什么是 Redis 的内存淘汰机制?二、Redis 内存淘汰策略1. pythonnoe

使用MongoDB进行数据存储的操作流程

《使用MongoDB进行数据存储的操作流程》在现代应用开发中,数据存储是一个至关重要的部分,随着数据量的增大和复杂性的增加,传统的关系型数据库有时难以应对高并发和大数据量的处理需求,MongoDB作为... 目录什么是MongoDB?MongoDB的优势使用MongoDB进行数据存储1. 安装MongoDB

windos server2022的配置故障转移服务的图文教程

《windosserver2022的配置故障转移服务的图文教程》本文主要介绍了windosserver2022的配置故障转移服务的图文教程,以确保服务和应用程序的连续性和可用性,文中通过图文介绍的非... 目录准备环境:步骤故障转移群集是 Windows Server 2022 中提供的一种功能,用于在多个

windos server2022里的DFS配置的实现

《windosserver2022里的DFS配置的实现》DFS是WindowsServer操作系统提供的一种功能,用于在多台服务器上集中管理共享文件夹和文件的分布式存储解决方案,本文就来介绍一下wi... 目录什么是DFS?优势:应用场景:DFS配置步骤什么是DFS?DFS指的是分布式文件系统(Distr

关于Maven中pom.xml文件配置详解

《关于Maven中pom.xml文件配置详解》pom.xml是Maven项目的核心配置文件,它描述了项目的结构、依赖关系、构建配置等信息,通过合理配置pom.xml,可以提高项目的可维护性和构建效率... 目录1. POM文件的基本结构1.1 项目基本信息2. 项目属性2.1 引用属性3. 项目依赖4. 构

龙蜥操作系统Anolis OS-23.x安装配置图解教程(保姆级)

《龙蜥操作系统AnolisOS-23.x安装配置图解教程(保姆级)》:本文主要介绍了安装和配置AnolisOS23.2系统,包括分区、软件选择、设置root密码、网络配置、主机名设置和禁用SELinux的步骤,详细内容请阅读本文,希望能对你有所帮助... ‌AnolisOS‌是由阿里云推出的开源操作系统,旨

mysql-8.0.30压缩包版安装和配置MySQL环境过程

《mysql-8.0.30压缩包版安装和配置MySQL环境过程》该文章介绍了如何在Windows系统中下载、安装和配置MySQL数据库,包括下载地址、解压文件、创建和配置my.ini文件、设置环境变量... 目录压缩包安装配置下载配置环境变量下载和初始化总结压缩包安装配置下载下载地址:https://d

gradle安装和环境配置全过程

《gradle安装和环境配置全过程》本文介绍了如何安装和配置Gradle环境,包括下载Gradle、配置环境变量、测试Gradle以及在IntelliJIDEA中配置Gradle... 目录gradle安装和环境配置1 下载GRADLE2 环境变量配置3 测试gradle4 设置gradle初始化文件5 i

SpringCloud配置动态更新原理解析

《SpringCloud配置动态更新原理解析》在微服务架构的浩瀚星海中,服务配置的动态更新如同魔法一般,能够让应用在不重启的情况下,实时响应配置的变更,SpringCloud作为微服务架构中的佼佼者,... 目录一、SpringBoot、Cloud配置的读取二、SpringCloud配置动态刷新三、更新@R

MySQL中my.ini文件的基础配置和优化配置方式

《MySQL中my.ini文件的基础配置和优化配置方式》文章讨论了数据库异步同步的优化思路,包括三个主要方面:幂等性、时序和延迟,作者还分享了MySQL配置文件的优化经验,并鼓励读者提供支持... 目录mysql my.ini文件的配置和优化配置优化思路MySQL配置文件优化总结MySQL my.ini文件