# 阿里云OSS配置 ## 第一步:获取阿里云AccessKey ID 和 Access Key Secret 登录阿里云[https://www.aliyun.com/](https://www.aliyun.com/) 进入 AccessKey管理 或 直接打开链接 [https://usercenter.console.aliyun.com/](https://usercenter.console.aliyun.com/) ![](https://www.bottlecms.com/uploads/editor/image/20200323/b64027e065f24248ad1cb2489eeee423.jpg)复制出 AccessKey ID 和 Access Key Secret 备用;![](https://www.bottlecms.com/uploads/editor/image/20200323/da3200c7222c867868ed97077b2d7e66.jpg) ## 第二部:获取OSS参数 进OSS管理 或直接打开链接 [https://oss.console.aliyun.com/](https://oss.console.aliyun.com/)![](https://www.bottlecms.com/uploads/editor/image/20200511/e0e57cf704c9b65bbbb8ab6699cd1ea6.png) 创建Bucket![](https://www.bottlecms.com/uploads/editor/image/20200511/c16c0d3eaf5a98dddaccaf8d4ebea87a.png) 按要求填写 “Bucket名称”,  读写权限选择“公共读”;  (复制出Bucket名称备用)![](https://www.bottlecms.com/uploads/editor/image/20200511/039aa19931ddc081facb79a8e21e6cf1.png) 进入刚创建的Bucket![](https://www.bottlecms.com/uploads/editor/image/20200511/656eb6f0aca46a8d00719e5991732f6c.png) 复制出“地域节点”和“Bucket域名”备用: 注意:“地域节点”注意只需要 .aliyuncs.com前面的部分。![](https://www.bottlecms.com/uploads/editor/image/20200511/479e5a884b8610465b6b7326a4f74d77.png) # 媒体处理 ## 配置媒体转码 #### 第一步:获取管道ID 进入“媒体处理“ 或直接打开链接 [https://mps.console.aliyun.com](https://mps.console.aliyun.com/overview) (如未开通按提示开通即可); ![](https://img.kancloud.cn/f3/08/f308db1d3b94f2f0a75afeab6edd5d7d_950x703.png) 复制出管道ID备用![](https://www.bottlecms.com/uploads/editor/image/20200511/7a9ba263133aafa29343ce8b16f4bf3d.png) #### 第二步:配置模版 创建视频模版![](https://www.bottlecms.com/uploads/editor/image/20200511/3fb64f13c2fe564a23021e854b7730a5.png)![](https://www.bottlecms.com/uploads/editor/image/20200511/d45c6d3894f76a0e60866dec70af9d7f.png)![](https://www.bottlecms.com/uploads/editor/image/20200511/7e239bad4da059c92b50b9f26e483697.png)![](https://www.bottlecms.com/uploads/editor/image/20200511/2408f3246dcaa5d50a9f85f5c5f2d138.png) ## 创建音频模版![](https://www.bottlecms.com/uploads/editor/image/20200511/bfb67838208fb1880ca749a79a9af6d4.png) ![](https://www.bottlecms.com/uploads/editor/image/20200706/5c260826b7249f8117b22612e298735d.jpg)复制出 音频和视频模版ID备用;![](https://www.bottlecms.com/uploads/editor/image/20200511/eb5947232496fb1bfa8f226ce4262d7e.png) ### ## 获取 地域节点 注意 媒体处理没有明确给出 “地域节点“ 获取方式,可通过查看左上角区域名称 到此链接中[https://help.aliyun.com/document\_detail/40654.html?spm=a2c6h.13066369.0.0.54a17471ckc8go](https://help.aliyun.com/document_detail/40654.html?spm=a2c6h.13066369.0.0.54a17471ckc8go) 寻找对应对节点名 ![](https://img.kancloud.cn/75/a9/75a9e09637f6f0a392ccf677de34f506_651x583.png) ![](https://img.kancloud.cn/4b/eb/4bebe36c69a5af984698f59069708f42_818x648.png) ## 配置后台参数 进入BottleCMS管理后台【系统 - 文件储存】;将备份出参数填入对应的输入框中; ![](https://www.bottlecms.com/uploads/editor/image/20200706/c9383b0e439dda7b433610499a530cb6.jpg) 注意配置完后,清除缓存才能生效;【系统 - 更新缓存】;