Difference between revisions of "Template:Installation/Preparation/Debian"

From diaspora* project wiki
Jump to: navigation, search
m
(Install Packages: cmake is required for the rugged gem)
 
(19 intermediate revisions by 4 users not shown)
Line 4: Line 4:
  
 
{{#tag:syntaxhighlight|
 
{{#tag:syntaxhighlight|
apt-get install build-essential cmake libssl-dev libcurl4-openssl-dev libxml2-dev libxslt-dev imagemagick ghostscript git curl libmagickwand-dev {{#switch: {{#var:DB}}|mysql=libmysqlclient-dev|postgres=libpq-dev|mariadb=libmariadbclient-dev}} redis-server nodejs
+
apt-get install build-essential cmake libssl-dev libcurl4-openssl-dev libxml2-dev libxslt-dev{{#ifeq: {{#var:mode}}|development|<nowiki/> libidn11-dev|}} imagemagick ghostscript curl libmagickwand-dev git {{#switch: {{#var:DB}}|mysql=libmysqlclient-dev|postgres=libpq-dev|mariadb=libmariadbclient-dev}}{{#ifeq: {{#var:mode}}|development|<nowiki/> cmake|}}{{#ifeq: {{#var:version}}|Wheezy|<nowiki/>
 +
apt-get install -t wheezy-backports}} redis-server nodejs
 
|lang=bash}}
 
|lang=bash}}
 +
{{#ifeq: {{#var:version}}|Wheezy|{{Template:Installation/Debian/Curl}}}}
  
 
=== Install the database ===
 
=== Install the database ===
Line 12: Line 14:
  
 
See the [http://wiki.debian.org/{{#switch: {{#var:DB}}|mysql=MySql|postgres=PostgreSql|mariadb=MariaDB}} Debian wiki].
 
See the [http://wiki.debian.org/{{#switch: {{#var:DB}}|mysql=MySql|postgres=PostgreSql|mariadb=MariaDB}} Debian wiki].
 
 
{{#ifeq: {{#var:mode}}|production|
 
{{#ifeq: {{#var:mode}}|production|
 
=== Creating a user for Diaspora ===
 
=== Creating a user for Diaspora ===
Line 26: Line 27:
 
The rest of the guide should happen under this user!
 
The rest of the guide should happen under this user!
 
}}
 
}}
 +
<noinclude>
 +
[[Category:Installation-Templates]]
 +
</noinclude>

Latest revision as of 21:17, 8 October 2018

Install Packages

As root run:

apt-get install build-essential cmake libssl-dev libcurl4-openssl-dev libxml2-dev libxslt-dev imagemagick ghostscript curl libmagickwand-dev git  redis-server nodejs


Install the database

Skip this step if you already have one.

See the Debian wiki.