NYX Sentinel Setup Guide for Linux




Install Sentinel

a) Make sure Python version 2.7.x or above is installed:
python --version
cd /root/nyx

b) Installation:
apt-get update
apt-get -y install python-virtualenv
git clone https://github.com/nyxpay/sentinel.git && cd sentinel
apt install virtualenv
(Press Y and ENTER when prompted)
virtualenv ./venv
./venv/bin/pip install -r requirements.txt

c) Set up a crontab entry to call Sentinel every minute:
crontab -e
(Press 2 and ENTER when prompted)

d) COPY blue text and paste it in PUTTY:
* * * * * cd /root/nyx/sentinel && ./venv/bin/python bin/sentinel.py >/dev/null 2>&1
(And press ENTER to move string to next line)

e) Use CTRL+O -> ENTER -> CTRL+X (for saving changes and exit to command line).

Project Image

f) Configuration sentinel.conf:
nano sentinel.conf

g) Copy blue text and paste in PUTTY:
nyx_conf=/root/.nyx/nyx.conf
(And press ENTER to move string to next line)

h) Use CTRL+O -> ENTER -> CTRL+X (for saving changes and exit to command line).

Project Image

i) Test Sentinel:
cd /root/nyx/sentinel
SENTINEL_DEBUG=1 ./venv/bin/python bin/sentinel.py

Project Image

* This is mean your sentinel is working fine
* Run command after masternode start only. It will not show sentinel status now.

Subscribe to NYX for Masternode updates and news on roadmap progress