summaryrefslogtreecommitdiff
path: root/www-apps/bareos-webui/files/postinstall-en.txt
blob: cd8b10f3b530b8269000bbe2e7db218a9b31003e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
1. Edit webui ini files

  - if your bareos-dir is not running on localhost you need
    to edit /etc/bareos-webui/directors.ini

  - maybe you want to edit the webui settings in
    /etc/bareos-webui/configuration.ini

  NOTE: If you want to run more than one instance of bareos-webui and
        you need to use different ini-files per vhost you can set
        BAREOS_WEBUI_CONFDIR in the webserver env to point to another
        directory than /etc/bareos-webui.

2. Edit bareos-dir configuration

  - some required bareos-dir config snippets have been installed
    to /etc/bareos/bareos-dir.d. You need at least to 
    cp /etc/bareos/bareos-dir.d/console/admin.conf{.example,}
    and edit /etc/bareos/bareos-dir.d/console/admin.conf to set
    login credentials for webui login

  - don't forget to reload bareos-dir

3. Edit webserver configuration

  - starting from bareos 23, using php-fpm is a requirement
    so be sure to have a working php-fpm setup

  - as a starting point you may include a config from
    /usr/share/webapps/${PN}/${PVR}/conf

  - IMPORTANT: make sure the docroot of your webserver points to
    the public/ folder within webapp htdocs directory

For more details about how to setup the bareos webui, see:
https://docs.bareos.org/IntroductionAndTutorial/InstallingBareosWebui.html