Local File system
Create an unprilleged user
adduser data-listener
Get the latest version
Get the download url from here https://data-listener.gudasoft.com/releases/
Store the binary locally
sudo mkdir /opt/data-listener
cd /opt/data-listener
wget http://USERNAME:PASSWORD@data-listener.gudasoft.com/releases/1.0.0/data-listener-linux-x86-1.0.0.tar.gz
wget http://1.0.0:hellomarshmellow@data-listener.gudasoft.com/releases/1.0.0/data-listener-linux-x86-1.0.0.tar.gz
tar xzvf data-listener-linux-x86-1.0.0.tar.gz
chown -R data-listener:data-listener /opt/data-listener
Now if you do ls
you should see
total 20
drwxr-xr-x 2 data-listener data-listener 4096 ное 18 21:33 .
drwxr-xr-x 17 root root 4096 ное 18 21:30 ..
-rw-r--r-- 1 data-listener data-listener 1838 ное 18 21:33 config.toml
-rwxr-xr-x 1 data-listener data-listener 3 ное 18 21:32 data-listener
-rw-r--r-- 1 data-listener data-listener 3 ное 18 21:24 data-listener-linux-x86-1.0.0.tar.gz
Configure it
Edit the config.toml
Run it
It is time to run it with
/opt/data-listener/data-listener
Enable Systemd
Continue to Systemd