Mastodon on Gentoo: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Signux (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Signux (Diskussion | Beiträge) |
||
| Zeile 13: | Zeile 13: | ||
== Installation == | == Installation == | ||
create new user <code>adduser mastodon</code> | |||
login as this user <code>sudo su - mastodon</code> | |||
<pre> | |||
git clone https://github.com/rbenv/rbenv.git ~/.rbenv | |||
cd ~/.rbenv && src/configure && make -C src | |||
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc | |||
echo 'eval "$(rbenv init -)"' >> ~/.bashrc | |||
# Restart shell | |||
exec bash | |||
# Check if rbenv is correctly installed | |||
type rbenv | |||
# Install ruby-build as rbenv plugin | |||
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build | |||
rbenv install 2.5.1 | |||
</pre> | |||
Aktuelle Version vom 27. August 2018, 13:08 Uhr
Notwendige packages
dev-lang/ruby net-libs/nodejs sys-apps/yarn media-gfx/imagemagick media-video/ffmpeg dev-libs/protobuf dev-db/redis dev-db/postgresql
Installation
create new user adduser mastodon
login as this user sudo su - mastodon
git clone https://github.com/rbenv/rbenv.git ~/.rbenv cd ~/.rbenv && src/configure && make -C src echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc echo 'eval "$(rbenv init -)"' >> ~/.bashrc # Restart shell exec bash # Check if rbenv is correctly installed type rbenv # Install ruby-build as rbenv plugin git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build rbenv install 2.5.1