Help to locate config file (ubuntu server OCI)

DaveGG2 years ago

Hello everyone.
I am not skilled in linux. This is a bit frustrating for me. 1 hour searching in google and nothing.
How do I enter to edit the configuration file?
I'm in OCI "oracle cloud infraes..." traccar works perfectly and without problems, I want to edit but I can't find the configuration file path.
I am as a super user not just a user with ssh access. I did "sudo su -" once I authenticated with ssh, ls gives me this location exiting /root with cd ..
Edit:

root@traccar-free:/# ls
bin   dev  home  lib32  libx32      media  opt   root  sbin  srv  tmp  var
boot  etc  lib   lib64  lost+found  mnt    proc  run   snap  sys  usr
root@traccar-free:/# 
root@traccar-free:/opt/traccar/conf#

And now??, Please help.

Anton Tananaev2 years ago

I usually use nano editor:

nano /opt/traccar/conf/traccar.xml
DaveGG2 years ago

Yes. I'm in right now but need understand it firs. Thank you mate.
How write here code? [code]example[/code] to beauty presentation.

Anton Tananaev2 years ago

Click the markdown link.

DaveGG2 years ago

I read the markdown link previously but don't understand nothing he he, just example.
Ok , finally I can edit with nano and <entry key='web.path'>./legacy</entry> I think is right, go to see them.
Thank you Anton!!