Skip to content

Requirements

Giuseppe Futia edited this page Oct 30, 2019 · 15 revisions

To set up SeMi in a new Linux (Ubuntu 18.04) machine you have to ensure that the specific version of the following components is correctly installed.

  • Git (2.11.0)
  • Anaconda (2019.03-Linux-x86_64)
  • Node.js (11.15.0 - This version is strictly required to install some dependencies)
  • Java (OpenJDK 1.8.0_232)
  • Maven (3.3.9)
  • Elasticsearch (7.4.1)

To install such components you can follow instructions available below.

$ sudo apt update
$ sudo apt-get install build-essential

Git

$ sudo apt install git

Python

The Python component should be installed using Anaconda:

$ wgethttps://repo.anaconda.com/archive/Anaconda3-2019.03-Linux-x86_64.sh
$ sha256sum Anaconda3-2019.03-Linux-x86_64.sh
$ ./Anaconda3-2019.03-Linux-x86_64.sh

Nvm and Node.js

$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
$ source ~/.nvm/nvm.sh
$ nvm install 11.15.0
$ npm audit fix

Java

$ sudo apt install default-jdk

In your Java environment, you also need to install Maven as follows:

$ sudo apt install maven

Elasticsearch

$ sudo apt-get install apt-transport-https
$ wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
$ sudo add add-apt-repository "deb https://artifacts.elastic.co/packages/7.x/apt stable main"
$ sudo apt-get update
$ sudo apt-get install elasticsearch
$ sudo systemctl start elasticsearch.service
Clone this wiki locally