Template:Installation/Requirements: Difference between revisions

From diaspora* project wiki
(Add note about multiple Redis dependents.)
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Prérequis ==
== Requirements ==


=== Matériels ===
=== Hardware ===
Pour l'exécution d'un pod de taille moyenne, votre serveur doit avoir ''au minimum'' 512 Mo de RAM (+1 Go d'espace de swap) et un CPU multicœur décent. La quantité d'espace disque requis dépend en grande partie du nombre d'images que vous estimez que vos utilisateurs téléchargeront. Si vous envisagez d'exécuter le serveur de base de données sur le même hôte, vous devriez prévoir au moins un volume double de mémoire vive et d'espace disque.


=== Logiciel ===
Minimum recommended:
 
* '''Memory:''' 1.5 GB
* '''Swap:''' 1 GB
* '''CPU:''' decent multicore
* '''Storage:''' The amount of hard disk space required largely depends on how many images you expect your users to upload.
 
It is possible to run a pod on a Raspberry Pi >= 2. However, this will be very slow and is not recommended for multi-user pods.
 
=== Software ===
 
Over the course of this manual, you will install the following software if not already installed.


* Build tools - for compiling source packages
* Build tools - for compiling source packages
Line 10: Line 20:
* [http://rubygems.org RubyGems] - package manager for Ruby code libraries (like CPAN for Perl or PEAR for PHP)
* [http://rubygems.org RubyGems] - package manager for Ruby code libraries (like CPAN for Perl or PEAR for PHP)
* [http://bundler.io Bundler] - gem management tool for Ruby projects
* [http://bundler.io Bundler] - gem management tool for Ruby projects
* {{#switch: {{#var:DB}}|mysql=[http://www.mysql.com MySQL]|mariadb=[https://mariadb.org MariaDB]|postgres=[http://www.postgresql.org/ PostgreSQL]}} - backend storage engine
* [http://www.mysql.com MySQL] or [https://mariadb.org MariaDB] or [http://www.postgresql.org/ PostgreSQL] - backend storage engine
* [http://www.openssl.org/ OpenSSL] - encryption library.
* [http://www.openssl.org/ OpenSSL] - encryption library.
* [http://curl.haxx.se/ libcurl] - multiprotocol file transfer library WARNING: Due to sidekiq longjmp error, you need at least curl 7.32
* [http://curl.haxx.se/ libcurl] - multiprotocol file transfer library WARNING: Due to sidekiq longjmp error, you need at least curl 7.32
Line 17: Line 27:
* [http://redis.io/ Redis] - persistent key-value store
* [http://redis.io/ Redis] - persistent key-value store
* one of the JavaScript runtimes on [https://github.com/sstephenson/execjs execjs' supported list].
* one of the JavaScript runtimes on [https://github.com/sstephenson/execjs execjs' supported list].
<noinclude>[[Category:Installation-Templates]]</noinclude>
Please note that running diaspora* together with other applications that use Redis on the same machine can be dangerous. Only do that if you absolutely know what you are doing, and if you know how to change the Redis database for all of the applications.

Latest revision as of 15:24, 11 January 2019

Requirements

Hardware

Minimum recommended:

  • Memory: 1.5 GB
  • Swap: 1 GB
  • CPU: decent multicore
  • Storage: The amount of hard disk space required largely depends on how many images you expect your users to upload.

It is possible to run a pod on a Raspberry Pi >= 2. However, this will be very slow and is not recommended for multi-user pods.

Software

Over the course of this manual, you will install the following software if not already installed.

  • Build tools - for compiling source packages
  • Ruby - the Ruby programming language
  • RubyGems - package manager for Ruby code libraries (like CPAN for Perl or PEAR for PHP)
  • Bundler - gem management tool for Ruby projects
  • MySQL or MariaDB or PostgreSQL - backend storage engine
  • OpenSSL - encryption library.
  • libcurl - multiprotocol file transfer library WARNING: Due to sidekiq longjmp error, you need at least curl 7.32
  • ImageMagick - image processing library
  • Git - version control system
  • Redis - persistent key-value store
  • one of the JavaScript runtimes on execjs' supported list.

Please note that running diaspora* together with other applications that use Redis on the same machine can be dangerous. Only do that if you absolutely know what you are doing, and if you know how to change the Redis database for all of the applications.