Template:Installation/Fedora/Common: Difference between revisions
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
adduser diaspora | adduser diaspora | ||
su diaspora | su diaspora | ||
cd ~ | |||
</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:57, 19 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
cd ~
User:MrZYX/WIP:Installation/RVM User:MrZYX/WIP:Installation/Common