#
Envoy proxy installation on CentOS 8
This tutorial explains to you how to install Envoy proxy on CentOS 8.
Here are the steps:
#
Install yum-utils
:
sudo yum install yum-utils
Info
yum-utils is a collection of tools and programs for managing yum repositories, installing debug packages, source packages, extended information from repositories and administration.
#
Import GPG key for Envoy download
sudo rpm --import 'https://rpm.dl.getenvoy.io/public/gpg.CF716AF503183491.key'
Info
GPG, or GNU Privacy Guard, is a public key cryptography implementation. This allows for the secure transmission of information between parties
#
Prepare the local Linux repository configuration for the installation
curl -sL 'https://rpm.dl.getenvoy.io/public/config.rpm.txt?distro=el&codename=7' > /tmp/tetrate-getenvoy-rpm-stable.repo
sudo yum-config-manager --add-repo '/tmp/tetrate-getenvoy-rpm-stable.repo'
sudo yum makecache --disablerepo='*' --enablerepo='tetrate-getenvoy-rpm-stable'
#
Install Envoy
sudo yum install getenvoy-envoy
When the command run, we will see something like this:
sudo yum install getenvoy-envoy
[sudo] password for linux:
tetrate-getenvoy-rpm-stable 8.8 kB/s | 648 B 00:00
tetrate-getenvoy-rpm-stable 68 kB/s | 1.3 kB 00:00
Importing GPG key 0x03183491:
Userid : "Cloudsmith Package (tetrate/getenvoy-rpm) <support@cloudsmith.io>"
Fingerprint: A822 0FC0 141B FA99 0DE5 609C CF71 6AF5 0318 3491
From : https://rpm.dl.getenvoy.io/public/gpg.CF716AF503183491.key
Is this ok [y/N]: y
tetrate-getenvoy-rpm-stable 95 kB/s | 8.0 kB 00:00
tetrate-getenvoy-rpm-stable-noarch 13 kB/s | 648 B 00:00
tetrate-getenvoy-rpm-stable-noarch 66 kB/s | 1.3 kB 00:00
Importing GPG key 0x03183491:
Userid : "Cloudsmith Package (tetrate/getenvoy-rpm) <support@cloudsmith.io>"
Fingerprint: A822 0FC0 141B FA99 0DE5 609C CF71 6AF5 0318 3491
From : https://rpm.dl.getenvoy.io/public/gpg.CF716AF503183491.key
Is this ok [y/N]: y
tetrate-getenvoy-rpm-stable-noarch 3.0 kB/s | 291 B 00:00
tetrate-getenvoy-rpm-stable-source 9.3 kB/s | 659 B 00:00
tetrate-getenvoy-rpm-stable-source 72 kB/s | 1.3 kB 00:00
Importing GPG key 0x03183491:
Userid : "Cloudsmith Package (tetrate/getenvoy-rpm) <support@cloudsmith.io>"
Fingerprint: A822 0FC0 141B FA99 0DE5 609C CF71 6AF5 0318 3491
From : https://rpm.dl.getenvoy.io/public/gpg.CF716AF503183491.key
Is this ok [y/N]: y
tetrate-getenvoy-rpm-stable-source 3.3 kB/s | 291 B 00:00
Dependencies resolved.
================================================================================================================================================
Package Architecture Version Repository Size
================================================================================================================================================
Installing:
getenvoy-envoy x86_64 1.18.2.p0.gd362e79-1p75.g76c310e tetrate-getenvoy-rpm-stable 17 M
Transaction Summary
================================================================================================================================================
Install 1 Package
Total download size: 17 M
Installed size: 94 M
Is this ok [y/N]: y
Downloading Packages:
getenvoy-envoy-1.18.2.p0.gd362e79-1p75.g76c310e.x86_64.rpm 39 MB/s | 17 MB 00:00
------------------------------------------------------------------------------------------------------------------------------------------------
Total 38 MB/s | 17 MB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : getenvoy-envoy-1.18.2.p0.gd362e79-1p75.g76c310e.x86_64 1/1
Verifying : getenvoy-envoy-1.18.2.p0.gd362e79-1p75.g76c310e.x86_64 1/1
Installed:
getenvoy-envoy-1.18.2.p0.gd362e79-1p75.g76c310e.x86_64
Complete!
At this point Envoy proxy is installed on our CentOS machine.
#
Check the Envoy version
envoy --version
The result will be something like this:
envoy version: d362e791eb9e4efa8d87f6d878740e72dc8330ac/1.18.2/clean-getenvoy-76c310e-envoy/RELEASE/BoringSSL
Info
At this point, Envoy proxy is not started. At this point, we have only the software installed.
Let's see how we can start and configure a simple Envoy proxy.