Template:Installation/Fedora/Common: Difference between revisions

From diaspora* project wiki
(Created page with "=== Install the database === If you already have one skip this step. As root run: <syntaxhighlight lang="bash"> yum install {{#switch {{#var:DB}}|mysql=mysql-server|postgre...")
 
No edit summary
Line 12: Line 12:
systemctl enable redis
systemctl enable redis
systemctl start redis
systemctl start redis
</syntaxhighlight>
== Creating a user for Diaspora ==
As root run:
<syntaxhighlight lang="bash">
adduser diaspora
su diaspora
</syntaxhighlight>
</syntaxhighlight>


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

Revision as of 20:14, 16 June 2013

Install the database

If you already have one skip this step.

As root run:

yum install {{#switch {{#var:DB}}|mysql=mysql-server|postgres=postgresql-server}}
{{#ifeq {{#var:DB}}|postgres|postgresql-setup initdb|}}
systemctl enable {{#switch {{#var:DB}}|mysql=mysqld|postgres=postgresql}}
systemctl start {{#switch {{#var:DB}}|mysql=mysqld|postgres=postgresql}}
systemctl enable redis
systemctl start redis

Creating a user for Diaspora

As root run:

adduser diaspora
su diaspora

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