Template:Installation/Debian/Common: Difference between revisions

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


{{#ifeq: {{#var:mode}}|production|
=== Creating a user for Diaspora ===
=== 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
cd ~
cd ~
</syntaxhighlight>
|lang="bash"}}


The rest of the guide should happen under this user!
The rest of the guide should happen under this user!
 
}}
{{User:MrZYX/WIP:Installation/RVM}}
<includeonly>
 
{{Installation/RVM}}
{{User:MrZYX/WIP:Installation/Common}}
{{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.