Installing Megaladata Server as a Service
Important:
- Ensure your
Linuxkernel version is at least5.3- You need internet access during installation
- You must install a license Key for the
megaladatadto operate
Installation process
The Megaladata distribution contains three folders for the main platform elements:
/servercontains Megaladata Server/httpcontains the Apache web server/integratorcontains Megaladata Integrator
Run the script located in each element's folder to complete the installation.
Follow these steps:
- Upload the distribution to the target machine.
-
Unpack the distribution.
mkdir Megaladata-dist && tar -xf Megaladata.tar.gz -C Megaladata-dist/ -
Navigate to the
/megaladata-dist/server/folder and install theMegaladata-server.sudo ./install_server.sh -
Navigate to the
/megaladata-dist/http/folder and install theMegaladata-http.sudo ./install_http.sh -
Navigate to the
/megaladata-dist/integrator/folder and install theMegaladata-integrator.sudo ./install_integrator.sh -
Open the
gnclient.inifile (default location:/var/opt/megaladata/server/) and enter the IP address or hostname of where you activated the license on theIP_NAME=line. -
Start the
Megaladata-serverandMegaladata-integratorservices.1 sudo systemctl start Megaladatad 2 sudo systemctl start Megaladatai
Megaladata directories
Megaladata-http
The system uses apache2 as the web server.
Standard apache2 directories:
/etc/apache2: configuration files/var/www/html/client: client files
Megaladata-server
Binary files directory: /opt/Megaladata/server.
The root user owns these files; permissions are 664 (775 for executables).
Working directory: /var/opt/Megaladata/server. The megaladata user owns these files; permissions are 660. The server runs as the Megaladata-server service (alias megaladatad).
Service parameters:
- The service runs under the megaladata user; it creates files with
660permissions. OOMScoreAdjust=-200: lowers the score for the process to set the priority for termination by the Linux Out-Of-Memory killer (OOM).TimeoutStopSec=11: stop timeout in seconds.Restart=on-failure RestartSec=30: restarts the service 30 seconds after a failure.
Megaladata-integrator
Binary files directory: /opt/Megaladata/integrator.
The root user owns these files; permissions are 664 (775 for executables).
Working directory: /var/opt/Megaladata/integrator.
The megaladata user owns these files; permissions are 660.
Megaladata-integrator runs as the Megaladata-integrator service (alias Megaladatai).
Service parameters:
- The service runs under the megaladata user; files created by the service have
660permissions. OOMScoreAdjust=-100(lowers the score for the process to set the priority for termination by theOOMmechanism).TimeoutStopSec=6(stop timeout in seconds).Restart=on-failure RestartSec=30(restarts the service upon failure after 30 seconds).
Read on: Megaladata Installation in Containers (Podman/Docker)