Template:Installation/Preparation/Debian: Difference between revisions

From diaspora* project wiki
(→‎Install Packages: Note differences for stretch)
(Update Debian System Preparation instructions)
 
(7 intermediate revisions by 3 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|<nowiki/>
apt-get install build-essential git curl gsfonts imagemagick libmagickwand-dev nodejs redis-server libssl-dev libcurl4-openssl-dev libxml2-dev libxslt1-dev libidn11-dev yarnpkg {{#switch: {{#var:DB}}|mysql=default-libmysqlclient-dev|postgres=libpq-dev|mariadb=default-libmysqlclient-dev}}{{#ifeq: {{#var:mode}}|development|<nowiki/> cmake|}}
apt-get install -t wheezy-backports}} redis-server nodejs
|lang=bash}}
|lang=bash}}
{{#ifeq: {{#var:version}}|Wheezy|{{Template:Installation/Debian/Curl}}}}
{{#ifeq: {{#var:version}}|Wheezy||Note: If you are installing on testing/stretch, you will need to replace libssl-dev with libssl1.0-dev, and also install the extra packages: libyaml-dev libgdbm-dev}}


=== Install the database ===
=== Install the database ===
Line 22: Line 18:


{{#tag: syntaxhighlight|
{{#tag: syntaxhighlight|
adduser --disabled-login diaspora
adduser --disabled-password diaspora
su diaspora
su diaspora
cd ~
cd ~

Latest revision as of 23:02, 15 June 2024

Install Packages

As root run:

apt-get install build-essential git curl gsfonts imagemagick libmagickwand-dev nodejs redis-server libssl-dev libcurl4-openssl-dev libxml2-dev libxslt1-dev libidn11-dev yarnpkg

Install the database

Skip this step if you already have one.

See the Debian wiki.