Add kimai2

This commit is contained in:
thomas 2022-10-14 23:58:11 +02:00
parent 9b0ca7ae1c
commit bd265145d3
8 changed files with 112 additions and 0 deletions

View file

@ -0,0 +1,36 @@
#### roundcubemail
##### Information
Site : https://www.kimai.org/
Source : https://github.com/kevinpapst/kimai2.git
##### Install
```bash
apt install -y wget ca-certificates
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
apt install kimai2
# sample configuration for apache2 + vhost
cp /usr/share/doc/kimai2/apache2-kimai2.conf /etc/apache2/sites-available/kimai2.conf
a2ensite kimai2
# edit /etc/apache2/sites-available/kimai2.conf
# edit /etc/kimai2.conf
systemctl restart apache2
```
##### Configuration
Create database sample
```SQL
create user kimai2@localhost identified by 'password';
create database IF NOT EXISTS kimai2;
grant all privileges on kimai2.* to kimai2@localhost;
```