Linux: BWeb Installation with Package Manager on Debian/Ubuntu

The following article aims at explaining how to install Bweb with the use of Package Manager on Debian/Ubuntu.

Prerequisites

Bacula Enterprise (Director) installed (click Linux: Bacula Enterprise Installation with Package Manager on Debian/Ubuntu).

Steps

  1. Configure package manager:

Add the following to a file /etc/apt/sources.list.d/bacula.sources

# Bacula Enterprise BWeb
Types: deb
URIs: https://www.baculasystems.com/dl/@@customer-id@@/debs/bweb/@@bee-version@@/@@os-version@@-@@arch@@/
Suites: @@os-version@@
Components: bweb
Signed-By: /etc/apt/trusted.gpg.d/BaculaSystems-Public-Signature-08-2017.asc

@@customer-id@@ refers to your personalized area string. You can find your personalized URL (Download Area) from the Customer Portal (Your subscription in the menu on the left). The URL has this format: https://www.baculasystems.com/dl/@@customer-id@@

@@bee-version@@ should be replaced by the version of Bacula Enterprise you purchased (18.x.y, 16.x.y)

@@os-version@@ is the code name of the distribution (buster/bullseye/bookworm)

@@arch@@ Architecture: 32 or 64 bit

A complete example might look like this:

Debian:

# Bacula Enterprise BWeb
Types: deb
URIs: https://www.baculasystems.com/dl/Customer-123456/debs/bweb/18.0.7/bookworm-64/
Suites: bookworm
Components: bweb
Signed-By: /etc/apt/trusted.gpg.d/BaculaSystems-Public-Signature-08-2017.asc

Ubuntu:

# Bacula Enterprise BWeb
Types: deb
URIs: https://www.baculasystems.com/dl/Customer-123456/debs/bweb/18.0.7/noble-64/
Suites: noble
Components: bweb
Signed-By: /etc/apt/trusted.gpg.d/BaculaSystems-Public-Signature-08-2017.asc

Note

In old distros you might need to use the old repository .list format, namely:

# Bacula Enterprise BWeb
deb https://www.baculasystems.com/dl/Customer-123456/debs/bweb/14.0.6/buster-64/ buster bweb

for Debian, or

# Bacula Enterprise BWeb
deb [arch=amd64] https://www.baculasystems.com/dl/Customer-123456/debs/bweb/14.0.6/bionic-64/ bionic bweb

for Ubuntu.

  1. Update your package manager and verify your BWeb Management Suite repository is correctly configured:

apt-get update
  1. Install BWeb

apt-get install bacula-enterprise-bweb

This will pull a lot of Perl dependencies that must be installed because BWeb depends on them.

4. As mentioned in the install output, you need to run the following script to finalize the installation of BWeb

/opt/bweb/bin/install_bweb.sh

Result

Bweb is installed.

Post-installation Suggestions

Start and enable the BWeb system service:

systemctl start bweb.service
systemctl enable bweb.service

Go back to Linux: Installation with Package Manager.