Install Horizon
-
RHEL
-
Debian
|
Installing the Horizon package will install the following dependencies:
Please note that these packages may have their own dependencies. |
|
Installing the Horizon package will install the following dependencies:
Please note that these packages may have their own dependencies. |
Installation from the EverTrust repository
-
RHEL
-
Debian
Create a /etc/yum.repos.d/horizon.repo file containing the EverTrust repository info:
[horizon]
enabled=1
name=Horizon Repository
baseurl=https://repo.evertrust.io/repository/horizon-rpm/
gpgcheck=0
username=<username>
password=<password>
Replace <username> and <password> with the credentials you were provided.
You can then run the following to install the latest Horizon version:
# yum install horizon
To prevent unattended upgrades when running yum update, you should pin the Horizon version by adding
exclude=horizon
at the end of the /etc/yum.repos.d/horizon.repo file after installing Horizon.
If you haven’t already, to add the EVERTRUST repository to your APT repositories, run the following commands:
-
Install the required tools (
gpg)# sudo apt install gnupg -
Download and install the EVERTRUST GPG key
# curl https://evertrust.io/.well-known/apt/gpg.pub | sudo gpg -o /usr/share/keyrings/evertrust.gpg --dearmor -
Add the repository
# echo "deb [ arch=all signed-by=/usr/share/keyrings/evertrust.gpg ] https://repo.evertrust.io/repository/apt all main" | sudo tee /etc/apt/sources.list.d/evertrust.list
Once the repository has been added, authentication to it must be provided. To do so, edit the /etc/apt/auth.conf file and add the following lines:
machine repo.evertrust.io
login <your EVERTRUST login>
password <your EVERTRUST password>
Once the repository has been added, run the following command to update the APT repository list.
# sudo apt update
You can then run the following command to install the latest Horizon version:
# sudo apt install horizon
To prevent unattended upgrades when running apt upgrade, you should pin the Horizon version by creating a /etc/apt/preferences.d/horizon file:
Package: horizon
Pin: version <installed-version>
Pin-Priority: 1001
After installing, services must be reloaded to take the change into account
$ systemctl daemon-reload
Installing from the package file
-
RHEL
-
Debian
Download the latest RPM for Horizon on the Official EVERTRUST repository.
Upload the file 'horizon-<latest>.noarch.rpm' to the server;
Access the server with an account with administrative privileges;
Install the Horizon package with the following command:
# yum localinstall /root/horizon-<latest>.noarch.rpm
Download the latest DEB for Horizon on the Official EVERTRUST repository.
Upload the file 'horizon-<latest>_all.deb' to the server;
Access the server with an account with administrative privileges;
Install the Horizon package with the following command:
# apt install /root/horizon-<latest>_all.deb