
IT 관리자가 관리할 가상 머신 개발 - CentOS 시스템에 Tomcat 디렉토리를 설치하는 데 가장 적합하거나 일반적으로 허용되는 위치는 어디입니까?
답변1
기본 디렉토리는 다음과 같을 수 있습니다.
/usr/local
답변2
나는 /opt에서 많은 것을 보았고, jdk, /opt/java에서도 마찬가지였습니다...
답변3
패키지 관리자가 지정하는 위치입니다. Tomcat5 및 tomcat6 패키지는 다음에서 사용할 수 있습니다.JPackage yum 저장소. 운영 체제의 패키지 유지 관리 메커니즘(CentOS의 경우 yum)을 사용하면 내 경험상 잔인함과 관리 오버헤드가 많이 줄어듭니다.
답변4
패키지가 어디에 있는지.
CentOS5의 "업데이트" 저장소에서 tomcat5 rpm을 사용할 수 있습니다.
실제로는 jpackage의 재배포된 복사본입니다.
[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.