Template:Installation/Preparation/Debian: Difference between revisions
mNo edit summary |
SuperTux88 (talk | contribs) (Fix libxslt1-dev) |
||
(21 intermediate revisions by 5 users not shown) | |||
Line 4: | Line 4: | ||
{{#tag:syntaxhighlight| | {{#tag:syntaxhighlight| | ||
apt-get install build-essential | apt-get install build-essential git curl gsfonts imagemagick libmagickwand-dev nodejs redis-server libssl-dev libcurl4-openssl-dev libxml2-dev libxslt1-dev {{#ifeq: {{#var:mode}}|development|libidn11-dev <nowiki/>|}}{{#switch: {{#var:DB}}|mysql=default-libmysqlclient-dev|postgres=libpq-dev|mariadb=default-libmysqlclient-dev}}{{#ifeq: {{#var:mode}}|development|<nowiki/> cmake|}} | ||
|lang=bash}} | |lang=bash}} | ||
Line 12: | Line 12: | ||
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 25: | ||
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 00:49, 4 November 2020
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
Install the database
Skip this step if you already have one.
See the Debian wiki.