From 52ef4a83b29f6022a99f5cc99552c7ef75ce86f8 Mon Sep 17 00:00:00 2001 From: Joerg Steffens Date: Thu, 14 Dec 2017 18:23:21 +0100 Subject: [PATCH] install: choose different releases --- manuals/en/main/install.tex | 48 ++++++++++++++++++++++++++++--------- 1 file changed, 37 insertions(+), 11 deletions(-) diff --git a/manuals/en/main/install.tex b/manuals/en/main/install.tex index 2e5597f..ec5905f 100644 --- a/manuals/en/main/install.tex +++ b/manuals/en/main/install.tex @@ -100,17 +100,23 @@ \subsubsection{RHEL$\ge$7, CentOS$\ge$7, Fedora} DIST=RHEL_7 # or -# DIST=Fedora_24 # DIST=CentOS_7 +# DIST=Fedora_26 +# DIST=Fedora_25 + +RELEASE=release/17.2/ +# or +# RELEASE=release/latest/ +# RELEASE=experimental/nightly/ # add the Bareos repository -URL=http://download.bareos.org/bareos/release/latest/$DIST +URL=http://download.bareos.org/bareos/release/$RELEASE/$DIST wget -O /etc/yum.repos.d/bareos.repo $URL/bareos.repo # install Bareos packages yum install bareos bareos-database-postgresql \end{commands} -%\hide{$} +\hide{$} \subsubsection{RHEL 6, CentOS 6} \index[general]{Platform!RHEL!6} @@ -133,14 +139,19 @@ \subsubsection{RHEL 6, CentOS 6} DIST=RHEL_6 # DIST=CentOS_6 +RELEASE=release/17.2/ +# or +# RELEASE=release/latest/ +# RELEASE=experimental/nightly/ + # add the Bareos repository -URL=http://download.bareos.org/bareos/release/latest/$DIST +URL=http://download.bareos.org/bareos/release/$RELEASE/$DIST wget -O /etc/yum.repos.d/bareos.repo $URL/bareos.repo # install Bareos packages yum install bareos bareos-database-postgresql \end{commands} -%\hide{$} +\hide{$} \subsubsection{RHEL 5} @@ -156,15 +167,20 @@ \subsubsection{RHEL 5} DIST=RHEL_5 +RELEASE=release/17.2/ +# or +# RELEASE=release/latest/ +# RELEASE=experimental/nightly/ + # add the Bareos repository -URL=http://download.bareos.org/bareos/release/latest/$DIST +URL=http://download.bareos.org/bareos/release/$RELEASE/$DIST wget -O /etc/yum.repos.d/bareos.repo $URL/bareos.repo # install Bareos packages yum install bareos-database-postgresql yum install bareos \end{commands} -%\hide{$} +\hide{$} \subsection{Install on SUSE based Linux Distributions} @@ -185,14 +201,19 @@ \subsubsection{SUSE Linux Enterprise Server (SLES), openSUSE} # DIST=openSUSE_Leap_42.3 # DIST=openSUSE_Leap_42.2 +RELEASE=release/17.2/ +# or +# RELEASE=release/latest/ +# RELEASE=experimental/nightly/ + # add the Bareos repository -URL=http://download.bareos.org/bareos/release/latest/$DIST +URL=http://download.bareos.org/bareos/release/$RELEASE/$DIST zypper addrepo --refresh $URL/bareos.repo # install Bareos packages zypper install bareos bareos-database-postgresql \end{commands} -%\hide{$} +\hide{$} @@ -219,7 +240,12 @@ \subsubsection{Debian / Ubuntu} # DIST=xUbuntu_14.04 # DIST=xUbuntu_12.04 -URL=http://download.bareos.org/bareos/release/latest/$DIST/ +RELEASE=release/17.2/ +# or +# RELEASE=release/latest/ +# RELEASE=experimental/nightly/ + +URL=http://download.bareos.org/bareos/release/$RELEASE/$DIST # add the Bareos repository printf "deb $URL /\n" > /etc/apt/sources.list.d/bareos.list @@ -231,7 +257,7 @@ \subsubsection{Debian / Ubuntu} apt-get update apt-get install bareos bareos-database-postgresql \end{commands} -\hide{$} +%\hide{$} If you prefer using the versions of Bareos directly integrated into the distributions, please note that there are some differences, see \nameref{sec:DebianOrgLimitations}.