iceHardware
- 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
Docker Lösung
OS:
Linux (Systemanforderungen für Docker sind hier zu finden: https://docs.docker.com/install/)
Software
docker, docker-compose
Bare Metal Lösung
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.02/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.02), Java (openjdk-8), redis
- DB-Software: MySQL 5.7
Pakete unter Ubuntu:
openjdk-8-jre-headless nginx-light php7.02-fpm php7fpm php7.02-mcrypt php7.0-curl php7.02-gd php7.02-cli mysql-server php7.02-mysql php7.02-mbstring php7.02-xml php7.0-zip php7.02-sqlite3 php7.02-bcmath php-redis mysql-client redis-server