For installation of IDHub in your self hosted environment, please follow the below steps:
The server environment has been set up
Docker has been installed as per IDHub system requirements.
SSL Key is present
SSL Certificate is present
The IDHub version to be installed, is known.
The IDHub package for the version to be installed is downloaded.
If all the things mentioned above are completed, Lets get started with the installation!
Running Command Prompt
Firstly, open an elevated command prompt in your system to start the installation.
The commands shown in Code Block below are advised to be used:
It is advisable to move the file to path extension: /apps/idhub via command prompt.
It is mandatory to decompress tar file based on the IDHub version downloaded. You would need to enter the IDHub version number in place of <version>
It is mandatory to map SSL cert files via other command prompts shown below, but keep the name of the cert files as per below, as those are defined in the application as a part of configuration.
Install.sh is needed for Installation in your environment.
Run as root or using sudo to run the commands.
cd /apps/ curl https://download.sath.com/files/idhub-docker-<version>.tar.gz tar -xvzf idhub-docker-<version>.tar.gz cp </path/to/ssl.key> /apps/idhub-docker-<version>/config/nginx/ssl.key cp </path/to/ssl.crt> /apps/idhub-docker-<version>/config/nginx/ssl.crt cd /apps/idhub-docker-<version>/ ./Install.sh
You will receive an output like this:
"Stack is Up and Running"
Congratulations! At this point, you should have successfully completed installation of IDHub, in your environment.