37 lines
711 B
Markdown
37 lines
711 B
Markdown
#### kimai2
|
|
|
|
##### 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;
|
|
|
|
```
|