owncloud/ocis

GitHub: owncloud/ocis

ownCloud Infinite Scale 是一款用 Go 编写的开源文件同步与共享平台,旨在以单一二进制或容器形式提供从个人设备到 Kubernetes 集群均可轻松部署和弹性扩展的数据管理基座。

Stars: 2009 | Forks: 254

# ownCloud Infinite Scale [![Matrix](https://img.shields.io/matrix/ocis%3Amatrix.org?logo=matrix)](https://app.element.io/#/room/#ocis:matrix.org) [![构建状态](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/7ba4b143b3002810.svg)](https://github.com/owncloud/ocis/actions/workflows/acceptance-tests.yml) [![安全评级](https://sonarcloud.io/api/project_badges/measure?project=owncloud_ocis&metric=security_rating)](https://sonarcloud.io/dashboard?id=owncloud_ocis) [![覆盖率](https://sonarcloud.io/api/project_badges/measure?project=owncloud_ocis&metric=coverage)](https://sonarcloud.io/dashboard?id=owncloud_ocis) [![验收测试覆盖率](https://sonarcloud.io/api/project_badges/measure?project=owncloud-1_ocis_acceptance-tests&metric=coverage)](https://sonarcloud.io/summary/new_code?id=owncloud-1_ocis_acceptance-tests) [![Go Report](https://goreportcard.com/badge/github.com/owncloud/ocis)](https://goreportcard.com/report/github.com/owncloud/ocis) [![Go 文档](https://godoc.org/github.com/owncloud/ocis?status.svg)](http://godoc.org/github.com/owncloud/ocis) [![oCIS docker 镜像](https://img.shields.io/docker/v/owncloud/ocis?label=oCIS%20docker%20image&logo=docker&sort=semver)](https://hub.docker.com/r/owncloud/ocis) [![许可证](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) - [ownCloud Infinite Scale](#owncloud-infinite-scale) - [简介](#introduction) - [快速开始](#quickstart) - [概述](#overview) - [客户端](#clients) - [网络办公应用](#web-office-applications) - [身份认证](#authentication) - [安装](#installation) - [重要阅读内容](#important-readings) - [运行 ownCloud Infinite Scale](#run-owncloud-infinite-scale) - [使用官方文档](#use-the-official-documentation) - [使用 ocis 仓库作为源](#use-the-ocis-repo-as-source) - [文档](#documentation) - [管理员文档](#admin-documentation) - [开发文档](#development-documentation) - [安全](#security) - [贡献](#contributing) - [最终用户许可协议](#end-user-license-agreement) - [版权](#copyright) ## 简介 ownCloud Infinite Scale (oCIS) 是全新的文件同步与共享平台,它将成为您数据管理平台的基石。 请确保今天下载[最新发布版本](https://download.owncloud.com/ocis/ocis/stable/?sort=time&order=desc)! ## 快速开始 有关所使用命令的详细信息,请参阅 [oCIS 与 Docker 的极简评估指南](https://owncloud.dev/ocis/guides/ocis-mini-eval/)。 ``` mkdir -p $HOME/ocis/ocis-config \ mkdir -p $HOME/ocis/ocis-data sudo chown -Rfv 1000:1000 $HOME/ocis/ docker pull owncloud/ocis docker run --rm -it \ --mount type=bind,source=$HOME/ocis/ocis-config,target=/etc/ocis \ --mount type=bind,source=$HOME/ocis/ocis-data,target=/var/lib/ocis \ owncloud/ocis init --insecure yes docker run \ --name ocis_runtime \ --rm \ -it \ -p 9200:9200 \ --mount type=bind,source=$HOME/ocis/ocis-config,target=/etc/ocis \ --mount type=bind,source=$HOME/ocis/ocis-data,target=/var/lib/ocis \ -e OCIS_INSECURE=true \ -e PROXY_HTTP_ADDR=0.0.0.0:9200 \ -e OCIS_URL=https://localhost:9200 \ owncloud/ocis ``` 使用 URL `localhost:9200` 以及打印出的用户名/密码。 ## 概述 ### 客户端 Infinite Scale 允许以下 ownCloud 客户端: * [Web](https://github.com/owncloud/web)、 * [Android](https://github.com/owncloud/android)、 * [iOS](https://github.com/owncloud/ios-app) 和 * [桌面端](https://github.com/owncloud/client/) 通过基于 [reva](https://reva.link/) 的可扩展服务器后端,使用开放且定义良好的 API(如 [WebDAV](http://www.webdav.org/) 和 [CS3](https://github.com/cs3org/cs3apis/))来同步和共享文件空间。 ### 网络办公应用 Infinite Scale 可以集成网络办公应用,例如: * [Collabora Online](https://github.com/CollaboraOnline/online)、 * [OnlyOffice Docs](https://github.com/ONLYOFFICE/DocumentServer) 或 * [Microsoft Office Online Server](https://owncloud.com/microsoft-office-online-integration-with-wopi/) 协同编辑由 [WOPI 应用网关](https://github.com/cs3org/wopiserver) 提供支持。 ### 身份认证 用户通过 [OpenID Connect](https://openid.net/connect/) 进行身份验证,可以使用 [Keycloak](https://www.keycloak.org/) 等外部 IdP,也可以使用内置的 [LibreGraph Connect](https://github.com/libregraph/lico) 身份提供者。 ### 安装 Infinite Scale 专注于易于安装和操作,它以单一二进制文件或容器的形式提供,只需更改配置并按需启动多个服务,即可实现从 Raspberry Pi 到 Kubernetes 集群的扩展。多服务架构允许您根据需要定制功能,并重用可能已存在的服务(例如使用 Keycloak 时)。有关各种安装选项,请参阅以下详细信息。 ## 重要阅读内容 在开始设置实例之前,我们**强烈**建议您阅读[前置条件](https://doc.owncloud.com/ocis/next/prerequisites/prerequisites.html)、[部署](https://doc.owncloud.com/ocis/next/deployment/)部分,尤其是描述并解释适用于所有部署类型信息的[一般信息](https://doc.owncloud.com/ocis/next/deployment/general/general-info.html)页面。 ## 运行 ownCloud Infinite Scale ### 使用官方文档 请参阅[在服务器上安装 Infinite Scale](https://doc.owncloud.com/ocis/next/depl-examples/ubuntu-compose/ubuntu-compose-prod.html),了解从 Raspberry Pi、单台服务器或虚拟机(VM)开始的生产就绪部署。 ### 使用 ocis 仓库作为源 使用此方法来构建和运行包含最新代码的实例。这仅推荐用于开发目的。 所需的最低 go 版本为 `1.25.10`。\ 请注意,您需要预先安装 C 语言编译环境作为前置条件,因为某些依赖项(如 reva)包含需要 C-Go 库和工具链的组件。在基于 Debian 的系统上安装的命令为:`sudo apt install build-essential`。 要构建并运行一个包含演示用户的本地实例: ``` # 获取源代码 git clone git@github.com:owncloud/ocis.git # 进入 ocis 目录 cd ocis # 生成 assets make generate # 构建 binary make -C ocis build # 初始化最小化的 oCIS 配置 ./ocis/bin/ocis init # 使用 demo users 运行 IDM_CREATE_DEMO_USERS=true ./ocis/bin/ocis server # 在浏览器中打开 http://localhost:9200 以访问内置的 web-ui ``` 开箱即用:无需外部数据库,无需外部 IDP! ## 文档 ### 管理员文档 请参阅[管理员文档 - Infinite Scale 简介](https://doc.owncloud.com/ocis/next/),开始在生产环境中运行 oCIS。 ### 开发文档 请参阅[开发文档 - 入门指南](https://owncloud.dev/ocis/development/getting-started/),以了解[要求](https://owncloud.dev/ocis/development/getting-started/#requirements)、[仓库结构](https://owncloud.dev/ocis/development/getting-started/#repository-structure)和[其他切入点](https://owncloud.dev/ocis/development/getting-started/#starting-points)的概述。 ## 安全 请参阅[安全方面](https://doc.owncloud.com/ocis/next/security/security.html),获取相关安全主题的总体概述。 如果您发现安全问题,请先联系 [security@owncloud.com](mailto:security@owncloud.com)。 ## 最终用户许可协议 由 ownCloud GmbH 提供的 stable ownCloud Infinite Scale 版本的部分构建受[最终用户许可协议](https://owncloud.com/license-owncloud-infinite-scale/)的约束。 ## 版权 ``` Copyright (c) 2020-2023 ownCloud GmbH ```
标签:EVTX分析, Go, Ruby工具, WebDAV, 云存储, 协同办公, 文件共享, 日志审计, 请求拦截