HowTo install Traccar on Nethserver 7

Traccar (www.traccar.org) is a modern GPS tracking Platform.

### HowTo install Traccar on Nethserver 7 ###

Traccar (www.traccar.org) is a modern GPS tracking Platform.

# wget the software-archive
wget -c https://github.com/traccar/traccar/releases/download/v4.5/traccar-linux-64-4.5.zip

# Install unzip and extract the archive
yum -y install unzip && unzip traccar-linux-64-4.5.zip

# run traccar.run 
./traccar.run

# Remove the archive
rm -rf traccar-linux-64-4.5.zip

# Open and adjust the firewall
config set traccar service status enabled TCPPort 8082 access green
signal-event firewall-adjust

# Reboot your server
reboot

# Login
http://nethserverip:8082/

user: admin
pass: admin
1 Like

since port 8082 is used by others, i modified it.
The traccar config path is /opt/traccar/conf
To change the default.xml:
18082

I changed the display address:

 <entry key = 'geocoder.enable'> true </entry>
 <entry key = 'geocoder.type'> nominatim </entry>
 <entry key = 'geocoder.url'> https://nominatim.openstreetmap.org/reverse </ entr $
 <entry key = 'geocoder.format'>% p% t,% r% h </entry>

And the GPS report data:

 <entry key = 'event.motion.speedThreshold'> 0.3 </entry>

 <entry key = 'report.trip.minimalTripDistance'> 32 </entry>
 <entry key = 'report.trip.greedyParking'> true </entry>
 <entry key = 'report.trip.minimalNoDataDuration'> 90 </entry>
 <entry key = 'report.trip.useIgnition'> true </entry>

I hope it helps.

1 Like

Thank you very much for the hint. Can you please explain these options a littebit?

Who tried it out
https://www.traccar.org/documentation/events/

Here is some info on the config file parameters: https://www.traccar.org/configuration-file/

1 Like