Deployment without Internet access

HES deployment - Deployment without Internet access

This guide describes how to install the HES server on a computer that does not have Internet access. An example is taken for RedHat 7.9 in which MySQL 8 and nginx are not present in official repositories.

In the test environment we have a "fresh" server with SELinux and firewall disabled

systemctl stop firewalld
systemctl disable firewalld
sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
reboot

Enable local repo

For install additives packages, If you do not have a local repository, you need to connect, for example, a repository with an official DVD in "/media/iso/”

cp /media/iso/media.repo /etc/yum.repos.d/rhel7dvd.repo
chmod 644 /etc/yum.repos.d/rhel7dvd.repo

then edit file ‘/etc/yum.repos.d/rhel7dvd.repo’

vi /etc/yum.repos.d/rhel7dvd.repo

and bring this file to this content:

[InstallMedia]
name=Red Hat Enterprise Linux 7.9
mediaid=1600369739.509793
metadata_expire=-1
gpgcheck=1
cost=500
enabled=1
baseurl=file:///media/iso/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

here "/media/iso/" is our DVD

and finally, connect the repository:

Remove mariadb-libs

Install additive packages from default repo (CD-ROM in our case)

Download files

We will need to install the following programs: HES, MySQL, nginx

You can always find the latest versions of these programs at the following links:

Of course, you can always download from the original sites and download them manually, or:

Option 1:

We have saved the rpm files you need on our site by following the link https://update.hideez.com/hes/AdditionalLibraries/rpm/arrow-up-right and hes in https://update.hideez.com/hesarrow-up-right

Option 2: For automatic download, we have prepared a small script that downloads the latest versions of packages at the time of writing our instructions:

  • Or on windows computer:

You can save it, on a computer with internet access, called "download.sh" and then run:

  • Or on windows computer:

save it, on a computer with internet access, called "download.ps1" and then run in powershell:

It doesn't matter how you download the files, but in the end you need to have the following files on your computer:

  • linux_x64_latest.tar.gz

  • mysql-community-client-8.0.27-1.el7.x86_64.rpm

  • mysql-community-client-plugins-8.0.27-1.el7.x86_64.rpm

  • mysql-community-common-8.0.27-1.el7.x86_64.rpm

  • mysql-community-libs-8.0.27-1.el7.x86_64.rpm

  • mysql-community-server-8.0.27-1.el7.x86_64.rpm

  • nginx-1.20.2-1.el7.ngx.x86_64.rpm

Transfer these files to the computer on which you want to install HES and run the following commands

  • installing MySQL and nginx:

  • installing HES:

Then follow our instructions posted here given that MySQL, nginx and HES have already been installed. All you have to do is configure them.

circle-info

By default, access to the new server: login - admin@server envelopepassword - admin

Last updated