Template:Installation/Requirements: Difference between revisions

From diaspora* project wiki
(Add note about multiple Redis dependents.)
 
(17 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.


=== Logiciels ===
Minimum recommended:


* Utilitaires nécessaires pour la compilation de sources
* '''Memory:''' 1.5 GB
* [http://www.ruby-lang.org Ruby] - le langage de programmation Ruby
* '''Swap:''' 1 GB
* [http://rubygems.org RubyGems] - gestionnaire de paquets pour les bibliothèques Ruby (comme CPAN pour le Perl ou PEAR pour le PHP)
* '''CPU:''' decent multicore
* [http://bundler.io Bundler] - gestionnaire de gems pour les projets Ruby
* '''Storage:''' The amount of hard disk space required largely depends on how many images you expect your users to upload.
* {{#switch: {{#var:DB}}|mysql=[http://www.mysql.com MySQL]|mariadb=[https://mariadb.org MariaDB]|postgres=[http://www.postgresql.org/ PostgreSQL]}} - moteur de stockage backend
 
* [http://www.openssl.org/ OpenSSL] - bibliothèque de chiffrement.
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.
* [http://curl.haxx.se/ libcurl] - bibliothèque de transfert de fichier multiprotocole ATTENTION : en raison de l'erreur sidekiq longjmp, il vous faut au moins curl 7.32
 
* [http://www.imagemagick.org/ ImageMagick] - bibliothèque de traitement d'image
=== Software ===
* [http://git-scm.com/ Git] - système de contrôle de version
 
* [http://redis.io/ Redis] - stockage clé-valeur persistante
Over the course of this manual, you will install the following software if not already installed.
* L'un des moteurs d'exécution de JavaScript dans la [https://github.com/sstephenson/execjs liste des execjs supportés].
 
* Build tools - for compiling source packages
* [http://www.ruby-lang.org Ruby] - the Ruby programming language
* [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://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://curl.haxx.se/ libcurl] - multiprotocol file transfer library WARNING: Due to sidekiq longjmp error, you need at least curl 7.32
* [http://www.imagemagick.org/ ImageMagick] - image processing library
* [http://git-scm.com/ Git] - version control system
* [http://redis.io/ Redis] - persistent key-value store
* 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.