New installation on Linux Ubuntu 22.04 which folder should I use?

New installation on Linux Ubuntu 22.04 which folder should I use

I used to select /home/[username] but now I require Sonar Qube to be used for multiple users and trying to select different folder like /etc/ /usr/lib/ or /opt. I am going to install Sonar Qube 10 with postgres 12 and JDK 17. Any advice? What is the best practice?

Hey there.

It doesn’t particularly matter which folder is used – ultimately if the web server is exposed on a given port (like port 9000, the default), other users will be able to use it (they dont need access to the filesystem).

A lot of users put it in /opt/.