Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Software

PHP 7.0, Java (openjdk), redis (Optional als Cache, aber empfohlen)


DB-Software

MySQL 5.3 bis 5.7 oder MariaDB 5.5

 

MYSQL 

/etc/mysql/mysql.conf.d/troi.cnf

Code Block
languagetext
[mysqld]
explicit_defaults_for_timestamp = Off
sql_mode =


PHP Einstellung:

/etc/php/7.0/fpm/conf.d/99-troi.ini

Code Block
languagephp
themeRDark
titlePHP Konfiguration
linenumberstrue
memory_limit = 1G
upload_max_filesize = 20M
max_execution_time = 120
cgi.fix_pathinfo = 0
max_input_vars = 16000
post_max_size = 20M
display_errors = Off
display_startup_errors = Off
allow_url_fopen = On
error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR
short_open_tag = On

 

Nginx rewrite Regeln:

Code Block
if (!-e $request_filename){
    rewrite  ^/caldav/ /caldav/index.php?auth=$http_authorization  last;
}
rewrite  ^/api/v2/rest/ /api/v2/rest/troi.php?auth=$http_authorization&$query_string  last;
rewrite  ^/carddav/ /carddav/addressbookserver.php last;

 


Empfohlenes Setup:

  • OS: Ubuntu 16.04 Headless
  • CPU: >= 4 VCPU's min. 2 GHz
  • RAM: >= 4 GB RAM
  • HD: >= 50 GB
  • Webserver: Nginx
  • Software: PHP7-FPM (PHP 7.0), Java (openjdk-8), redis
  • DB-Software: MySQL 5.7

Pakete unter Ubuntu:

...