Linux: Plugin Installation on RHEL based distributions
Prerequisites
Before you begin, ensure that your system is prepared with the necessary tools and permissions. You’ll need sudo privileges to execute installation commands. If you have not already, see how to import a repository key in the first steps.
Steps
You’ll need sudo privileges to execute installation commands.
Run the following script to update your repository file:
RHEL_VER=rhel$(cat /etc/redhat-release | grep -oP '(?<=release )\d+')
echo -e "[bacula-enterprise-@@plugin-name@@]\nname=Bacula Enterprise @@plugin-name@@\nbaseurl=https://www.baculasystems.com/dl/@@customer-id@@/rpms/@@plugin-name@@/@@bee-version@@/$RHEL_VER-64\nenabled=1\nautorefresh=1\ngpgcheck=1\ngpgkey=https://www.baculasystems.com/dl/@@customer-id@@/BaculaSystems-Public-Signature-08-2017.asc\n" | sudo tee -a /etc/yum.repos.d/bacula-enterprise.repo > /dev/null
Replace @@customer-id@@, @@bee-version@@, and @@plugin-name@@ with the name of the plugin you wish to install.
Then update the package cache and install the plugin using dnf:
sudo dnf check-update sudo dnf install @@bacula-enterprise-package-id@@
Be sure to replace @@bacula-enterprise-package-id@@ with the package name. See the full list here.
Manual installation of the packages, can be done after downloading the package files from the Bacula Systems provided download area, and then using the package manager to install.
Example
Install LDAP plugin on RHEL 9 with Bacula Enterprise Edition version 18.0.7.
echo -e "[bacula-enterprise-ldap]\nname=Bacula Enterprise LDAP\nbaseurl=https://www.baculasystems.com/dl/customer-12345/rpms/ldap/18.0.7/rhel9-64\nenabled=1\nautorefresh=1\ngpgcheck=1\ngpgkey=https://www.baculasystems.com/dl/customer-12345/BaculaSystems-Public-Signature-08-2017.asc\n" | sudo tee -a /etc/yum.repos.d/bacula-enterprise.repo > /dev/null
sudo dnf check-update
sudo dnf install bacula-enterprise-ldap-plugin
See also
Previous articles:
Next articles:
Go back to: Install Bacula Enterprise Plugins.