Primary rules:
- The URL for the repository must contain your credentials followed by the baseurl of the repository you want to use.- It is necessary to replace the @ from the mail address with a %40 or _at_ due to encoding limitations.
- You have to use https instead of http so that your credentials will not be readable for everyone on the wire.
Our server will prepare a dedicated repo file filed with your credentials if browsed with the needed credentials.
This allow the use of scripts.
Examples
Debian 11 x86_64
# Declare credential user and passwordUSER="youraccount_at_example.com"PASSWORD="S3cret_pA55w0rd"# Prepare Dist and releaseDIST=Debian_11RELEASE=release/21# add the Bareos repository
wget -q -O /etc/apt/sources.list.d/bareos.list $URL/bareos.list# add package key
wget -q $URL/Release.key -O- | apt-key add -# refresh repo list
apt-get update# install Bareos packages
apt-get install bareos-client
CentOS RHEL Fedora
# Declare credential user and passwordUSER="youraccount_at_example.com"PASSWORD="S3cret_pA55w0rd"# Prepare Dist and release CentOS_7, RHEL_7, RHEL_8, Fedora_35DIST=EL_8RELEASE=release/21wget -O /etc/yum.repos.d/bareos.repo $URL/bareos.repodnf install bareos-director bareos-database-postgresql bareos-storage bareos-filedaemon -y
SLES / openSUSE
# Declare credential user and passwordUSER="youraccount_at_example.com"PASSWORD="S3cret_pA55w0rd"# Prepare Dist and release SLE_15_SP3, openSUSE__Leap_15.3DIST=SLE_15_SP3RELEASE=release/21zypper addrepo --check --gpgcheck --enable --refresh --repo $URL/bareos.repozypper refresh -fzypper install bareos-client
FreeBSD
bash
# Declare credential user and passwordUSER="youraccount_at_example.com"PASSWORD="S3cret_pA55w0rd"# Prepare Dist and release SLE_15_SP3, openSUSE__Leap_15.3DIST=FreeBSD_13.0RELEASE=release/21wget -q -O /etc/pkg/bareos.conf $URL/bareos.conf# install Bareos packagespkg install --yes bareos.com-filedaemon
Windows, MacOSX
Download the package from the repository and install it.