File tree Expand file tree Collapse file tree 17 files changed +96
-7
lines changed
static/images/set-storage Expand file tree Collapse file tree 17 files changed +96
-7
lines changed Original file line number Diff line number Diff line change
1
+
2
+ # 项目部署
3
+
4
+ ![ 000] ( ./static/images/set-storage/000.jpg )
5
+ ① 宝塔面板选择Docker菜单
6
+
7
+ ② 输入 zpan
8
+
9
+ ③ 搜索 zpan
10
+
11
+ ④ 点击安装
12
+
13
+ ⑤ 填写配置
14
+
15
+ ⑥ 点击确定,等待部署完成即可
16
+
17
+
18
+
19
+ 根据你设置的访问路径进入安装页面(域名地址:8222 / ip地址:8222)
20
+ 出现以下页面表示,部署成功
21
+
22
+ > 教程部署以Docker为例
23
+
24
+ ![ 001] ( ./static/images/set-storage/001.jpg )
25
+
26
+ # 创建数据库
27
+ 已有数据库跳过此步
28
+ ![ 004] ( ./static/images/set-storage/004.jpg )
29
+
30
+
31
+ # 配置数据库
32
+
33
+ > 在安装页面选择对应数据库,这里以Mysql为例
34
+
35
+ ###### DSN原文
36
+ ``` bash
37
+ user:pass@tcp(127.0.0.1:3306)/zpan? charset=utf8mb4& parseTime=True& loc=Local
38
+ ```
39
+ ###### DSN白话文
40
+ ``` bash
41
+ 数据库用户名:数据库密码@tcp(数据库地址:Mysql端口)/数据库名? charset=utf8mb4& parseTime=True& loc=Local
42
+ ```
43
+
44
+
45
+
46
+ # 设置管理员账号
47
+ 设置好管理员账号,点击开始安装即可
48
+ ![ 002] ( ./static/images/set-storage/002.jpg )
49
+ 如果有报错 请检查 数据库配置信息
50
+
51
+
52
+ # 安装成功
53
+ ![ 003] ( ./static/images/set-storage/003.jpg )
54
+
Original file line number Diff line number Diff line change 13
13
14
14
### 基础配置
15
15
16
- <img src =" /static/images/cloud-platform/image-20210712165603221.png " alt =" image-20210712165603221 " style =" zoom :50% ;" />
16
+ <img src =" . /static/images/cloud-platform/image-20210712165603221.png" alt =" image-20210712165603221 " style =" zoom :50% ;" />
17
17
18
18
1 . 网盘和外链盘的区别是:外链盘可以直接拿到永久外链,同时它没有分享和回收站的功能
19
19
2 . 名称是在zpan中该存储的名字,同时也是路由地址,所以只支持英文
20
20
3 . 云平台的数据来源于 https://github.com/eplist/eplist ,欢迎PR
21
21
4 . 接入点的数据同样源于eplist,选择一个云平台后会自动给出该平台的所有Endpoint
22
22
23
23
### 高级配置
24
-
25
- ![ image-20210712170751044] ( /static/images/cloud-platform/image-20210712170751044.png )
24
+ ![ image-20210712170751044] ( ./static/images/cloud-platform/image-20210712170751044.png )
26
25
27
26
1 . 高级配置默认都可为空
28
27
2 . 标题可以是中文,用于在页面顶部的导航栏显示
70
69
2 . AccessKey为操作员名称,AccessSecret为操作员密码
71
70
3 . ** 如果是网盘类型,需要将Token防盗链的秘钥设置为操作员的密码**
72
71
73
- ![ image-20210712172027775] ( /static/images/cloud-platform/image-20210712172027775.png ) ![ image-20210712172346760] ( /static/images/cloud-platform/image-20210712172346760.png )
72
+ ![ image-20210712172027775] ( . /static/images/cloud-platform/image-20210712172027775.png) ![ image-20210712172346760] ( . /static/images/cloud-platform/image-20210712172346760.png)
74
73
75
- ![ image-20210712172707803] ( /static/images/cloud-platform/image-20210712172707803.png )
74
+ ![ image-20210712172707803] ( . /static/images/cloud-platform/image-20210712172707803.png)
Original file line number Diff line number Diff line change
1
+
2
+
3
+
4
+
5
+
6
+
7
+ ① ** 登录阿里云,右上角头像选择 ==访问控制==**
8
+ ![ 005] ( ./static/images/set-storage/005.jpg )
9
+
10
+ ② ** 新建用户**
11
+
12
+
13
+ ![ 006] ( ./static/images/set-storage/006.jpg )
14
+
15
+ ![ 007] ( ./static/images/set-storage/007.jpg )
16
+
17
+ ③ ** 保存AccessKey ID AccessKey Secret备用**
18
+
19
+ ![ 008] ( ./static/images/set-storage/008.jpg )
20
+
21
+ ④ ** 创建对象存储**
22
+
23
+ 打开阿里云[ 对象存储] ( https://oss.console.aliyun.com/ )
24
+ ![ 009] ( ./static/images/set-storage/009.jpg )
25
+ 配置存储桶(Bucket)
26
+ ![ 010] ( ./static/images/set-storage/010.jpg )
27
+ 进入存储桶,记住Bucket名称(存储桶名称)和Endpoint(地域节点)
28
+ ![ 011] ( ./static/images/set-storage/011.jpg )
29
+
30
+ ⑤ ** Zpan创建存储**
31
+
32
+ 登录zpan后,点头像进入管理后台,右上角创建存储,按提示填入信息
33
+ ![ 012] ( ./static/images/set-storage/012.jpg )
34
+ > ` 注意:外链盘可以直接拿到永久外链,同时它没有分享和回收站的功能 `
35
+
36
+
Original file line number Diff line number Diff line change 1
1
### 白话文教程
2
2
3
- - [ 自建网盘解决方案-基于云存储的网盘系统zpan] ( https://ov-vo.org/987 )
4
- - 如何基于阿里云OSS搭建ZPan(招募中)
3
+ - [ 自建网盘解决方案-基于云存储的网盘系统zpan] ( ./Install.md )
4
+ - [ 如何基于阿里云OSS搭建ZPan] ( ./set-storage.md )
5
5
- 如何基于七牛Kodo搭建ZPan(招募中)
6
6
- 如何基于腾讯COS搭建ZPan(招募中)
7
7
- 如何基于亚马逊S3搭建ZPan(招募中)
You can’t perform that action at this time.
0 commit comments