Skip to content

Commit

Permalink
Update favicon, RSS icon and article
Browse files Browse the repository at this point in the history
  • Loading branch information
mobeicanyue committed Jan 18, 2024
1 parent 4e6bf1f commit 6e0c57c
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions _config.fluid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@

# 用于浏览器标签的图标
# Icon for browser tab
favicon: images/favicon.webp
favicon: images/blog.png

# 用于苹果设备的图标
# Icon for Apple touch
apple_touch_icon: images/favicon.webp
apple_touch_icon: images/blog.png

# 浏览器标签页中的标题分隔符,效果:文章名 - 站点名
# Title separator in browser tab, eg: article - site
Expand Down
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ feed:
content:
content_limit: 140
content_limit_delim: ' '
icon: images/favicon.webp
icon: images/rss.png

# 压缩文件
minify:
Expand Down
14 changes: 7 additions & 7 deletions source/_posts/Deploying-a-Web-Disk-of-Your-Own.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 部署一个你自己的网盘Alist
title: 部署一个你自己的网盘Alist
tags:
- alist
abbrlink: 9c18a796
Expand Down Expand Up @@ -68,26 +68,26 @@ docker-compose up -d
## 3. 配置 Alist

输入 ip:5244,浏览器访问 Alist 登陆页面
输入用户名 `admin` 和上一步获取的密码
输入用户名 `admin` 和上一步获取的 `密码`
点击登陆

### 3.1 添加本地存储

在你`安装 alist 的路径`创建一个目录 `files` 用来存储文件,便于持久化存储。一键脚本路径为 `/opt/alist/files`;docker-compose 路径为 `etc/alist/files`
1. 在你`安装 alist 的路径`创建一个目录 `files` 用来存储文件,便于持久化存储。一键脚本路径为 `/opt/alist/files`;docker-compose 路径为 `etc/alist/files`

然后开始添加存储
2. 然后开始添加存储
左边栏点击 `存储`,然后点击`添加`,驱动选择 `本机存储`,点击`添加`

`挂载路径`填写 `/`,意味着此存储为 `网盘根目录`。往下滑,找到 `根文件夹路径`
3. `挂载路径`填写 `/`,意味着此存储为 `网盘根目录`。往下滑,找到 `根文件夹路径`
如果你是一键脚本安装的,就填写 `/opt/alist/files`;如果你是 docker-compose 安装的,就填 `/opt/alist/data/files`。(注意,这个是容器内的映射路径,不是宿主机的路径)

也就是 `根文件夹路径(/opt/alist/files)` --> `挂载路径(/)`,这样就可以把 `/opt/alist/files` 映射到 `/`也就是网盘根目录了
也就是 `根文件夹路径(/opt/alist/files)` --> `挂载路径(/)`,这样就可以把 `/opt/alist/files` 映射到 `/`也就是网盘根目录

最下面点击 `保存`

### 3.2 启用游客访问
左边栏点击 `用户`
编辑 `guest` 用户,将停用取消勾选,然后点击保存
编辑 `guest` 用户,`停用` 取消勾选,然后点击保存


### 3.3 启用索引
Expand Down
Binary file added source/images/blog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed source/images/favicon.webp
Binary file not shown.
Binary file added source/images/rss.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6e0c57c

Please sign in to comment.