Skip to content

Zeroplex 生活隨筆

小 縮小字型大小。 中 重設字型大小。 大 放大字型大小。

標籤: Mastodon

清除 Mastodon server caches

Posted on 2022 年 12 月 21 日2023 年 1 月 14 日 By 日落 在〈清除 Mastodon server caches〉中尚無留言

先 docker exec 進入 web server,然後執行:

tootctl cache clear
tootctl media remove

reference: How to intelligently clear the cache?


# 重建 media
tootctl media refresh --force

# 重建帳號相關檔案
tootctl accounts refresh --all
Share this…
  • Facebook
  • Twitter
  • Telegram
  • Line
  • WordPress
Tags:Mastodon

在 Docker 安裝、運行 Mastodon

Posted on 2022 年 11 月 20 日2023 年 1 月 19 日 By 日落 在〈在 Docker 安裝、運行 Mastodon〉中尚無留言

以下是 Mastdodon v4.0.2 在 Linux 上的安裝步驟。不同版本可能會有一些差異,請自行調整。

若沒有特別需求,Mastodon 也可以透過代理商安裝、運行,不必自行架設伺服器。

硬體需求

我自己是在 Raspberry Pi 4 上測試的,Pi 4 跑得起來只是比較慢了一些,若你的硬體配備比 Pi 4 好的話,其實沒什麼需要擔心的。

  • 雙核心處理器,建議時脈在 2 GHz 以上
  • 記憶體至少 2 GB 4 GB (隨著資料量增加,使用的記憶體也會增加)
Mastodon 運行時的 docker stats
Mastodon 運行時的 docker stats

More “在 Docker 安裝、運行 Mastodon” »

Share this…
  • Facebook
  • Twitter
  • Telegram
  • Line
  • WordPress
Tags:Linux, Mastodon, 網路架站

其他

關於我  (About me)

小額贊助

  文章 RSS Feed

  留言 RSS Feed

3C Apache AWS Bash C/C++ docker FreeBSD Git Google Java JavaScript Laravel Linux Microsoft MSSQL MySQL Nginx PHP PHPUnit Python Qt Ubuntu Unix Vim Web Windows WordPress XD 作業系統 分享 好站推薦 專題 小提琴 攝影 新奇搞笑 新聞 旅遊 生活雜記 程式設計 網路架站 網頁設計 資訊學習 資訊安全 遊戲 音樂


創用 CC 授權條款
本著作係採用創用 CC 姓名標示-相同方式分享 4.0 國際 授權條款授權.

Go to mobile version