====== Kimai Open Source Time Tracking ======
CREATE USER 'kimai'@'localhost' IDENTIFIED BY 'PASSW0RD1';
CREATE DATABASE `kimai`;
GRANT ALL privileges ON `kimai`.* TO 'kimai'@'localhost';
flush privileges;
mkdir -p /var/www/html/meinekleinefarm.net/kimai
cd /var/www/html/meinekleinefarm.net/kimai
wget https://github.com/kimai/kimai/releases/download/1.1.0/kimai_1.1.0.zip
unzip kimai_1.1.0.zip
rm kimai_1.1.0.zip
chown www-data:www-data -R /var/www/html/
ServerName kimai.meinekleinefarm.net
Redirect permanent / https://kimai.meinekleinefarm.net/
ServerAdmin webmaster@meinekleinefarm.net
ServerName kimai.meinekleinefarm.net
ServerAlias kimai.meinekleinefarm.net
DocumentRoot /var/www/html/meinekleinefarm.net/kimai/
AllowOverride All
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/meinekleinefarm.net/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/meinekleinefarm.net/privkey.pem
SSLOptions +StdEnvVars
SSLOptions +StdEnvVars
BrowserMatch "MSIE [2-6]" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
a2ensite kimai.meinekleinefarm.net.conf
service apache2 reload
Launch Webinstaller\\
'' rm /var/www/html/meinekleinefarm.net/kimai/installer/ -R''\\
'' rm /var/www/html/meinekleinefarm.net/kimai/updater/ -R''