Template:Installation/Preparation/Fedora: Difference between revisions

From diaspora* project wiki
(Update Fedora packages)
(Properly escape the pipe. Mediawiki is fun.)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:


{{#tag:syntaxhighlight|
{{#tag:syntaxhighlight|
curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo <nowiki>|</nowiki> sudo tee /etc/yum.repos.d/yarn.repo
|lang=bash}}
|lang=bash}}


Line 35: Line 35:


{{#tag: syntaxhighlight|
{{#tag: syntaxhighlight|
adduser --disabled-login diaspora
adduser diaspora
# If you already created a user and want to disable login for it:
usermod -L diaspora
# Add the new user to the wheel group so that you are able to access sudo functionality
usermod -aG wheel diaspora
# Then switch to it:
su diaspora
su diaspora
cd ~
cd ~

Latest revision as of 23:59, 15 June 2024

Install packages

First, we need to add an extra Repository to download Yarn. As root, run:

curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo

then, still as root, run:

dnf install tar make automake gcc gcc-c++ git net-tools libcurl-devel libxml2-devel libffi-devel libxslt-devel wget redis ImageMagick libidn-devel nodejs yarn

Install the database

If you already have one skip this step.

As root run:

dnf install 

systemctl enable 
systemctl start 
systemctl enable redis
systemctl start redis