Zato installation on RHEL

Requirements

  • RHEL and compatible, v. 8.x
  • Root access
  • Make sure you have Python 3.8 - RHEL 8.x by default ship with Python 3.6. Ensure that output from the python3 command is Python 3.8. For instance:
    python3
    Python 3.8.8 (default, Aug 11 2021, 06:52:42)
    [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)] on linux
    
  • If you have Python 3.6, to change it to 3.8, run these commands as root:
    yum install python38 python38-devel -y
    alternatives --set python3 /usr/bin/python3.8
    

Installation steps

  • Log in as root:
su -
  • Install helper programs:
yum update -y
yum install patch -y
yum upgrade --refresh rpm glibc -y
  • Add the package signing key:
curl -sO https://zato.io/repo/zato-3.2-E89D32E5E851ED11.pgp.txt
rpm --import ~/zato-3.2-E89D32E5E851ED11.pgp.txt
  • Add the following repository definition:
vi /etc/yum.repos.d/zato-3.2.repo

[zato-3.2]
name=zato-3.2
baseurl=https://zato.io/repo/stable/3.2/rhel/el$releasever/$basearch
enabled=1
gpgcheck=1
gpgkey=https://zato.io/repo/zato-3.2-E89D32E5E851ED11.pgp.txt
  • Refresh the package list:
yum clean expire-cache
yum check-update
  • Install Zato:
yum install zato -y
  • Install latest additions:
su - zato
cd /opt/zato/current && git pull && ./update.sh
  • Confirm the installation:
zato --version
# Output -> Zato <major>.<minor>+rev.<nnn>-py3.n.n-<system-version>

That concludes the process - you can refer to the main documentation index now.