Template:Installation/Preparation/Debian: Difference between revisions
No edit summary |
(Update Debian System Preparation instructions) |
||
(10 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 libidn11-dev yarnpkg {{#switch: {{#var:DB}}|mysql=default-libmysqlclient-dev|postgres=libpq-dev|mariadb=default-libmysqlclient-dev}}{{#ifeq: {{#var:mode}}|development|<nowiki/> cmake|}} | ||
|lang=bash}} | |lang=bash}} | ||
=== Install the database === | === Install the database === | ||
Line 19: | Line 18: | ||
{{#tag: syntaxhighlight| | {{#tag: syntaxhighlight| | ||
adduser --disabled- | adduser --disabled-password diaspora | ||
su diaspora | su diaspora | ||
cd ~ | cd ~ | ||
|lang="bash"}} | |lang="bash"}} | ||
The rest of the guide should happen under this user! | The rest of the guide should happen under this user! | ||
}} | }} | ||
<noinclude> | <noinclude> | ||
[[Category:Installation]] | [[Category:Installation-Templates]] | ||
</noinclude> | </noinclude> |
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.