Install using archive
Since Bacula-Web version 9.8.0, pre-installed archive and signature files are available in GitHub releases.
Download the archive
$ curl -O -L https://github.com/bacula-web/bacula-web/releases/download/v9.9.0/bacula-web-v9.9.0.tgz
Verify archive signature (optional)
Both SHA-256 and SHA-512 signature files are available from the Bacula-Web project release page.
I strongly suggest checking the integrity of the compressed archive you downloaded before proceeding with the installation.
Download the sha signature file.
For the SHA-256 signature file
curl -LO https://github.com/bacula-web/bacula-web/releases/download/v9.9.0/bacula-web-sha256.txt
For the SHA-512 signature file
curl -LO https://github.com/bacula-web/bacula-web/releases/download/v9.9.0/bacula-web-sha512.txt
Once downloaded, run one of the commands below from the same path where you've downloaded the bacula-web-<version>.tgz file.
- On Linux
- On macOs
# using sha256
sha256sum -c bacula-web-sha256.txt
# using sha512
sha512sum -c bacula-web-sha512.txt
# using sha256
shasum -a 256 -c bacula-web-sha256.txt
# using sha512
shasum -a 512 -c bacula-web-sha512.txt
If the signature verification succeeds, the output should be as follows.
bacula-web-v9.9.0.tgz: OK
Decompress the archive
$ tar -xvf bacula-web-v9.9.0.tgz
The above instructions use version 9.9.0 as an example; you must replace it with the version you are using.
Fix files/folders ownership and permissions
Move the folder in the web server folder
- For Red Hat / Centos / Fedora
- For Debian / Ubuntu
$ sudo mv -v bacula-web /var/www/html/
$ sudo mv -v bacula-web /var/www/
Follow instructions to set permissions and ownership in your Bacula-Web folder.
Once you're done, please proceed to the configuration of Bacula-Web.