Template:Installation/Preparation/Ubuntu: Difference between revisions
(Fix link to ubuntu server guides) |
(Turns out the <nowiki/> tag had a reason, who knew!) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=== Install packages === | === Install packages === | ||
Line 5: | Line 4: | ||
{{#tag:syntaxhighlight| | {{#tag:syntaxhighlight| | ||
sudo apt-get update | sudo apt-get update | ||
sudo 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|}} | sudo 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 {{#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}} | ||
=== Install the database === | === Install the database === | ||
Line 17: | Line 16: | ||
{{#tag: syntaxhighlight| | {{#tag: syntaxhighlight| | ||
sudo adduser --disabled- | sudo adduser --disabled-password diaspora | ||
sudo -iu diaspora | sudo -iu diaspora | ||
|lang="bash"}} | |lang="bash"}} |
Latest revision as of 22:59, 15 June 2024
Install packages
Run:
sudo apt-get update
sudo 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 Ubuntu server guide.
Removing packaged version of RVM
If you installed RVM via the package manager, we recommend to remove it. See this StackOverflow answer for some tips on how to do that and then continue with the installation instructions below.