Template:Installation/Fedora/Common: Difference between revisions
mNo edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 6: | Line 6: | ||
{{#tag:syntaxhighlight| | {{#tag:syntaxhighlight| | ||
{{#var:pkg_command}} install {{#switch: {{#var:DB}}|mysql=mysql-server|postgres=postgresql-server|mariadb=mariadb-server}} | |||
{{#ifeq: {{#var:DB}}|postgres|postgresql-setup initdb|}} | {{#ifeq: {{#var:DB}}|postgres|postgresql-setup initdb|}} | ||
systemctl enable {{#switch: {{#var:DB}}|mysql=mysqld|postgres=postgresql|mariadb=mariadb}} | systemctl enable {{#switch: {{#var:DB}}|mysql=mysqld|postgres=postgresql|mariadb=mariadb}} | ||
Line 31: | Line 31: | ||
The rest of the guide should happen under this user! | The rest of the guide should happen under this user! | ||
}} | }} | ||
<includeonly> | |||
{{Installation/RVM}} | {{Installation/RVM}} | ||
{{Installation/Common}} | {{Installation/Common}} | ||
</includeonly> | |||
<noinclude> | |||
[[Category:Installation-Templates]] | |||
</noinclude> |
Latest revision as of 00:07, 3 September 2016
Install the database
If you already have one skip this step.
As root run:
install
systemctl enable
systemctl start
systemctl enable redis
systemctl start redis