我最近使用 apt-get 安装了 tomcat6,并且已经启动并运行。Ubuntu 在安装过程中不会设置 $CATALINA_BASE 和 $CATALINA_HOME 环境变量。如何找到这些目录,以便我可以手动设置它们?
tomcat tomcat6
tomcat ×1
tomcat6 ×1