Template:Installation/Debian/Common: Difference between revisions
No edit summary |
No edit summary |
||
(26 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
= | === Install the database === | ||
== Install the database == | |||
Skip this step if you already have one. | Skip this step if you already have one. | ||
See the [http://wiki.debian.org/{{#switch {{#var:DB}} | mysql = MySql | postgres = PostgreSql}} Debian wiki]. | See the [http://wiki.debian.org/{{#switch: {{#var:DB}}|mysql=MySql|postgres=PostgreSql|mariadb=MariaDB}} Debian wiki]. | ||
== Creating a user for Diaspora == | {{#ifeq: {{#var:mode}}|production| | ||
=== Creating a user for Diaspora === | |||
As root run: | As root run: | ||
{{#tag: syntaxhighlight| | |||
adduser diaspora | adduser --disabled-login diaspora | ||
su diaspora | su diaspora | ||
cd ~ | |||
|lang="bash"}} | |||
The rest of the guide should happen under this user! | The rest of the guide should happen under this user! | ||
}} | |||
<includeonly> | |||
{{Installation/RVM}} | |||
{{ | {{Installation/Common}} | ||
</includeonly> | |||
<noinclude> | |||
[[Category:Installation-Templates]] | |||
</noinclude> |