In `[approot]/config/` copy the 2 *.dist files to the same filename but without ".dist".
## Create data structure and tmp
The aplication works with
- a data directory /var/imldeployment
- a tmp directory /var/tmp/imldeployment
If you use ansible you can use this snippet.
```txt
- name: extra appdirs
become: yes
become_user: root
hosts: ciserver
tasks:
- name: Create CI SERVER base dirs
file:
path: '{{ item }}'
mode: 0750
owner: www-data
group: www-data
state: directory
loop:
- '/var/tmp/imldeployment'
- '/var/imldeployment'
- '/var/imldeployment/data'
- '/var/imldeployment/data/database'
- '/var/imldeployment/data/projects'
- '/var/imldeployment/data/sshkeys'
- '/var/imldeployment/build'
- '/var/imldeployment/defaults'
- '/var/imldeployment/packages'
- '/var/imldeployment/packages/_files'
```
## Enable shell for Apache service user ##
The service user of the webservice needs to execute commands with php function exec. By default this user has set nologin as shell - this muust be changed to `bin/bash`.
Remark: the username can differ from distribution to distribution. Maybe it is "apache" or "wwwrun" on your system.