Template:Installation/Preparation/Ubuntu: Difference between revisions

From diaspora* project wiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{#vardefine:version_number|{{#switch: {{#var:version}}|Precise=12.04|Trusty=14.04|Xenia=16.04}}}}
=== Install packages ===
=== Install packages ===


Line 13: Line 14:
Skip this step if you already have one.
Skip this step if you already have one.


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

Revision as of 12:03, 2 September 2016

Install packages

Run:

sudo apt-get update
sudo apt-get install build-essential git curl imagemagick libmagickwand-dev nodejs redis-server libcurl4-openssl-dev libxml2-dev libxslt-dev libgmp-dev

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.