I hope I am in the right thread.
To install opencms in linux, do I need to set up private tomcat in the shared hosting?
Thanks!
If you are buying a shared web hosting, you wouldn't be able to install your own tomcat server. If there is any servlet container, it's provided in the shared web hosting package.
You can only install your own tomcat server, or any other applications, if you buy either shared/dedicated VPS hosting packages, colo your own server or their servers, or uses IaaS cloud solutions.