13.2 Baculumインストール(Ubuntu18.04編)

# vi /etc/apt/sources.list.d/baculum.list
# Baculum Repository
deb [ arch=amd64 ] http://bacula.org/downloads/baculum/stable/ubuntu bionic main
# wget -qO - http://bacula.org/downloads/baculum/baculum.pub | apt-key add -
OK
# apt-get update
# apt-get install baculum-common baculum-api baculum-api-apache2
# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
  systemctl restart apache2
# a2ensite baculum-api
# service apache2 restart
Enabling site baculum-api.
To activate the new configuration, you need to run:
  systemctl reload apache2
# apt-get install baculum-common baculum-web baculum-web-apache2
# a2enmod rewrite
Module rewrite already enabled
# a2ensite baculum-web
To activate the new configuration, you need to run:
  systemctl reload apache2
# service apache2 restart
# vi /etc/sudoers.d/baculum
Defaults:www-data !requiretty
www-data  ALL=NOPASSWD:  /opt/bacula/bin/bconsole
www-data  ALL=NOPASSWD:  /opt/bacula/bin/bdirjson
www-data  ALL=NOPASSWD:  /opt/bacula/bin/bsdjson
www-data  ALL=NOPASSWD:  /opt/bacula/bin/bfdjson
www-data  ALL=NOPASSWD:  /opt/bacula/bin/bbconsjson
タイトルとURLをコピーしました