Template:Installation/Fedora/Common

From diaspora* project wiki
< Template:Installation
Revision as of 20:12, 16 June 2013 by Jhass (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

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