100% found this document useful (1 vote)
778 views8 pages

Create Your OWN GPS Tracking Management System

This document provides instructions for setting up a free and open source GPS tracking system called Traccar. Traccar allows users to track vehicles, personnel, lost mobile phones and maintain a history of device locations. It requires a Linux-based system with a static IP or port forwarding, the Traccar application, and a GPS-enabled device for tracking. The document outlines how to install and configure Traccar on the server, add a device, and set up the Traccar client application on Android to communicate with the server and send location updates.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
778 views8 pages

Create Your OWN GPS Tracking Management System

This document provides instructions for setting up a free and open source GPS tracking system called Traccar. Traccar allows users to track vehicles, personnel, lost mobile phones and maintain a history of device locations. It requires a Linux-based system with a static IP or port forwarding, the Traccar application, and a GPS-enabled device for tracking. The document outlines how to install and configure Traccar on the server, add a device, and set up the Traccar client application on Android to communicate with the server and send location updates.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Create Your OWN GPS Tracking Management System

Traccar is a free and open source modern GPS tracking system. Which is a
Linux base vehicle / fleet tracking management system, the best thing is its
FREE and we all love to have FREE lunch at anyplace, anywhere.

Benefits of Traccar and its possible usage

 Any Vehicle Tracking / maintain history


 Can be used for personnel tracking
 Can be used as a commercial solution as well
 Can be used to track your lost mobile phone
 You can inquire about location by sending SMS to the device and it will
return sms you the location with URL [this feature will be implemented
later]
 Maintain History and Track of the device and speed of vehicles with
addresses
 Many others …

Requirements for Traccar Installation

 Linux base System, I used Centos 7 64 bit edition as an example (hardware


specs can be anything, nothing fancy required) .
 The system should have static public ip or it can work port forwarding as
well (if you don’t have one, it can be manipulate with some workarounds
like ddns too)
 TRACCAR application which will be used to store/update client data and
web portal for management purposes.
 For client side tracking, I used ANDROID base mobile phone with GPS and
GPRS.
 WiFi where its available (it can store data if no internet is available and will
update when it will get access to internet)

Configure Traccar Server Side

Login To Your Linux Server With Root


[root@linux06 ~]#
[root@linux06 ~]# mkdir /traccar
[root@linux06 ~]# cd /traccar
[root@linux06 ~]# wget
https://github.com/tananaev/traccar/releases/download/v3.14/traccar-
linux-3.14.zip

[root@linux06 ~]# unzip traccar-linux-3.14.zip


[root@linux06 ~]# ./traccar.run

Check Traccar Service Status

[root@linux06 ~]# service traccar status

YAJSW: yajsw-stable-12.09
OS : Linux/2.6.32-042stab125.1/amd64
JVM : Oracle Corporation/1.8.0_151//usr/lib/jvm/java-1.8.0-openjdk-
1.8.0.151-1.b12.el7_4.x86_64/jre/64
Nov 28, 2017 7:20:05 AM org.apache.commons.vfs2.VfsLog info
INFO: Using "/tmp/vfs_cache" as temporary files store.
Nov 28, 2017 7:20:06 AM org.rzo.yajsw.os.posix.PosixService init
INFO: /etc/init.d/traccar already exists
Nov 28, 2017 7:20:06 AM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.traccar.pid

Check Traccar Log File

[root@linux06 ~]# tail -f /opt/traccar/logs/tracker-server.log

2017-11-28 06:18:53 INFO: Operating system name: Linux version: 2.6.32-


042stab125.1 architecture: amd64
2017-11-28 06:18:53 INFO: Java runtime name: OpenJDK 64-Bit Server VM
vendor: Oracle Corporation version: 25.151-b12
2017-11-28 06:18:53 INFO: Memory limit heap: 494mb non-heap: 0mb
2017-11-28 06:18:53 INFO: Character encoding: UTF-8 charset: UTF-8
2017-11-28 06:18:53 INFO: Version: 3.14-SNAPSHOT
2017-11-28 06:19:16 INFO: Starting server...
2017-11-28 06:34:47 INFO: [ADBC19F6] connected
Now access it from the WEB

http://Server-IP:8082

Login With following default credentials

Email- admin
Password- admin
After successful login, you will see TRACCAR web panel with default map.

On left side you will see DEVICES menu, Click on ADD button, and enter
details..

NAME = Your Device or Person Name


UNIQUE IDENTIFIER = Enter your IMEI number, you can find it on your
device properties. Click on SAVE.

Now Configuring Client Side

For test purposes, I am add android mobile device for tracking (as most of
android phones nowa days have GPS module. So basically what you need is a
GPS capable Device with Internet Access, (your SIM OR mobile must have
Internet access in order to update data like coordinates and others to the
server. in case your mobile/device have no internet access, it will store data
locally and will update as soon it gets internet access.

You can install it directly from Google play store like


Once it’s installed open it (Traccar Client)

SERVICE STATUS = select this option so that the client starts sending data.
(this service be running all the time )
DEVICE IDENTIFIER = In Device identifier, you will see you unique IMEI No.
(International Mobile Equipment Identity number IMEI) you should add the
same in your server section as well (In ADD device)
SERVER URL = Enter your server IP address (traccar server) or if you dont
have static ip, you can use DYNAMIC DNS on your dsl/router and do port
forwarding of required ports like 8082 for web panel
FREQUENCY = How often (in seconds) client should upload data to the server
(For initial test purpose make this value less like 60 seconds)
LOCATION PROVIDER = Select MIXED provider, so that if GPS is not working,
it should update possible coordinates with the nearest mobile network tower.
The exact location may not be accurate in network provider settings, but
sometimes sufficient to get idea. GPS only settings provide more accurate
position but it requires sky sight.

Click on MENU and then on STATUS, you can see the LOGS

Some more snaps of settings for android client


Now at server end…
Select the device you added earlier and you will start seeing its status.
For a better tracking view, Go outside with your device and have a 4-5
kilometers walk or running..

Re- Ashutosh
https://www.traccar.org/

You might also like