How to configure Mosquitto and Postgresql when istalled with pre compiled binaries


#1

Hi
i am using this linux system
uname -a
Linux swm-test 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

i tried installing loraserver with precompiled binaries which i got from
https://artifacts.loraserver.io/downloads/
and they are as fallows
lora-gateway-bridge_2.1.3_linux_386.tar.gz and same for other two also
from here i got binary files for lora-gateway-bridge, loraserver and lora-app-server when i imported them i got only executable file and i ran that file using ./loraserver ./lora-app-server ./lora-gateway- bridge

i want to configure mosquitto and postgresql
how to configure them and and also i dint get any .toml files for lora-app -server/gateway-bridge/lorasever please help me by giving steps to configure these

thank you
Soumya


#2

Hi Somya

Please, start reading the documentation. a lot of your questions here in the forum are answered in the documentation.
For example LoraServer documentation is here: https://www.loraserver.io/loraserver/install/config/

in general you can take the binary and execute it with the flag configuration and it prints a default configuration. you can redirect this to a toml file. after you can edit this and start the binary again with -config and then your new toml file.

regards,
sil