Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Developing a virtual machine that will be managed by IT Admins - where is the most appropriate or commonly accepted place to install the tomcat directory on a CentOS system?

share|improve this question
add comment

migrated from stackoverflow.com Aug 16 '10 at 15:10

This question came from our site for professional and enthusiast programmers.

4 Answers

Default directory maybe :

/usr/local
share|improve this answer
add comment

I saw many on /opt, same for jdk, /opt/java...

share|improve this answer
add comment

The location that the package maintainer specifies. Tomcat5 & tomcat6 packages are available from the JPackage yum repository. Using the package maintenance mechanisms of your operating system(yum in the case of CentOS) relieves a lot of cruftiness and administrative overhead in my experience.

share|improve this answer
add comment

Where the package puts it.

There is a tomcat5 rpm available from the "updates" repo in CentOS5.

Its actually just a redistributed copy of the jpackage one.

[jim@ssh ~]$ yum info tomcat5
Loaded plugins: fastestmirror
addons                                                                                                                                                                                                  |  951 B     00:00
base                                                                                                                                                                                                    | 2.1 kB     00:00
epel                                                                                                                                                                                                    | 3.4 kB     00:00
epel/primary_db                                                                                                                                                                                         | 3.3 MB     00:00
extras                                                                                                                                                                                                  | 2.1 kB     00:00
updates                                                                                                                                                                                                 | 1.9 kB     00:00
updates/primary_db                                                                                                                                                                                      | 560 kB     00:00
Available Packages
Name       : tomcat5
Arch       : x86_64
Version    : 5.5.23
Release    : 0jpp.9.el5_5
Size       : 361 k
Repo       : updates
Summary    : Apache Servlet/JSP Engine, RI for Servlet 2.4/JSP 2.0 API
URL        : http://tomcat.apache.org/
License    : Apache Software License
Description: Tomcat is the servlet container that is used in the official Reference
           : Implementation for the Java Servlet and JavaServer Pages technologies.
           : The Java Servlet and JavaServer Pages specifications are developed by
           : Sun under the Java Community Process.
           :
           : Tomcat is developed in an open and participatory environment and
           : released under the Apache Software License. Tomcat is intended to be
           : a collaboration of the best-of-breed developers from around the world.
           : We invite you to participate in this open development project. To
           : learn more about getting involved, click here.
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.