myhelp:mastodon
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| myhelp:mastodon [2026/01/19 09:45] – [Install Mastodon v4.5.4 on Rocky Linux 10] ulrich | myhelp:mastodon [2026/01/19 09:57] (current) – [Install Mastodon v4.5.4 on Rocky Linux 10] ulrich | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| </ | </ | ||
| - | Install additional RPMS: | + | Install additional RPMS as root: |
| nodejs, valkey (instead of redis), | nodejs, valkey (instead of redis), | ||
| < | < | ||
| Line 17: | Line 17: | ||
| </ | </ | ||
| - | Add user mastodon | + | Add user mastodon |
| < | < | ||
| mkdir / | mkdir / | ||
| Line 30: | Line 30: | ||
| </ | </ | ||
| - | Install ruby | + | Install ruby as user mastodon |
| < | < | ||
| git clone https:// | git clone https:// | ||
| Line 39: | Line 39: | ||
| </ | </ | ||
| - | Checkout mastodon code | + | Checkout mastodon code as user mastodon |
| < | < | ||
| git clone https:// | git clone https:// | ||
| Line 45: | Line 45: | ||
| </ | </ | ||
| - | Install Ruby | + | Install Ruby as user mastodon |
| < | < | ||
| RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install | RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install | ||
| </ | </ | ||
| + | Install Ruby dependencies as user mastodon | ||
| + | < | ||
| + | bundle config deployment ' | ||
| + | bundle config without ' | ||
| + | bundle install | ||
| + | </ | ||
| + | Fix some nodejs stuff as root | ||
| + | < | ||
| + | npm install -g yarn | ||
| + | rm -f / | ||
| + | rm -f / | ||
| + | npm install -g corepack | ||
| + | </ | ||
| + | |||
| + | Install nodejs dependencies as user mastodon | ||
| + | < | ||
| + | corepack enable | ||
| + | corepack prepare yarn@4.12.0 --activate | ||
| + | yarn install | ||
| + | </ | ||
| ====== Install Mastodon on Rocky Linux 9 ====== | ====== Install Mastodon on Rocky Linux 9 ====== | ||
| ===== Pre-requisites ===== | ===== Pre-requisites ===== | ||
myhelp/mastodon.txt · Last modified: by ulrich
