Template:Installation/Preparation/Ubuntu: Difference between revisions

From diaspora* project wiki
(Remove double cmake)
(Fix link to ubuntu server guides)
 
Line 12: Line 12:
Skip this step if you already have one.
Skip this step if you already have one.


See the [https://help.ubuntu.com/{{#var:version_number}}/serverguide/{{#switch: {{#var:DB}}|mariadb=mysql|mysql=mysql|postgres=postgresql}}.html Ubuntu server guide].
See the [https://ubuntu.com/server/docs/databases-{{#switch: {{#var:DB}}|mariadb=mysql|mysql=mysql|postgres=postgresql}} Ubuntu server guide].
{{#ifeq: {{#var:mode}}|production|
{{#ifeq: {{#var:mode}}|production|
=== Creating a user for Diaspora ===
=== Creating a user for Diaspora ===

Latest revision as of 07:15, 3 June 2021

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

If you receive errors about packages that could not be found, make sure that universe is enabled in /etc/apt/sources.list after the entry for trusty-updates.

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.