# oss 一个文件存储系统, 提供文件的存储, 访问和删除等服务, 不支持文件修改. ## 依赖 - os:Linux - jdk:11 - maven:3.9 - mysql:5.7 ## 架构 oss 项目模块: - oss-api - oss-sdk - oss-store > 监听 4010 HTTP 端口和 14010 RPC 端口 > > 存储节点 - oss-console > 监听 4030 HTTP 端口和 14030 RPC 端口 > > 管理存储节点 > > 本模块由 [bnt](https://git.reghao.cn/reghao/bnt) 项目实现 oss-console 和 oss-store 之间的关系如下图所示: ![](https://blog.reghao.cn/file/fa7491b21f3843b089365191c33d10e7.png) > store 和 console 之间使用 dubbo rpc 进行通信 > > 每台作为存储节点的机器上都需要且只能一个部署 store 实例 > > 在 store 的配置文件中指定 mgr 的地址 > > 只能部署一个 console 实例