Template:Installation/Requirements: Difference between revisions

From diaspora* project wiki
m (Reverted edits by Framasoft member (talk) to last revision by Jhass)
(Add note about multiple Redis dependents.)
 
(6 intermediate revisions by one other user not shown)
Line 3: Line 3:
=== Hardware ===
=== Hardware ===


For running an average-sized pod, your server should have ''at the very least'' 512MB of RAM (+1GB swap space) and a decent multi-core CPU. The amount of hard disk space required largely depends on how many images you expect your users to upload. If you plan to run the database server on the same host you should allow for at least double the amount of RAM and disk space.
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 ===
=== 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 11: 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 18: 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.