4/13/2024 0 Comments Traccar linux installation![]() ![]() unzip installed (to unzip the zip file, you do not need it if you unzip the content with other toots) (Already installed on Raspberry Pi 4.19.wget installed (to download the zip file, you do not need it if you copy it with other tools) (Already installed on Raspberry Pi 4.19.0-9).Traccar comes with Java, so it is not required to install a stand-alone version of Java.Traccar Version: traccar-linux-64-4.8 (alternatively you can use the ARM version of traccar.).Raspberry Pi is an ideal device for people who want to track a minimal number of devices and need a cheap server to perform that duty.Ī GPS tracker device that will work with Traccar ranges from a dedicated device that wires into your vehicles electrical system, such as a an OBD gps tracker, to as simple as downloading an app onto an iPhone or Android, such as a personal tracker. ![]() The following packages are built from the latest source code and are not guaranteed to be stable. Traccar is a free and open source GPS Tracking Software which is currently used in many different applications, in many different companies since it's inception around for 8+ years Download a preview of the next version of Traccar. Vi /usr/local/etc/nginx/conf.d/Īccess_log /var/log/ Įrror_log /var/log/ this guide I will show you how to install Traccar GPS tracking software onto a Raspberry Pi which can receive data from compatible obd gps tracker devices over the internet, logging their positions onto a map for real time tracking, and also tracking playback. Include /usr/local/etc/nginx/conf.d/*.conf # Load config files from the /etc/nginx/conf.d directory ![]() #* And strip down the config file and add the include statement at the end to make it easier to handle various server blocks: * Create a configuration directory to make managing individual server blocks easier ![]() Jdbc:mysql://127.0.0.1:3306/traccardb?allowMultiQueries=true&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&sessionVariables=sql_mode=ANSI_QUOTESĮcho 'traccar_enable="YES"' > /etc/rc.confĮcho 'nginx_enable="YES"' > /etc/rc.conf #* And modify the database configuration: Vi /usr/local/www/traccar/conf/traccar.xml Sed -i '' -e 's/\/opt/\/usr\/local\/www/g' /usr/local/www/traccar/conf/traccar.xml Start_cmd="/usr/sbin/daemon -p $pidfile -u $traccar_user $command $command_args > $traccar_stdout 2> $traccar_stderr" Required_files="$traccar_root/conf/traccar.xml" : $Ĭommand_args="-jar $traccar_root/tracker-server.jar $traccar_root/conf/traccar.xml" # Add the following lines to /etc/rc.conf to enable `traccar': Sh n -noexec -target /usr/local/www/traccar GRANT ALL PRIVILEGES ON `traccardb`.* TO Then quit out of the mysql interface: #* And create the database traccardb and make the traccaruser the owner:ĬREATE DATABASE IF NOT EXISTS `traccardb` #* Then create the user traccaruser for the databaseĬREATE USER IDENTIFIED BY 'SuperSecretPassword' * Change the ownership of the traccar directory to traccar user:Ĭhown traccar:traccar /usr/local/www/traccarĮcho 'mysql_enable="YES"' > /etc/rc.conf Pw useradd traccar -c Traccar -m -d /home/traccar -g traccar -s /bin/sh Pkg install openjdk-jre maven3 mysql-connector-java git unzip Updated by Daniel Curtis over 8 years ago This is a guide for installing the Traccar GPS tracking server on FreeBSD 9. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |