Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.45 KB

environment_ubuntu.md

File metadata and controls

54 lines (36 loc) · 1.45 KB

Prerequisites Ubuntu

Development stack require some base software that need to be installed.

Docker or podman

Platform dependencies in development are deployed through container management, so you need to install a container stack.

We currently support docker and podman.

$ sudo apt-get install docker docker-compose curl
sudo apt-get -y install podman

As OpenCTI has a dependency to ElasticSearch, you have to set the vm.max_map_count before running the containers, as mentioned in the ElasticSearch documentation.

$ sudo sysctl -w vm.max_map_count=262144

NodeJS and yarn

The platform is developed on nodejs technology, so you need to install node and the yarn package manager.

$ sudo apt-get install nodejs
$ sudo curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
$ sudo echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
$ sudo apt-get update && sudo apt-get install yarn

Python runtime

For worker and connectors, a python runtime is needed.

$ sudo apt-get install python3 python3-pip

Git and dev tool

  • Install Git from apt
$ sudo apt-get install git-all