Skip to content

How to set up Traccar

Zakaria Braksa edited this page Jul 24, 2015 · 3 revisions

IMPORTANT : Once you install Traccar, don't start the daemon directly, but update config file first, this is important since the first time Traccar launch, it will create some tables for us. If you started it directly after install, then please uninstall it an try again.

1. Install Traccar (IMPORTANT don't start the daemon)

Install a fresh copy of Traccar by going to their official website.

2. Create a MySQL database for Traccar

Create a new empty MySQL database, and let's call it traccar.

$ mysql -uroot -p
mysql> create database traccar;
```

### 3. Update the Traccar config 
Open the traccar config file located in `/opt/traccar/conf/traccar.cfg` and update with the following snippet :
 
+ [[Configuration-file-snippet]]

### 4. Start Traccar daemon
```
sudo /opt/traccar/bin/traccar start
```

### 5. Test that it works 
Simply visit `http://localhost:8082` and log in with `admin/admin`