Linux
Option 1: CentOS Linux 7
Option 2: Ubuntu Server LTS 20.04
Option 3: Ubuntu Server LTS 22.04
Option 4: Ubuntu Server LTS 24.04
Before you start
You need to know how to create and edit text files in Linux. For example, you can use
vim
editor. Here you can find a quick start guide on how to use the Vim editor.
1. Preparation
1.1. System Update
CentOS
Ubuntu
Reboot system
1.2 Disable SELinux (CentOS only)
To verify that SELinux is disabled, you can type:
Note: on production servers, usually after installation and verification, you need to re-enable SELinux and configure it accordingly.
1.3 Firewall Configuration (optional)
To access the server from the network, ports 80 and 443 and port 22 (default port for connection via ssh) should be opened:
CentOS:
Ubuntu:
2. Installing Prerequisites
2.1. Installing additional packages
Centos 7 :
Ubuntu 20.04:
Ubuntu 22.04:
Ubuntu 24.04:
3. Installing the HES server
3.1. Download HES server
3.2. Extracting files and moving to the /opt directory
3.3. Configuring the HES
Navigate to the '/opt/HES/' directory and run the HES.Wizard application
next, follow the setup tips and configure the server
3.4. Daemonizing of the HES
We already prepared the configuration file to start and manage the HES server in the /opt/HES/Deploy
directory. You need to copy the file HES.service
to the /lib/systemd/system/
:
Enabling autostart:
You can verify that HES server is running with the command:
The output of the command should be something like this:
4. Configuring Reverse Proxy Server
To access your server from the local network as well as from the Internet, you have to configure a reverse proxy. We will use the Nginx server for this.
4.1. Install Nginx
CentOS 7:
Ubuntu:
4.2. Copying of self-signed certificates for Nginx
We have prepared a self-signed certificate for nginx that you can use to test running HES. Just copy it to nginx:
Note :
In the production environment, you should take care of acquiring a certificate from a certificate authority. For a self-signed certificate, the browser will alert you that site has security issues.
4.3. Updating Nginx config
We prepared some Nginx configurations for different versions of Linux and placed them in the /opt/HES/Deploy
directory. You may just copy the corresponding file or you can review and edit it for your needs.
CentOS 7:
Ubuntu 20:
remove default nginx site:
Ubuntu 22, Ubuntu 24:
remove default nginx site:
After copying the file, it is recommended to verify nginx settings:
The output should be something like this:
Otherwise, you should carefully review the settings and correct the errors.
4.4. Restart nginx
4.5. Check that nginx service is installed and started
The output would be something like this:
Here you can find an update guide for Linux.
By default, access to the new server: login - admin@server password - admin