ispconfig - poznamky k implementaci

Podpora

BugTracker https://git.ispconfig.org/ispconfig/ispconfig3/issues

API priklady https://git.ispconfig.org/ispconfig/ispconfig3/tree/master/remoting_client/examples

Multiserver instalace

Vlastni login k master databazi

V multiserver rezimu muze byt nekdy uzitecne vnuceni vlastniho uzivatele bez prav k celemu db serveru, kde master databaze bezi. V takovem pripade je potreba upraveny login zmeni v techto souborech:

/usr/local/ispconfig/interface/lib/config.inc.php
/usr/local/ispconfig/server/lib/config.inc.php

Druha varianta je vytvorit v obou adresarich config.inc.local.php kam presuneme nase nastaveni pripojeni k master databazi

Oddelene role pro jednotlive servery

Pokud mame vyhrazeny SQL server pro hostingove stroje, je nutne na databazovem stroji udrzovat v /etc/hosts spravne mapovani FQDN serveru na IP adresu, zejmena pokud pouzivame privatni adresy !

SSL

Je potreba presunout adresar /usr/local/ispconfig/interface/acme ⇒ /var/local/acme, potom udelat symlink zpet do /usr/local/ispconfig/interface/acme a nastavit prava chmod 775 /var/local/acme a nasledne pridat do apache:

Alias /.well-known/acme-challenge /var/local/acme/.well-known/acme-challenge <Directory /var/local/acme/.well-known/acme-challenge> Require all granted <IfModule mpm_itk_module> AssignUserId www-data www-data </IfModule> </Directory>

jinak kravi vytvareni certifikatu.

PHP

Vzhledem k moznosti vice verzi PHP je dobre definovat vychozi hodnoty nekde bokem a pak vlozit symlinky do /etc/php/7.0/*/conf.d/05-php-default.ini napr.

memory_limit = 48M upload_max_filesize = 64M max_file_uploads = 30 post_max_size = 64M sendmail_path = "/usr/sbin/sendmail-php -t -i" date.timezone = "Europe/Prague"