Standalone server (tomcat)
At the moment we support two OS variants.
CentOS (6.x)
RedHat (6.x)
There are currently two ways of installing MOLGENIS on the server. We use several building blocks to deploy MOLGENIS on servers. The configuration is based upon RPM's which are used in Ansible to configure the deployment.
The architecture of MOLGENIS is displayed in the following figure.
Ansible based installation
See: ansible installation
RPM based installation
To install MOLGENIS you can also run the RPM's on the system.
Add repositories
You need to add the repository to access the RPM's:
Add these files to /etc/yum.repos.d
molgenis.repo
elasticsearch.repo
postgres.repo
Then type yum update
Install packages
Then you need to install the following artifacts:
tomcat
adopt-openjdk
minio
elasticsearch
postgresql11-server
molgenis
httpd
optional opencpu
opencpu-server
rapache
optional python3
You can do this by typing this command: yum install #package name#
.
note: the order of the packages is important. We do no have requirements set the right way.
Configure packages
Postgres
You need to bootstrap the database with this snippet in PSQL:
In the pg_bha.conf
You need to update to these lines:
In the postgres.conf
you need to update these lines:
Restart the service.
Elasticsearch
Open elasticsearch.yml
in the Elasticsearch config directory and set the following properties:
In the /etc/security/limits.conf
update this line:
Add this this file in /etc/sysctl.d/99-elasticsearch.conf
with the following content.
Restart the service.
Configure Tomcat
After you install Apache Tomcat you first need to install MOLGENIS before you start the service.
Configure HTTPD
We use proxy passes to expose Tomcat through Apache. You can use this file as template to expose your MOLGENIS instance. Create the file in /etc/httpd/conf.d/
molgenis.conf
Restart the service.
Last updated