Template:Installation/Preparation/Debian: Difference between revisions

From diaspora* project wiki
mNo edit summary
(→‎Install Packages: cmake is required for the rugged gem)
(13 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 curl libmagickwand-dev git {{#switch: {{#var:DB}}|mysql=libmysqlclient-dev|postgres=libpq-dev|mariadb=libmariadbclient-dev}}{{#ifeq: {{#var:version}}|Wheezy|
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
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 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>

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.