Deployment without Internet access
Hideez Enterprise Server 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

1
systemctl stop firewalld
2
systemctl disable firewalld
3
sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
4
reboot
Copied!

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/”
1
cp /media/iso/media.repo /etc/yum.repos.d/rhel7dvd.repo
2
chmod 644 /etc/yum.repos.d/rhel7dvd.repo
Copied!
then edit file ‘/etc/yum.repos.d/rhel7dvd.repo’
1
vi /etc/yum.repos.d/rhel7dvd.repo
Copied!
and bring this file to this content:
1
[InstallMedia]
2
name=Red Hat Enterprise Linux 7.9
3
mediaid=1600369739.509793
4
metadata_expire=-1
5
gpgcheck=1
6
cost=500
7
enabled=1
8
baseurl=file:///media/iso/
9
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Copied!
here "/media/iso/" is our DVD
and finally, connect the repository:
1
yum clean all
2
yum repolist enabled
Copied!

Remove mariadb-libs

1
yum remove mariadb-libs -y
Copied!

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

1
yum install perl net-tools libicu cyrus-sasl -y
Copied!

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/ and hes in https://update.hideez.com/hes
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:
1
#!/bin/bash
2
# HES
3
curl -O https://update.hideez.com/hes/linux_x64_latest.tar.gz
4
# MySQL
5
curl -O https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-community-server-8.0.27-1.el7.x86_64.rpm
6
curl -O https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-community-client-8.0.27-1.el7.x86_64.rpm
7
curl -O https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-community-client-plugins-8.0.27-1.el7.x86_64.rpm
8
curl -O https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-community-libs-8.0.27-1.el7.x86_64.rpm
9
curl -O https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-community-common-8.0.27-1.el7.x86_64.rpm
10
# nginx
11
curl -O http://nginx.org/packages/rhel/7/x86_64/RPMS/nginx-1.20.2-1.el7.ngx.x86_64.rpm
Copied!
You can save it, on a computer with internet access, called "download.sh" and then run:
1
bash download.sh
Copied!
  • Or on windows computer:
1
# HES
2
$Name="linux_x64_latest.tar.gz"
3
Invoke-WebRequest https://update.hideez.com/hes/$Name -OutFile $Name
4
5
# MySQL
6
$Name="mysql-community-server-8.0.27-1.el7.x86_64.rpm"
7
Invoke-WebRequest https://cdn.mysql.com//Downloads/MySQL-8.0/$Name -OutFile $Name
8
$Name="mysql-community-client-8.0.27-1.el7.x86_64.rpm"
9
Invoke-WebRequest https://cdn.mysql.com//Downloads/MySQL-8.0/$Name -OutFile $Name
10
$Name="mysql-community-client-plugins-8.0.27-1.el7.x86_64.rpm"
11
Invoke-WebRequest https://cdn.mysql.com//Downloads/MySQL-8.0/$Name -OutFile $Name
12
$Name="mysql-community-libs-8.0.27-1.el7.x86_64.rpm"
13
Invoke-WebRequest https://cdn.mysql.com//Downloads/MySQL-8.0/$Name -OutFile $Name
14
$Name="mysql-community-common-8.0.27-1.el7.x86_64.rpm"
15
Invoke-WebRequest https://cdn.mysql.com//Downloads/MySQL-8.0/$Name -OutFile $Name
16
17
# nginx
18
$Name="nginx-1.20.2-1.el7.ngx.x86_64.rpm"
19
Invoke-WebRequest http://nginx.org/packages/rhel/7/x86_64/RPMS/$Name -OutFile $Name
Copied!
save it, on a computer with internet access, called "download.ps1" and then run in powershell:
1
.\download.ps1
Copied!
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:
1
rpm -ivh *.rpm
2
systemctl enable mysqld nginx
3
systemctl start mysqld nginx
Copied!
  • installing HES:
1
tar -xvf linux_x64_latest.tar.gz
2
mv HES /opt/
Copied!
Then follow our instructions posted here given that MySQL, nginx and HES have already been installed. All you have to do is configure them.
Copy link
Contents