From 82964b544c67c9259c545230d6166b22c39f60b8 Mon Sep 17 00:00:00 2001 From: DocArmoryTech Date: Tue, 3 Nov 2020 12:46:02 +0000 Subject: [PATCH] Update README.md --- README.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/README.md b/README.md index 53bdcd6..319cd5c 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,47 @@ git submodule update pip install -r REQUIREMENTS ~~~ +# Alternative Installation + +This method involves: + - installing a few dependencies + - creating a dedicated, unprivileged, user to run the TAI server(s) + - creating a python virtual environment + - installation of TAI + - systemd configuraion of (arbitrarily) four instances + +Installing a few dependencies +~~~ +sudo apt install virtualenv git python3-pip +~~~ + +Create a dedicated, unprivileged, user to run the TAI server(s) +~~~ +sudo adduser tai +~~~ + +Two steps together; creating a python virtual environment _and_ installation of TAI +~~~ +sudo su tai +virtualenv tai-env +source ./tai-env/bin/activate +cd +git clone https://github.com/MISP/threat-actor-intelligence-server +cd threat-actor-intelligence-server +git submodule init +git submodule update +pip install -r REQUIREMENTS +exit +~~~ + +systemd configuraion for a group of four instances of TAI +~~~ +sudo cp /home/tai/threat-actor-intelligence-server/debian/tai@.service /lib/systemd/system/ +sudo cp /home/tai/threat-actor-intelligence-server/debian/tai.target /etc/systemd/system/ +sudo systemctl daemon-reload +~~~ + + # Starting the server ~~~