Traccar server installation
Set default firewall rules with UFW: # ufw default deny # echo 'traccar ALL=(ALL) NOPASSWD: ALL' tee -a /etc/sudoers.d/designated # echo '/swap none swap defaults 0 0' > /etc/fstabĬreate a normal user named traccar with sudo privileges: # useradd -ms /bin/bash traccar Log in to your server instance as root from an SSH terminal, and then perform basic tasks as follows to harden the system.Ĭreate a swap file: # fallocate -l 2g /swap Perform Basic Tasks on the Server Instance See detailed instructions on managing DNS through Vultr in this Vultr tutorial. To ease public access, you need to set up DNS records through your domain hosting service provider, pointing domain names (an apex domain name and one or more subdomain names) to the IPv4 address of your server.įor example, if you are hosting the apex domain name on Vultr, set up DNS records as follows to point and to the IPv4 address of your server in the DNS tab of the Vultr control panel: Entry #1 A registered domain name for public access.A fresh Vultr Ubuntu 20.04 LTS server instance with at least 2GB of memory.This tutorial explains how to set up a Traccar server on a Vultr Ubuntu 20.04 LTS server instance in a production environment.
Providing detailed device location history, map routes, and reports as required.