Bacula Enterprise rpm (Redhat/Fedora/Suse) binary installation In general, you should get the binary packages from your download area on www.baculasystems.com. You can either download what you need or setup a repository pointing to the download area that will allow you to use your installer program such as yum to ensure that all the dependencies a met. Installing using Yum: --------------------- Import the signing key on your system Run the command below to import Bacula Systems signing key # rpm --import https://www.baculasystems.com/dl//BaculaSystems-Public-Signature-08-2017.asc For Red Hat Enterprise Linux 5 and Centos 5 platform, please use the command below # rpm --import https://www.baculasystems.com/dl//BaculaSystems-Public-Signature.asc To verify that the signing key has been imported successfuly, run this command # rpm -q gpg-pubkey --qf '%{name}-%{version}-%{release} --> %{summary}\n' You should see one of those entries below depending on which key you selected in the previous step gpg-pubkey-a361392a-48ef9f0f --> gpg(Bacula Systems (Bacula Systems Distribution Verification Key) ) gpg-pubkey-5258dbbb-598b12ad --> gpg(Bacula Systems (Bacula Systems Distribution Verification Key) ) Create the file /etc/yum.repos.d/Bacula-Enterprise.repo ====== [Bacula-Enterprise] name = Red Hat Enterprise - Bacula-Enterprise baseurl = https://www.baculasystems.com/dl//rpms/bin/13.0.3/rhel7-64/ enabled = 1 protect = 0 gpgcheck = 1 [Bacula-Enterprise-bweb] name = Red Hat Enterprise - BWeb Management Suite for BEE baseurl = https://www.baculasystems.com/dl//rpms/bweb/13.0.3/rhel7-64/ enabled = 1 protect = 0 gpgcheck = 1 [Bacula-Enterprise-dag] name = Red Hat Enterprise - Bacula Systems dag for BWeb baseurl = https://www.baculasystems.com/dl/DAG/rhel7-64/ enabled = 1 protect = 0 gpgcheck = 0 ====== The equal signs should not be in the file, they are used here simply to delimite the file. Please replace the with the name of the last part your download area that was given to you in your Welcome Package. Also please ensure that you adapt the Bacula version 13.0.3 and the architecture (platform rhel7-64) to correspond to your system. If you have not previously installed the PostgreSQL server, do so with: yum install postgresql-server Then install the Bacula postgreSQL driver with: yum install bacula-enterprise-postgresql If this is the first time you have installed the PostgreSQL server, you will need to do the following: ===== service postgresql initdb chkconfig postgresql on service postgresql restart su postgres /opt/bacula/scripts/create_postgresql_database /opt/bacula/scripts/make_postgresql_tables /opt/bacula/scripts/grant_postgresql_privileges exit service postgresql restart /opt/bacula/scripts/bacula restart ===== If you want to install Bat, you will also want to do: yum install bacula-enterprise-bat If you wish to install BWeb, please ask for the Bacula Enterprise White Paper for the BWeb package. Installing using Yast: --------------------- Create the yast/yum configuration files using zypper zypper ar -f https://www.baculasystems.com/dl/DAG/rhel7-64/ bacula-perl zypper ar -f https://www.baculasystems.com/dl//rpms/bin/13.0.3/rhel7-64/ bacula-bee zypper ar -f https://www.baculasystems.com/dl//rpms/bweb/13.0.3/rhel7-64/ bacula-bweb Please replace the with the name of the last part your download area that was given to you in your Welcome Package. Also please ensure that you adapt the Bacula version and the architecture (sles11-64) to correspond to your system. If you have not previously installed the PostgreSQL server, do so with: # yast -i postgresql-server Then install the Bacula postgreSQL driver with: # yast -i bacula-enterprise-postgresql or # zypper install bacula-enterprise-postgresql If this is the first time you have installed the PostgreSQL server, you will need to do the following: ===== service postgresql initdb chkconfig postgresql on service postgresql restart su postgres /opt/bacula/scripts/create_postgresql_database /opt/bacula/scripts/make_postgresql_tables /opt/bacula/scripts/grant_postgresql_privileges exit service postgresql restart /opt/bacula/scripts/bacula restart ===== If you want to install Bat, you will also want to do: yast -i bacula-enterprise-bat If you wish to install BWeb, please ask for the Bacula Enterprise White Paper for the BWeb package. Installing by hand: ------------------- Please note that when installing by hand, we give you general instructions below, but you must manually adapt the version numbers (13.0.3 ...) and the release numbers (rh4, rh5, rh6, ...) to correspond to what you are installing. Assuming you will download the binaries to your machine, first, transfer the binary packages you need to your RedHat or SuSE machine. For example: bacula-enterprise-bat-13.0.3-1.rh6.x86_64.rpm bacula-enterprise-client-13.0.3-1.rh6.x86_64.rpm bacula-enterprise-libs-13.0.3-1.rh6.x86_64.rpm and either bacula-enterprise-mysql-13.0.3-1.rh6.x86_64.rpm or bacula-enterprise-postgresql-13.0.3-1.rh6.x86_64.rpm and if you are going to update the database: bacula-enterprise-updatedb-13.0.3-1.rh6.rpm In addition, if you have any plugins, please download the rpms for them. To install generally if you have not previously installed a Bacula Enterprise binary, you will want to save your old configuration files somewhere and then remove the old packages with: rpm -e ... If you have previously used a Bacula Enterprise binary, you do not need to remove the packages, you can simply install or upgrade the new ones with: rpm -Uhv bacula-enterprise-bat-13.0.3-1.rh6.x86_64.rpm \ bacula-enterprise-client-13.0.3-1.rh6.x86_64.rpm \ bacula-enterprise-libs-13.0.3-1.rh6.x86_64.rpm \ ... That is you can put them all on one line or multiple lines if terminated with \ (and no space after the \).