ice
- OS: Linux (Bevorzugt Debian oder Ubuntu)
- Prozessor: mind. 2 VCPU's 2,4 GHz
RAM: 4 GB RAM
HD: 25 GB (empfohlen 2 HDs im Raid1-Verbund)
Webserver Apache2 oder Nginx
Software
PHP 7.2, Java (openjdk), redis
DB-Software
MySQL 5.3 bis 5.7 oder MariaDB 5.5
MYSQL
/etc/mysql/mysql.conf.d/troi.cnf
Code Block | ||
---|---|---|
| ||
[mysqld]
explicit_defaults_for_timestamp = Off
sql_mode = |
PHP Einstellung:
/etc/php/7.0/fpm/conf.d/99-troi.ini
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
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:
openjdk-8-jre-headless nginx-light php7.0-fpm php7.0-mcrypt php7.0-curl php7.0-gd php7.0-cli mysql-server php7.0-mysql php7.0-mbstring php7.0-xml php7.0-zip php7.0-sqlite3 php7.0-bcmath php-redis mysql-client redis-server
Table of Contents | ||
---|---|---|
|
...
Es gibt drei Wege TROI intern zu betreiben:
Jede Lösung hat seine Vor- und Nachteile (Wir empfehlen die Docker Variante):
Docker | Bare Metal | Iso |
---|---|---|
![]() | ![]() | ![]() |
![]() | ![]() | ![]() |
![]() | ![]() | ![]() |
![]() | ![]() | ![]() |
![]() | ![]() | ![]() |
![]() | ![]() | ![]() |
![]() | ![]() | ![]() |