Install Traccar into different directory

Darren Deakin 7 years ago

Hi.

I managed to get Traccar working on DigitalOcean using the VPS instructions provided, and it works perfectly. The issue is I need to run Traccar along side TicketsCAD, and I need to be able to access TicketsCAD directly via my domain name, www.example.com, and Traccer via a folder name, www.example.com/traccar

I have attempted to follow the instructions for manual installation, but I hit a massive problem when attempting to run the command java -jar tracker-server.jar conf/traccar.xml; I get several warnings such as WARNING: An illegal reflective access operation has occured

I have made sure I am running the latest version of java via instructions on the DigitalOcean site, but as I am very new to all this I am completely lost.

Could you help at all please?

Thank you in advance

Anton Tananaev 7 years ago

Forget about manual installation. It won't help you with your problem. Read this:

https://www.traccar.org/secure-connection/

Darren Deakin 7 years ago

Thank you Anton, I will give that a go

Darren Deakin 7 years ago

Hi Anton.

Sorry to sound stupid here with this, but do I follow the manual installation instructions and then perform the actions on the secure connections page?

Anton Tananaev 7 years ago

Forget about manual installation.

Darren Deakin 7 years ago

OK, but the instructions on the link you gave me do not mention how to install Traccar? Do I run the Linux installation and then move the Traccar files to the desired folder?

Anton Tananaev 7 years ago

I think you are missing the point. You don't need to move files anywhere. That's not how it works.

Use regular Linux installation process first.

Darren Deakin 7 years ago

Thank you

Turbovix 7 years ago

You can check how to have multiple virtual hosts in the same domain by following this guide.

https://do.co/2PuKmQ1