Template:Installation/Fedora/Common: Difference between revisions

From diaspora* project wiki
No edit summary
No edit summary
Line 5: Line 5:
As root run:
As root run:


<syntaxhighlight lang="bash">
{{#tag:syntaxhighlight|
yum install {{#switch: {{#var:DB}}|mysql=mysql-server|postgres=postgresql-server}}
yum install {{#switch: {{#var:DB}}|mysql=mysql-server|postgres=postgresql-server}}
{{#ifeq: {{#var:DB}}|postgres|postgresql-setup initdb|}}
{{#ifeq: {{#var:DB}}|postgres|postgresql-setup initdb|}}
Line 12: Line 12:
systemctl enable redis
systemctl enable redis
systemctl start redis
systemctl start redis
</syntaxhighlight>
|lang=bash}}


=== Creating a user for Diaspora ===
=== Creating a user for Diaspora ===

Revision as of 21:22, 20 June 2013

Install the database

If you already have one skip this step.

As root run:

yum install 

systemctl enable {{#switch |mysql=mysqld|postgres=postgresql}}
systemctl start {{#switch |mysql=mysqld|postgres=postgresql}}
systemctl enable redis
systemctl start redis

Creating a user for Diaspora

As root run:

adduser diaspora
su diaspora
cd ~

User:MrZYX/WIP:Installation/RVM User:MrZYX/WIP:Installation/Common