Hardware
- 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.2/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 |
...
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.2), Java (openjdk-8), redis
- DB-Software: MySQL 5.7
Pakete unter Ubuntu:
openjdk-8-jre-headless nginx-light php7.2-fpm php7.2-curl php7.2-gd php7.2-cli mysql-server php7.2-mysql php7.2-mbstring php7.2-zip php7.2-sqlite3 php7.2-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 |
---|---|---|
Prebuild Env. | Changeable environment | Prebuild Env. |
Scalable | Scalable | Not scalable |
Fast | Fast | Fast |
Stable | Stable | Stable |
Low maintenance requirements | High maintenance requirements | Low maintenance requirements |
Supported | No Support | Supported |
Easy | Complex | Easy |