Template:Installation/Preparation/Fedora: Difference between revisions

From diaspora* project wiki
(Created page with "=== Install packages === As root run: {{#tag:syntaxhighlight| {{#var:pkg_command}} install tar make automake gcc gcc-c++ git net-tools libcurl-devel libxml2-devel libffi-dev...")
 
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#ifeq: {{#var:version}}|21|{{#vardefine:pkg_command|yum}}|{{#vardefine:pkg_command|dnf}}}}
=== Install packages ===
=== Install packages ===


Line 21: Line 22:
systemctl start redis
systemctl start redis
|lang=bash}}
|lang=bash}}


{{#ifeq: {{#var:mode}}|production|
{{#ifeq: {{#var:mode}}|production|
Line 32: Line 32:
# If you already created a user and want to disable login for it:
# If you already created a user and want to disable login for it:
usermod -L diaspora
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:
# Then switch to it:
su diaspora
su diaspora
Line 39: Line 41:
The rest of the guide should happen under this user!
The rest of the guide should happen under this user!
}}
}}
<noinclude>
[[Category:Installation-Templates]]
</noinclude>

Latest revision as of 19:18, 2 January 2019

Install packages

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 nodejs

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