Template:Installation/Debian/Common: Difference between revisions

From diaspora* project wiki
No edit summary
No edit summary
 
(26 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Install Nodejs ==
=== Install the database ===
 
Follow the instructions for wheezy [https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#debian-lmde here].
 
 
== 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:


<syntaxhighlight lang="bash">
{{#tag: syntaxhighlight|
adduser diaspora
adduser --disabled-login diaspora
su diaspora
su diaspora
</syntaxhighlight>
cd ~
|lang="bash"}}


The rest of the guide should happen under this user!
The rest of the guide should happen under this user!
 
}}
== RVM ==
<includeonly>
 
{{Installation/RVM}}
{{User:MrZYX/WIP:Installation/RVM}}
{{Installation/Common}}
</includeonly>
<noinclude>
[[Category:Installation-Templates]]
</noinclude>

Latest revision as of 00:07, 3 September 2016

Install the database

Skip this step if you already have one.

See the Debian wiki.