2.Installation - SentinelDataHub/dhus-distribution GitHub Wiki

a) On the machine selected for the DHuS installation, create a user named “dhus”.
Every step in the installation procedure, if not explicitly mentioned, shall be performed as dhus user.

b) Create the DHuS installation folder:

# mkdir <DHUS_INST_FOLDER>
# mkdir dhus-x.y.z

c) Download the DHuS shar and save it into the installation folder just created.

d) Change the permissions on the shar file:

# chmod +x <DHUS_SHAR_PACKAGE>
# chmod +x dhus-software-x.y.z-osf-distribution.shar

e) Execute the shar file:

# ./<DHUS_SHAR_PACKAGE>
# ./dhus-software-x.y.z-osf-distribution.shar

The package will autoinstall.
Once the autoinstall procedure is complete, the following folders and files will be available:

  • etc and lib folders
  • start.sh, restart.sh, stop and update the following files:
    -Configuration.sh
    -Database.sh
    -GDPRUsers.sh

f) Create the incoming folder (mandatory for ingestion purposes):

# mkdir /path/to/<DHUS_INCOMING_FOLDER>

Note that the incoming folder shall be located in a partition of the machine where there is a certain amount of space.